View Single Post
  #267  
Old 02-11-2019, 15:25
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,335 Times in 2,837 Posts
KaktoR is on a distinguished road
Update 6 added.

Code:
----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
CHANGELOG CIU 3.0.0.0.u6
----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
- Improved PROGRESSBAR mode to enable varying animation time. 
  >> The higher the slower value is the animation time. Now supports values from 0 to 10000.
  >> For values from 0 - 100 the percentage is fixed (Not animated)
  >> For values between 101 and 1000 the animation is faster, but does not change decimal percentage values (xx.0).
  >> For values between 1001 and 10000 the animation is slower but changes the percentage decimal values (xx.x).

- Added support for two new images "ProgressBackground2.png" and "ProgressBackground2SI.png" ("...SI.png" is dedicated to SmallInstaller).
  >> The ProgressBackground2.png (Same to "...SI.png") image is optional and is always added after ProgressImg.png and ProgressBackGround.png
  >> "ProgressImg.png/ProgressBackGround.png" order can be toggled using the SendToBack= key in the [ProgressBar] section in "Setup.ini".

- Fixed the values of the SpaceLeft= and SpaceRight= keys of the [ProgressBar] and [ProgressBarSI] sections to add the actual image size value.
  >> You can now get the amount in pixels for SpaceLeft= and SpaceRight= keys by getting the values directly from the editing software 
     while creating "ProgressImg.png/ProgressImgSI.png" images.
- Fixed to no longer need to crop transparent area of "ProgressImg.png/ProgressImgSI.png" image when using values for SpaceLeft and SpaceRight keys.
  >> Now when using SpaceLeft= or SpaceRight= to determine the beginning and end of progress the "ProgressImg.png" and "ProgressBackground.png"
     images must have the same dimensions (Same for ProgressImgSI.png and ProgressBackgroundSI.png).

- Fixed classic slide show mode (Not animated) so that only the current image is loaded into memory when switching slides.
  >> Previously all images were loaded into memory before the slide show started, and only the current one was displayed.
  >> Now only the first image is loaded into memory and when the slide is changed the new image is loaded into a temporary variable 
     until the new image is displayed and then the old image is removed from memory.  
  >> When using multiple images, RAM usage was determined by the amount of slide images. 
  >> For example: if you include 300 images in most cases, the installer would either not run when going to SmallInstaller, 
	 or would display an error when closing, using almost 1.9 GB of RAM for the "Setup.exe" process only. 
	 Now the amount of RAM is around 100 MB depending on the images used in the installer.
  
- Added new key SlideFade= (Default = 1) to the [BackGround] section to enable an alpha fade to quickly and smoothly transition non-animated slides.
  >> This option is enabled by default and if enabled will use the same library as animated slides to make the transition, 
     but the presentation will be done in the same classic way dividing the amount of image by progress.

- Fixed percent value below "1%" in PROGRESSBAR mode when running on Uninstall page to show "0.x %" and not ".x%".
- Fixed so that the percent label of the unisntall page is displayed at the position defined in the MoveY= key of the [PercentLabel] section.
- Fixed the normal uninstall mode so that the removed file name is updated every 50 milliseconds and not each file as before, reducing the uninstall time.

- Added RollBack mode for when an error occurs or the installation is canceled.
  >> After error or cancelled, while removing (RollBack) already installed files the progress bar and percentage decreases to 0.

- Fixed to pause extraction by clicking the cancel button and displaying the message requesting confirmation.
  >> Previously while displaying the message, the installation continued until it clicked yes.

- Fixed error switching between SmallInstaller and BigInstaller with a double click during installation. 
  >> If smallInstaller is smaller than installer, the progress bar image was not displayed correctly
  >> Before displays only part of the progressbar when switching mode to SmallInstaller>Installer.

- Fixed to display the cancel message by clicking the "Close" button on the taskbar thumbnail.
  >> Before it was closed immediately and the extraction processes kept running.

- Fixed some bugs that prevented the installer from quickly closing and killed the "Setup.exe" process by running for about 10 seconds after canceling.

- Added new [InstallerSettings] section to internal and external "Setup.ini" containing two keys:
  * GOGInstaller=   >> Supported values "0" and "1", default value = "1"
  * UWPInstaller=   >> Supported values "0" and "1", default value = "1"
  >> You can also include the same section and keys in the "Records.ini" file if it exists, and you do not need to add an external "Setup.ini" just for this setting.
  >> With these two keys you can create the same Setup.exe for GOG, Steam or UWP game versions.
  >> You only need to configure it in an external "Setup.ini" or "Records.ini" file if it exists
  >> The registry entries will be included or not using the function "Check: IsGOGGame" or "Check: IsUWPGame".  

- Added two new functions to use to check whether or not to add registry entries depending on the setting applied in the external "Setup.ini" or "Records.ini" file.
  * IsGOGGame    >> The function returns TRUE if it is not configured or if the key GOGInstaller=1 in external "Setup.ini" or internal "Setup.ini" or "Records.ini" file.
  * IsUWPGame    >> The function returns TRUE if is configured the [UWPGame] section and not configured or 
                    if the key UWPInstaller=1 in external "Setup.ini" or internal "Setup.ini" or "Records.ini" file.
  
- Added 3 new keys (optional) in the [Executable#] sections intended for UWP installers double mode (Steam + UWP Installer).
  * NameUWP=       >> This key is optional, use only when using same Installer for UWP or Steam using the [InstallerSettings] section.
  * ParameterUWP=  >> Also optional is the key NameUWP=.
  * IconUWP=       >> Also optional is the key NameUWP=.
  
- Fixed to no longer need two lines after keys in "Registry.iss" file. 
  >> Now all lines are read correctly, before the last 2 lines were not processed.  
  
- Fixed to create "Uninstall.exe" even when renaming "Setup.exe" to another name.

- Changed default value of Visible= key in [ExtrasButton] section to "0".
  >> Now if you want to display the extra button in autorun, you need to use Visible=1
  
- Added new key DirectoryEditMouseMove= in the [InterfaceSettings] section to disable changing the SelectDirEdit when moving the mouse.
- Added new key "Text<LNG>=" to [Website#Button] section to add located custom button name.
- Changed the key name of Name= to Text= in [Website#Button] section.
- Changed the key name of TradutorFontSize= to TranslatorFontSize= in [AboutSettings] section.
- Changed the key name of Logo2Opacity= to SmallLogoOpacity= in the [AboutSettings] section.

- Removed the tool "FIFA 19 Decryption Tool + Precompressor"  from CIU source code.
  >> REASON: Antivirus keeps deleting the file "cdt.exe" (false positive). 
  >> If you need this tool for a conversion, download the ".7z" file separately and add it to the CIU source code.

- Added new key CompatibilityMode = in the [InterfaceSettings] section to change visible buttons on the language selection page (Without Autorun)
  >> This only changes the language selection page in mode without autorun page and support values 0, 1 or 2 and Back/Next in finish page.
  >> CompatibilityMode=0  >> Normal CIU mode v3 and show buttons: NextButton to confirm selected language and BackButton (with caption Exit) to exit. Show Cancel/Music buttons only if used this buttons in installer page.  
  >> CompatibilityMode=1  >> Compatibility to CI v4. Changes the visible buttons in LanguagePage from "BackButton and NextButton" to "CancelButton and NextButton" and suppresses the song playing on that page. (As in the old CI 4.x.x.x)
  >> CompatibilityMode=2  >> Compatibility to CI v6. Changes the visible buttons in LanguagePage from "BackButton and NextButton" to "CancelButton and BackButton" and use Exit label in "CancelButton" and suppresses the song playing on that page. (As in the old CI 6.x.x.x)    

- Added Width and Height of necessary progressbar image in description label of PROGRESSBAR mode. (Width X Height).
  >> These values make it easy to create the progress bar in the exact dimensions required for proper operation.

- Added new key ShowInstallTitle= in the [SmallInstaller] section.
  If value is 1 (Default = 0) display the old label "Installing" in bold above the description label.

- Added UNDEFINED LANGUAGE mode, this mode use all languages when not use key Lang= in [InstallOptions] section. 
  >> If you do not add any languages the installer will check the O.S. language.
  >> In this mode all CIU languages are set active and not show language selection.  
    * if the CIU. supports language of O.S. the installer will run in O.S. language. 
    * If not supported language of O.S. the installer will be executed in EnglishUS language.

- Changed the PROGRESSBAR mode the installer will always start in english language to make the installer printscreen for forum post is in english language.

- Added new key Sorted= in the [LangBox] section to set order of the languages flags.
  >> This key determines whether the order of the languages is sorted alphabetically or in the order that is in the Lang= key.

- Changed default values in this keys ShowResumeTime=, ShowUninstallTime=, ShowFreeSpaceLabel= and ShowCheckAll= to false (Default = 0).
  >> If you need this information and labels, just enter the key in your conversion.
  
- Added new key HideDisabledPlay= in the [AutorunSettings] section to hide disabled play buttons before installation.  
  >> if the HideDisabledPlay = 1 key the Play buttons will always be enabled after installation even if the executable is not found.

- Added compatibility with old values "PR" and "PRBR" in key Lang= (Some forget to change).
- Added compatibility with old names on splash images (Splash.png, Splash_ <LNG> .png, Splash.gif, Splash_ <LNG> .gif).
  >> If the splash images with the new names are not found then the old name images will be used if they exist.

- Added new keys Opacity= and Opacity#= in the [Splash] and [SplashAR] sections.
  >>These keys determine the maximum display opacity of splash images (0 to 255).

- Added splash sound to play wave sound while displaying splash image.
  >> The audio file must have the same name as the image file with extension ".wav", such as Splash1.png and Splash1.wav.

- Added support for XDelta3 to the [ExtractSettings] section using "Type:DELTA;" and delta file name as destin file name with extension ".diff".
  >> If the destin file has the same name as the source file, the source file will be renamed to <FileName>.tmp before applying the delta patch.
  >> If the source file is in "{app}" it will be deleted after applying delta.
  >> Not tested, but if ISDone supports it, you can also use wildcards "*" as ArcFile3={app}\*.pak;DestDir:{app}\*.pak;Type:DELTA;Disk:1;
  >> In the example below the file "Language.bin" contains the file "Texture.pak.diff".
    ** ArcFile1={src}\Language.bin;DestDir:{app};Type:ARC;Disk:1;
    ** ArcFile2={app}\Texture.pak;DestDir:{app}\Texture.pak;Type:DELTA;Disk:1;
  
- Missing documentation added to supported functions for use in the "Registry.iss" file in parametter "Check:"
  >> These functions are useful for checking whether or not to enter registry entries.
    ** ComponentsCheck('<Component>')                >> Checks component identification number as "1" and supports multiple values separated by comma as ComponentsCheck('1,5')   
    ** TasksCheck('<Task>')                          >> Checks task identification number as "1" and supports multiple values separated by comma as TasksCheck('1,2,3')   
    ** LanguagesCheck('<LNG>')                       >> Checks short language name as "ENUK" and supports multiple values separated by comma as LanguagesCheck('EN,ES,DE')   	
    ** Language('<Language>')                        >> Checks long language name as "EnglishUK" and supports multiple values separated by comma as Language('EnglishUK,Spanish,German')     
    ** Language64('<Language>')                      >> Checks if the system is 64 bit and check long language name as "EnglishUK" and supports multiple values separated by comma as Language('EnglishUK,Spanish,German')     
    ** IsWindowsX64                                  >> Checks if the system is 64 bit same as native function IsWin64
	** IsValid('<LNG>','<Comp>',<Task>','<System>')  >> Check short language, component, tasks, system and supports multiple values separated by comma. To system use x86 or x64 if need. If value is empty the return "True" 
    ** IsGOGGame                                     >> Checks whether the installer configuration has been pre-configured as GOG installer (Default = True)
    ** IsUWPGame                                     >> Checks whether the installer configuration has been pre-configured as UWP installer (Default = True)
__________________
Haters gonna hate
Reply With Quote
The Following 8 Users Say Thank You to KaktoR For This Useful Post:
andreiutzu21 (02-11-2019), Cesar82 (02-11-2019), kassane (04-11-2019), mausschieber (03-11-2019), omdj (03-11-2019), pakrat2k2 (02-11-2019), sajmon83 (03-11-2019), Simorq (03-11-2019)