#886
|
||||
|
||||
Quote:
It really is wrong and the solution is the same. Maybe including something to remove the first space in the value if it exists would be interesting. |
The Following User Says Thank You to Cesar82 For This Useful Post: | ||
K4miKaZe (09-02-2024) |
Sponsored Links |
#887
|
||||
|
||||
Quote:
Thank's to you for keeping this up !!! EDIT: So seems like adding Trim to the LineDecode was enough to fix the spacing issue. I've done some tests and all went fine. 1st test was to just let CIU make a clean .ini with the language feature, second test was letting CIU modify an existent .ini to replace the value with the language feature and another test to add custom values without the language feature. All went fine. So here is the original code on the latest beta hf2 (from december) and the only little change i made to it. Original: Code:
begin if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then begin IniValue := LineDecode(TmpStr, '', ''); if (IniValue = '') or ((Pos('=', IniValue) > 0) and (Pos('|', IniValue) > 0) and (Pos(LowerCase(ActLangShort + '='), LowerCase(IniValue)) = 0)) then Code:
begin if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then begin IniValue := Trim(LineDecode(TmpStr, 'Value', '')); if (IniValue = '') or ((Pos('=', IniValue) > 0) and (Pos('|', IniValue) > 0) and (Pos(LowerCase(ActLangShort + '='), LowerCase(IniValue)) = 0)) then Last edited by K4miKaZe; 09-02-2024 at 15:31. |
The Following User Says Thank You to K4miKaZe For This Useful Post: | ||
Cesar82 (09-02-2024) |
#888
|
|||
|
|||
Hello and how can I add images to the installer?
|
#889
|
||||
|
||||
in Folder Setup/Background
__________________
It would be nice if you appreciate my work with the thanks Button |
#890
|
|||
|
|||
thank you
|
#891
|
|||
|
|||
What BMP jpg format and size does it accept?
|
#892
|
||||
|
||||
yes Look in the Setup Folder there is all you need
__________________
It would be nice if you appreciate my work with the thanks Button |
#893
|
|||
|
|||
Thank you, I left it as impossible, I will continue with the Light Installer Scrip, which is easier
|
#894
|
||||
|
||||
C.I.U. 3.0.0.1 (Final)
Code:
- Updated CIULib.dll library to v1.0.0.2 build 240404. - Updated CIU script support for DiskSpan GUI 2.0.2.1+ - Updated CIU_Tools to build 240810, updated help documentation files. - Updated internal DXFilters files (LAV Filter 0.79.2 and VSFilter.dll 3.2.0.810). - Updated (redone) translation of SpanishES, SpanishMX (@K4miKaZe) language files. - Fixed bugs when using the [CustomIniFile] section that inserted the wrong value in the key. - Fixed an information error in the hash check results label that showed wrong values after completion. - Added new flag template number 27 (square flag template based on the old rectangular template number 12). - Added support for new image "NotifyBallon.png" for custom notification ballon. >> It also supports optional "NotifyBallon.bmp" image to define the transparent area. - Added new section [NotifyBallon] with several keys to the "Setup.ini" file. >> See the help file for more details on supported keys in [NotifyBallon] section. - Added support to flags "uninsclearvalue", "uninsdeletekey", "uninsdeletekeyifempty" and "uninsdeletevalue" in [Registry] section. >> If you do not specify any uninstallation flag, the key or value will not be changed. - Added new parameter "Algo:<valkue>;" in the key HashFile#= of the [HashSettings] section of the "Setup.ini" file. >> If you use "Records.ini" to configure hash checking you can use the Size= key to inform the type of algorithm. >> If algorithm parameter exists, CIU will use the "VerifyHashesFromFileEx" function from "XHashEx.dll", otherwise it will use the "VerifyHashesAutoFromFileEx" function. >> If you enter the type of algorithm you will have 21 algorithm options to use, otherwise you will have 5 algorithm options to use. Example: HashFile#={src}\HashFile.dat; DestDir:{app}; Algo:crc32; Comp:1,3; Lang:EN,DE; Task:3; ** crc32, md5, sha1, sha256, sha512 (These 5 algorithm are supported in auto mode). ** sha512_256, sha3_256, sha3_512, blake2_128, Blake2_256, blake3_256, haval3_128, haval3_256, ** ripemd_128, ripemd_256, tiger_128, tiger_192, tiger2_128, tiger2_192, murmurhash_32, xxhash_32 >> If you prefer, you can also enter just the algorithm number from "0" to "21' in the parameter value. >> Now the HashFile#= key can also be used even if you use external compression mode (Even if you have the Records.ini file). - Added new key StartCheck= to [HashSettings] section of the external "Setup.ini" file. - Added new key FasterCheck= to [HashSettings] section of the "Setup.ini" file and also the external "Setup.ini" file. >> If you use the value 1 in this key during the hash check, the button image fade/transition update timer and the equalizer animation timers will be disabled. >> This feature, if enabled, will reduce hash checking time by almost half. - Added support to include compressor inside Setup.exe file. >> Add the compressors to a "DECOMPRESSOR" folder next to the script before compiling to include the desired compressors within "Setup.exe" file. >> It also supports using folder structure with desired compressors. - Added localized Name<LNG>= keys in [Component#], [Task#] and [Executable#] sections. >> The Name= key is required to validate task or components page or validate executable file. Last edited by Cesar82; 13-08-2024 at 18:42. |
The Following 3 Users Say Thank You to Cesar82 For This Useful Post: | ||
#895
|
|||
|
|||
script functions very well but design very ugly, can i change total?
|
#896
|
||||
|
||||
Yes
__________________
Haters gonna hate
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
[GSERIES] Custom Installer Ultimate V2g | Gupta | Conversion Tutorials | 226 | 01-06-2018 13:12 |
Crysis 3 DVD9 to 3xDVD5 Custom Installer | spawniectes | PC Games - CD/DVD Conversions | 79 | 31-08-2017 07:19 |