FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Light Installer Script (LIS) - DiskSpan_GUI (https://fileforums.com/showthread.php?t=103408)

Cesar82 02-04-2020 15:22

Light Installer Script (LIS)
 
3 Attachment(s)
I read some user comments here on the forum looking for the simplest installer possible, but with the features present in CIU and ASIS.
Light Installer Script (LIS) has the same compressors as CIU/ASIS, but with the simplicity of a basic Inno Setup installer, ideal for beginners.
Remove ";" from the beginning of the ;#define Is64BitOnly line in the InstallerScript file if the game is only compatible with 64-bit systems.
Others settings and also the language definition are made within the *.iss script through ISPP definitions.
Special thanks to all the developers of the compressors and librarys used in this installer.
I hope it will be useful to users looking for compression only, not design.
Code:

Changelog:

VERSION: 1.0.1.8 - Release based on CIU version 3.0.0.2 (final)
- Added compatibility with DiskSpan GUI 2.0.2.4+.
- Added data hash page to check integrity of compressed files.
- Fixed some minor bugs.

VERSION: 1.0.1.7 - Release based on CIU version 3.0.0.1 (final)
- Added compatibility with DiskSpan GUI 2.0.2.3+.
- Fixed some minor bugs.

VERSION: 1.0.1.6 - Release based on CIU version 3.0.0.1 (final)
- Added compatibility with DiskSpan GUI 2.0.2.1+.
- Fixed some minor bugs.

VERSION: 1.0.1.5 - Release based on CIU version 3.0.0.1 (final)
- Updated XHashEx.dll library to v1.0.0.0 build 230729 no UPX version.
- Updated SplitLib.dll library to v1.0.0.5 build 240330 (UPX).
- Added support to splash image (IsGsg.dll by South.Tver).
- Added watter efects in all installer images (WaterCtrl.dll by RESTOOL).
- Added suport to skinsharp (SkinH.dll library by Shegorat) with Inno Setup 5.
- 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 support to new hash algorithms using key Size= of the "Records.ini" file to set algorithm type.
  >> If key Size= exists, LIU will use the "VerifyHashesFromFileEx" function from "XHashEx.dll", otherwise it will use the "VerifyHashesAutoFromFileEx" function.
  >> If you enter the type of algorithm you have 21 algorithm options, otherwise only 5 algorithm options.
  >> If you prefer, you can also enter just the algorithm number from "0" to "21' in the parameter value. 
    ** 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
- Fixed some minor bugs.

VERSION: 1.0.1.4 - Release based on CIU version 3.0.0.1.b9.u5
- Updated XHashEx.dll library to v1.0.0.0 build 2300303 no UPX version (Thanks to BLACKFIRE69).
- Added compatibility with DiskSpan GUI 2.0.1.7+.
- Added fade effect on move installer window.
- Added example of using components and tasks.
- Fixed some minor bugs.

VERSION: 1.0.1.3 - Release based on CIU version 3.0.0.1.b9.u4
- Updated support to DiskSpan GUI 2.0.1.4+
- Updated SplitLib.dll library to v1.0.0.1 build 221204.
- Updated XHashEx.dll library to v1.0.0.0 build 221120 (Thanks to BLACKFIRE69).

VERSION: 1.0.1.2 - Release based on CIU version 3.0.0.1.b9.u3
- Updated support to DiskSpan GUI 2.0.1.3+
- Updated XHashEx.dll library (Thanks to BLACKFIRE69).
- Added extraction progress and hash checking progress in taskbar.
- Fixed some minor bugs.

VERSION: 1.0.1.1 - Release based on CIU version 3.0.0.1.b9.u3
- Fixed ISSP condition to work cjstyles skin parammeter.
- Added support to DiskSpan GUI 2.0.1.2+
  >> Added page to do file integrity check (Thanks to BLACKFIRE69 for XHashEx.dll library).
  >> Added support for running external executables or command lines via cmd from pre-settings in DiskSpan GUI.

VERSION: 1.0.1.0 - Release based on CIU version 3.0.0.1.b9
- Added support for Persian (Farsi) language to Light Installer Script (Thanks to Gehrman for collaboration).
- Added support for skinsharp skins (SkinH.dll library by Shegorat) to Light Installer Script.
  >> The library of the skinsharp does not support special characters like cyrillic characters.
  >> So languages like Russian and Japanese and Persian should get broken using skinsharp.
- Fixed some minor bugs.

VERSION: 1.0.0.9 - Release based on CIU version 3.0.0.1.b9
- Updated support to DiskSpan_GUI 2.0.0.0
- Added optional second ProgressBar.
- Added polish language support.

VERSION: 1.0.0.8 - Release based on CIU version 3.0.0.1.b8.u2
- Removed COMPRESSOR_GUI/DiskSpan.bat support (Only DiskSpan_GUI is supported).
- Removed support for internal extraction data settings (Removed internal and external Setup.ini)
- Removed CreateDLL function (Only needed for DiskSpan.bat/UltraARC.exe).
- Fixed some minor bugs.

VERSION: 1.0.0.7 - Release based on CIU version 3.0.0.1.b7.u5
- Added support for XTool 2020 to LIS.
- Added LIS compatibility with DiskSpan_GUI tool.
  >> Now an external DLL with the compressor files is needed to perform the extraction.
  >> When compressing the game using the DiskSpan_GUI tool, the DLL will be created automatically with only the compressors needed to perform the extraction.
  >> If you compress using another tool such as UltraArc or DiskSpan.bat, you will need to create the DLL manually, selecting in the COMPRESSOR_GUI.exe the compressors you want to include.
  >> Then click on the button "Create DLL" or enable the line ";#define CreateDLL" at the beginning of the CIU script (The compressors defined in COMPRESSOR_GUI.exe will be used).
- Fixed some minor bugs.

VERSION: 1.0.0.6 - Release based on CIU version 3.0.0.1.b7.u3
  - Updated compressor/decompressor "ZStandard" (ZSTD) from v1.4.4 to v1.4.5 (x64 + x86).
  - Fixed an error that did not include compressors/decompressors when selecting RazorTools tools that are specific to one of the games.

VERSION: 1.0.0.5 - Release based on CIU version 3.0.0.1.b7.u2
  - Fixed CRC error when performing the extraction.
    >> Does not match checksum! (ERROR: <FileName> CRC Check) (FreeArc error code -12)
    >> The error was in the "COMPRESSOR_GUI.exe" file that displayed errors when using compressors XTool or ZTool. 
  - Added functionality to use the "CLS-DISKSPAN.dll" original build by Razor12911 just replacing the DLL in the folder.

VERSION: 1.0.0.4 - Release based on CIU version 3.0.0.1.b7.u1
  - Updated UltraARC to version 2900 R9.
  - Fixed the "LabelCurrFileName" label to display the correct path of the file being extracted.
  - Fixed progress bar to display the bar by the amount of file "Data#.bin.001" when not using the key Size=.
    >> The Size= key used in the "Records.ini" file or in the [ExtractSettings] section of the "Setup.ini" file.

- Removed "PMT" from LIS (Reason: "MTX" has the same functionality).
- Removed "PrecompX" from LIS (Reason: "MTX" has the same functionality).
- Added "MTX" v5.0 to LIS compression methods like: precomp, mpzapi, razor, lolz.
  >> Use in DiskSpan.bat: precomp_mtx, mpzapi_mtx, razor_mtx, lolz_mtx.
  >> More information about MTX at: https://fileforums.com/showthread.php?t=103664
 
- Added new RazorTools decompression method ue4dt/UE4DT "Unreal Engine 4 Decryption Tool".
  >> More information about ue4dt.exe at: https://www.fileforums.com/showthread.php?t=103145
  >> DiskSpan.bat defined method like using:
  >> set GAME[1].METH[1]=ue4dt:m2:k0x5DD20432F2AD810071033FC3F925FFDFD647514524D0A0D222E17D76BAF57BFD+lzma:ultra
  >> ue4dt.exe e|d -m# -c# -b# -k# <stdin> <stdout>
    >> -m = method (1 = games that use borderlands3, street figher v... format, 2 = games that use rune ii format)
    >> -c = chunk size
    >> -b = block count
    >> -k = key in hexadecimal. 

- Added new "RazorTools" decompression method "Metro Exodus", "Project CARS 3", "Saints Row 3 Remastered", "Death Stranding"
  >> Currently LIS supports all these Razor12911 tools.
  >> FIFA 19 Cas Decryption Tool + Precompressor https://fileforums.com/showthread.php?t=102461
  >> Project CARS 2|3 Bff Decryption Tool        https://fileforums.com/showthread.php?t=102524
  >> Death Stranding Decryption Tool            https://fileforums.com/showthread.php?t=103699 
  >> Metro Exodus Precompression Tool            https://fileforums.com/showthread.php?t=103563 
  >> SRTTR Precompression Tool                  https://fileforums.com/showthread.php?t=103546 
  >> LZO Precompressor (Side project)            https://fileforums.com/showthread.php?t=102615 
  >> LZX Precompressor (Side project)            https://fileforums.com/showthread.php?t=102675
  >> ZSTD Precompressor (Side project)          https://fileforums.com/showthread.php?t=102599
  >> Unreal Engine 4 Decryption Tool            https://fileforums.com/showthread.php?t=103145

VERSION: 1.0.0.3 - Release based on CIU version 3.0.0.0.u9/3.0.0.1.b6
  - Added Hungarian language to Light Installer Script.
  - Added checking if executable exists to create shortcuts.
  - Added language checking for files to be extracted depending on the installer's chosen language.
  - Added support for ISSKin and VCLStyles on installation and uninstallation.
  - Added custom SelectFolder form to fix errors in some skins.
  - Updated DiskSpan library to version R3 (Modifyed version).
  - Fixed PMT for RAZOR and MPZ compressors.
  - Fixed errors related to the size parameter for correct percentage of the progress bar during the extraction.
  - Added an option to make it possible to use the internal DiskSpan RequestDisk (Optional) if extraction errors occur.
    >> If errors happen you can remove the ";" line ";#define INTERNAL_DiskSpan_RequestDisk" to use the internal RequestDisk of DiskSpan library.
    >> This makes it possible to check if the error is due to using RequestDisk in the script.
  - Added ZSTDRec precompressor option separately in "COMPRESSOR_GUI.exe".

VERSION: 1.0.0.2 - Release based on CIU version 3.0.0.0.u8/3.0.0.1.b5 (like the previous version)
  - Fixed size of the game that did not work above 4 GB (Include Calc.exe).
  - Added option Rezizable to set resizable style (Supported only with Inno Setup 6).
  - Fixed errors when compiling with Inno Setup 5.
  - Fixed Transparency of the logo when compiled with Inno Setup 5.
  - Fixed the use of PMT for RAZOR and MPZ that was not working before.
  - Fixed Inno Setup 6 messages DiskSpaceGBLabel, DiskSpaceMBLabel in Portuguese (Brasil) language.

VERSION: 1.0.0.1 - Release based on CIU version 3.0.0.0.u8/3.0.0.1.b5
  - Updated decompressor RAR (UnRAR.dll) from v5.80 to v5.90

  - Added support for "PMT - Parallel Multithreaded Encoder/Decoder" for "RAZOR" and "MPZ" compressor.
    >> PMT is a 4x4 like algorithm to make everything run parallelly.
    >> You can run any compressor/encoder that supports stdio/stdin/stdout or even nothing.
    >> The program can make a single threaded compressor multithreaded by using blocks, just like 4x4.
    >> For more information visit: https://fileforums.com/showthread.php?t=103230

VERSION: 1.0.0.0 - Release based on CIU version 3.0.0.0.u7/3.0.0.1.b4

https://i.imgur.com/zvZzisW.png
https://i.imgur.com/7gkIBn6.png
https://i.imgur.com/T2dsWUX.png
https://i.imgur.com/htvHIIN.png
https://i.imgur.com/MRAWagS.png

P.S: The current version of the "Light Installer Script" must be used together with the "DiskSpan_GUI 2.0.2.4+" (by Cesar82) that comes with the source code.

INFO: Download DiskSpan_GUI (Last Version) and extract the "COMPRESSOR" folder to the Light Installer Script SRC folder (Along with InstallerScript.iss).

Cesar82 02-04-2020 15:23

LIGHT INSTALLER - Tools
 
2 Attachment(s)
Light Installer script can be compiled with Inno Setup 5.57 or newer.
I recommend using Inno Setup 6 repack (Updated to v6.05).
To compress the game files use the "UltraArc/DiskSpan" compressor in the attachment to this post.
Others tools can use the same tools available on the CIU thread.
https://www.fileforums.com/showthread.php?t=102510

Cesar82 02-04-2020 15:23

LIGHT INSTALLER - Previous Version
 
16 Attachment(s)
Previous version of Light Installer.
Light Installer version 1.0.0.1/1.0.0.2 is compatible with the UltraArc/DiskSpan tools from the file "_Tools (2020-04-24) .7z" (Removed)
Light Installer version 1.0.0.3 is compatible with the UltraArc/DiskSpan files from post #2.
Code:

UltraARC 2900 R7 FULL (DISK SPAN R3) [2020-06-11].7z
P.S:
- Light Installer version 1.0.0.4 has a "CRC check" error when performing the extraction when using XTool or ZTool.
- Light Installer version 1.0.0.5 there are errors when using RazorTools tools (only for specific ones for a game).
- Light Installer version 1.0.0.8 compatible with DiskSpan_GUI 1.0.0.5 in post #2.
- Light Installer version 1.0.1.1 compatible with DiskSpan_GUI 2.0.1.2 (only).
- Light Installer version 1.0.1.2 compatible with DiskSpan GUI 2.0.1.3+.
- Light Installer version 1.0.1.3 compatible with DiskSpan GUI 2.0.1.4+.
- Light Installer version 1.0.1.4 compatible with DiskSpan GUI 2.0.1.7+.

Files moved from the main post:
Code:

Light Installer Script 1.0.0.0 (296 views)
Light Installer Script 1.0.0.1 (194 views)
Light Installer Script 1.0.0.2 (200 views)
Light Installer Script 1.0.0.3 (825 views)
Light Installer Script 1.0.0.4 (128 views)
Light Installer Script 1.0.0.5 (201 views)
Light Installer Script 1.0.0.6 (268 views)
Light Installer Script 1.0.0.7 (247 views)
Light Installer Script 1.0.0.8 (1004 views)
Light Installer Script 1.0.0.9 (501 views)
Light Installer Script 1.0.1.0 (702 views)
Light Installer Script 1.0.1.1 (43 views)
Light Installer Script 1.0.1.2 (177 views)
Light Installer Script 1.0.1.3 (238 views)
Light Installer Script 1.0.1.4 (701 views)
Light Installer Script 1.0.1.5 (225 views)


ff20 03-04-2020 02:47

Thanks, Cesar82

This might be the toolset I was looking for ^^

btw, what could be the cause of all this false-positives?

https://www.virustotal.com/gui/file/...ec8d/detection

Cesar82 03-04-2020 09:40

Quote:

Originally Posted by ff20 (Post 485113)
Thanks, Cesar82

This might be the toolset I was looking for ^^

btw, what could be the cause of all this false-positives?

https://www.virustotal.com/gui/file/...ec8d/detection

This TOTAL VIRUS (no good) returns many false positives.
I use Kasperky Internet Security (Shareware) here.
The file "Light Installer 1.0.0.0 SRC.7z" has no type of virus.
https://i.imgur.com/yq4QKvz.jpg
Maybe it is because some of the internal libraries have UPX compression (To reduce the size).
If you want, after extracting the .7z file, individually test each file or the folder with the file and let me know which of the internal files is returning a false positive.
You may be able to remove UPX compression if this is the case.

pincoball 22-05-2020 08:45

I've been trying to use Light Installer on a set of archives splitted by DiskSpan (total packed = 12GB, unpacked = 35GB) when it comes to extract them during installation it remains stuck at "Extracting temporary files..."

Then I compared it with ASIS (and the version of DiskSpan dll it comes with) and it works flawlessly.

What I strangely noticed in Light Script (and your modificed DiskSpan dll) while remaining stuck at the caption said before, it just copy the archives slices (data.bin.001, etc.) in the temp folder %TEMP%\is-[random code].tmp while ASIS doesn't. Moreover I wasn't be able to reproduce the problem with smaller archives compressed with same method

So what I ask is if it is some sort of bug and also if I can revert to the original DiskSpan that comes with ASIS (simply changing the declarations of functions didn't seems to work)

KaktoR 22-05-2020 08:57

I also get this freeze. Seems like the installer is freeze for a few seconds/minutes. Just wait, it will work.

Cesar82 22-05-2020 19:19

Light Installer 1.0.0.2
 
Quote:

Originally Posted by KaktoR (Post 485956)
I also get this freeze. Seems like the installer is freeze for a few seconds/minutes. Just wait, it will work.

Updated Light Installer to v1.0.0.2 (REUPLOADED)
I updated the file in the first post. I think it's working now.

Cesar82 22-05-2020 20:18

Quote:

Originally Posted by pincoball (Post 485955)
I've been trying to use Light Installer on a set of archives splitted by DiskSpan (total packed = 12GB, unpacked = 35GB) when it comes to extract them during installation it remains stuck at "Extracting temporary files..."

Then I compared it with ASIS (and the version of DiskSpan dll it comes with) and it works flawlessly.

What I strangely noticed in Light Script (and your modificed DiskSpan dll) while remaining stuck at the caption said before, it just copy the archives slices (data.bin.001, etc.) in the temp folder %TEMP%\is-[random code].tmp while ASIS doesn't. Moreover I wasn't be able to reproduce the problem with smaller archives compressed with same method

So what I ask is if it is some sort of bug and also if I can revert to the original DiskSpan that comes with ASIS (simply changing the declarations of functions didn't seems to work)

If possible, let me know which game you compressed and which method you used.
Did you assume that you are copying Data1.001 data files, etc. to the temporary folder? This should not happen.
Remember that version 1.0.0.1 and 1.0.0.2 is necessary to use CIU Tools 3.0.0.0.u8 (The previous tools may not work).
It is not possible to use the ASIS DiskSpan without redoing much of the code and would also not support the Pause button (While unpacking is paused, time is paused as well).

I updated a new file in the first post...
Try now.

pincoball 23-05-2020 01:57

Thank you! Now it seems to be working
FYI the method I used was
Code:

pzlib+srep:m1f:l512+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8 (Battlefield 3)
I didn't test it but I thought it was due to a couple of calling of CopyCompressorsEx function (that indeed you fixed) after extracting in temp folder of other files and thus not due to DiskSpan itself, but I am not pretty sure

Cesar82 23-05-2020 02:28

Quote:

Originally Posted by pincoball (Post 485965)
Thank you! Now it seems to be working
FYI the method I used was
Code:

pzlib+srep:m1f:l512+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8 (Battlefield 3)
I didn't test it but I thought it was due to a couple of calling of CopyCompressorsEx function (that indeed you fixed) after extracting in temp folder of other files and thus not due to DiskSpan itself, but I am not pretty sure

Yes the problem was in the CopyCompressorsEx lines.
This function is to include external compressors only needing to include an external folder and inform it in Records.ini or Setup.ini (If you don't use records.ini).
Before I was copying everything that was in the same folder as Setup.exe to a temporary folder (Now I fixed it).
Just remove the lines that would have corrected.
Thank you for reporting the error.

I will soon share a new version of the Light installer with the new Cls-DiskSpan.dll library by Razor12911.

Emorian 25-05-2020 18:44

Hi,

How do I incorporate the Records.ini file so that it is not next to it?

Cesar82 25-05-2020 19:13

Quote:

Originally Posted by Emorian (Post 486010)
Hi,

How do I incorporate the Records.ini file so that it is not next to it?

This is not necessary, you can use the [ExtractSettings] section of Setup.ini instead of Records.ini

Example of how to convert sections from Records.ini to [ExtractSettings] from Setup.ini (Note the colors).
Code:

[Record1]
Type=Freearc_Original
Source={src}\Data1.bin.001
Output={app}
Disk=1

[ExtractSettings]
ArcFile1={src}\Data1.bin.001;DestDir:{app};Type:ARC;Disk:1


Emorian 25-05-2020 19:33

UltraArc: MSC+SREP+LZMA, Result = Data-1.bin in OutPutDir..
How do I add this to the Setup.ini file?
(Or even a file created with Diskspan?)

Cesar82 25-05-2020 19:45

Quote:

Originally Posted by Emorian (Post 486012)
UltraArc: MSC+SREP+LZMA, Result = Data-1.bin in OutPutDir..
How do I add this to the Setup.ini file?
(Or even a file created with Diskspan?)
Code:

ArcFile1=Data-1.bin;DestDir:{app};Type:ARC;Disk:1
This is good?

Yes, that's it.
Just specify the first file in Setup.ini when using DiskSpan (Data.bin.001).
DiskSpan used in current version v1.0.0.2 is still the old version of DiskSpan.dll and only supports naming .001, .002, etc.
Code:

ArcFile1=Data1.bin.001;DestDir:{app};Type:ARC;Disk:1

Emorian 25-05-2020 20:20

The following files are available (UltraArc):
Code:

ArcFile1=Data-1a.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:1;Size:208.666.624;Flags: splitfile;
ArcFile2=Data-1b.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:2;Size:209.715.200;Flags: splitfile;
ArcFile3=Data-1c.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:3;Size:209.715.200;Flags: splitfile;
ArcFile4=Data-1d.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:4;Size:98.508.322;Flags: splitfile;
ArcFile4=Data-1.bin;DestDir:{app};Type:ARC;Disk:4;Flags: joinedfile;

Runtime error: Line 1503 (Out of range)

Line: 1503:
Code:

if (Y > I) and ((CompareText(Data[I].Arc[1], Data[Y].Arc[0]) = 0) or (Pos('joinedfile', Data[Y].Arc[9]) > 0)) then
  Data[I].Arc[11] := SizeMBToBytes(Data[Y].Arc[8]);
end;

This is Records.ini in Ultraarc:
Code:

[Record1]
Type=Split
Source={src}\Data-1a.bin
Output={app}\Data-1.bin
Disk=1
[Record2]
Type=Split
Source={src}\Data-1b.bin
Output={app}\Data-1.bin
Disk=2
[Record3]
Type=Split
Source={src}\Data-1c.bin
Output={app}\Data-1.bin
Disk=3
[Record4]
Type=Split
Source={src}\Data-1d.bin
Output={app}\Data-1.bin
Disk=4
[Record5]
Type=Freearc_Split
Source={app}\Data-1.bin
Output={app}
Disk=4

occasionally says the following as an error: unknow identifier (Line 1281: OptimalCheck)


And now please ?!

Cesar82 26-05-2020 02:14

1 Attachment(s)
Quote:

Originally Posted by Emorian (Post 486014)
The following files are available (UltraArc):
Code:

ArcFile1=Data-1a.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:1;Size:208.666.624;Flags: splitfile;
ArcFile2=Data-1b.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:2;Size:209.715.200;Flags: splitfile;
ArcFile3=Data-1c.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:3;Size:209.715.200;Flags: splitfile;
ArcFile4=Data-1d.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:4;Size:98.508.322;Flags: splitfile;
ArcFile4=Data-1.bin;DestDir:{app};Type:ARC;Disk:4;Flags: joinedfile;

Runtime error: Line 1503 (Out of range)

This runtime error is because you have not increased the number of ArcFile on the last line.
If you specify size, you must also inform the Size of the joined file.
Code:

ArcFile1=Data-1a.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:1;Size:208.666.624;Flags: splitfile;
ArcFile2=Data-1b.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:2;Size:209.715.200;Flags: splitfile;
ArcFile3=Data-1c.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:3;Size:209.715.200;Flags: splitfile;
ArcFile4=Data-1d.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:4;Size:98.508.322;Flags: splitfile;
ArcFile5=Data-1.bin;DestDir:{app};Type:ARC;Disk:4;Size:726.605.346;Flags: joinedfile;

Quote:

Originally Posted by Emorian (Post 486014)
occasionally says the following as an error: unknow identifier (Line 1281: OptimalCheck)

And now please ?!

That was my mistake. I forgot to delete this from the code.
As I compiled this part of the CIU beta5 code, I forgot to remove it. Just remove the 3 lines in script (Remove from "if" until after "else".).
Code:

if OptimalCheck.Checked then
  SetIniString('External compressor:mpz,mpzapi', 'unpackcmd', ' pmt d {compressor} -t100p - - <stdin> <stdout>', ExpandConstant('{tmp}\Arc.ini'))
else

Here is a hotfix for source code 1.0.0.2
Replace the script in the source code 1.0.0.2 (Delete the previous script).

Code:

Changes:
- Fixed to hide the pause button on the finish page.
- Fixed to set to finish the "Timer" that updates the labels after completing the installation.
- Removed unnecessary part of the code that displayed an error related to "OptimalCheck" when using PMT + MPZ method.
- Fixed not to display an error when the size is entered incorrectly in the extraction parameters.


Emorian 26-05-2020 11:28

Remove the red? (I was confused :))
Code:


  if OptimalCheck.Checked then
    SetIniString('External compressor:mpz,mpzapi', 'unpackcmd', ' pmt d {compressor} -t100p - - <stdin> <stdout>', ExpandConstant('{tmp}\Arc.ini'))
  else

    SetIniString('External compressor:mpz,mpzapi', 'unpackcmd', ' pmt d {compressor} -t75p - - <stdin> <stdout>', ExpandConstant('{tmp}\Arc.ini'));
  end;


Quote:

Originally Posted by Cesar82 (Post 486020)
This runtime error is because you have not increased the number of ArcFile on the last line.
If you specify size, you must also inform the Size of the joined file.

Thanks, I set it up as you wrote and it happened:
Code:

Error: Unarc.dll code -2 Unsupported compression .... method
msc+srep+lzma:a1:mfbt4:d256m:fb273:mc:1000000000:lc8
(UltraArc 2900 R7 = MSC+SREP+LZMA in setting)

msc+srep+lzma:a1:mfbt4:d256m:fb128:mc:1000000000:lc8+diskspan500mb:500mb (DiskSpan by Razor12911)


Cesar82 26-05-2020 22:09

Quote:

Originally Posted by Emorian (Post 486030)
[Thanks, I set it up as you wrote and it happened:
Code:

Error: Unarc.dll code -2 Unsupported compression .... method
msc+srep+lzma:a1:mfbt4:d256m:fb273:mc:1000000000:lc8
(UltraArc 2900 R7 = MSC+SREP+LZMA in setting)

msc+srep+lzma:a1:mfbt4:d256m:fb128:mc:1000000000:lc8+diskspan500mb:500mb (DiskSpan by Razor12911)


Check if you checked the SREP and MSC compressors in the "Compressor GUI" before compiling Setup.exe?

Emorian 27-05-2020 10:55

You said it’s great for beginners and because it works.
i use it, i didn't set anything in the settings.
I thought I would succeed too.
It doesn't go for the "Diskspan", it really doesn't go. He does not want it.


I tried the diskspant and the Ultra Arc, I didn't get into the settings!
(_Tools (2020-04-24).7z)
I don't even know what to do


The ultraArc MSC + SREP + LZMA works!
crashes at LoLz.
It doesn't work at the splitter. That would be Diskspan. but. it doesn't work well


Other:
If the package name is Setup.bin, or Setup-x.bin, (no Data.xxx or Data-x.xxx) it will be deleted at runtime.
Thank you so much for your help !!

Cesar82 27-05-2020 13:31

Quote:

Originally Posted by Emorian (Post 486043)
You said it’s great for beginners and because it works.
i use it, i didn't set anything in the settings.
I thought I would succeed too.
It doesn't go for the "Diskspan", it really doesn't go. He does not want it.


I tried the diskspant and the Ultra Arc, I didn't get into the settings!
(_Tools (2020-04-24).7z)
I don't even know what to do


The ultraArc MSC + SREP + LZMA works!
crashes at LoLz.
It doesn't work at the splitter. That would be Diskspan. but. it doesn't work well


Other:
If the package name is Setup.bin, or Setup-x.bin, (no Data.xxx or Data-x.xxx) it will be deleted at runtime.
Thank you so much for your help !!

Create some data files with few MB, the way errors happen and send me.
Send all files along with the source code that I will analyze.

This only happens when recompiling, not when running Setup.exe.
Inno setup natively excludes all Setup- * bin and Setup.bin files when setup.exe is compiled.
If you have already created the data files named Setup - *. Bin, move them to another folder before recompiling setup.exe.

The executable "COMPRESSOR_GUI (Light).exe" that is inside the source code folder must be configured before compiling setup.exe
The methods that the conversion will support must be defined.
Like the example in the image.
Configure the tool and close it to later compile setup.exe
https://i.imgur.com/dwhDnon.png

Emorian 27-05-2020 14:55

All right, thank you, I'll send you what you asked for.

In turn ..

I really don't understand that anymore.
There are two files:
Data1.bin
and
Data2.bin

It unpacks the first, the second as if it is not there, and the installer finishes running without error
it is in the Setup.ini file:

Code:

ArcFile1=Data1.bin;DestDir:{app};Type:ARC;Disk:1;Size:444.388.900;
 ArcFile1=Data2.bin;DestDir:{app};Type:ARC;Disk:2;Size:284.987.682;

(it didn't go without specifying a size!) Using UltraArc: MSC + SREP + LZMA


I'm done.....
i don't use virus protection and no defender either!

Emorian 27-05-2020 19:29

Cesar82
Private message sent, check your Inbox!

Cesar82 28-05-2020 06:41

Quote:

Originally Posted by Emorian (Post 486047)
All right, thank you, I'll send you what you asked for.

In turn ..

I really don't understand that anymore.
There are two files:
Data1.bin
and
Data2.bin

It unpacks the first, the second as if it is not there, and the installer finishes running without error
it is in the Setup.ini file:

Code:

ArcFile1=Data1.bin;DestDir:{app};Type:ARC;Disk:1;Size:444.388.900;
 ArcFile1=Data2.bin;DestDir:{app};Type:ARC;Disk:2;Size:284.987.682;

(it didn't go without specifying a size!) Using UltraArc: MSC + SREP + LZMA


I'm done.....
i don't use virus protection and no defender either!

Code:

ArcFile1=Data1.bin;DestDir:{app};Type:ARC;Disk:1;Size:444.388.900;
ArcFile2=Data2.bin;DestDir:{app};Type:ARC;Disk:2;Size:284.987.682;

Addeed hotfix in previou post (current in post #17)

Emorian 28-05-2020 16:19

Quote:

Originally Posted by Cesar82 (Post 486020)
This runtime error is because you have not increased the number of ArcFile on the last line.
If you specify size, you must also inform the Size of the joined file.
Code:

ArcFile1=Data-1a.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:1;Size:208.666.624;Flags: splitfile;
ArcFile2=Data-1b.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:2;Size:209.715.200;Flags: splitfile;
ArcFile3=Data-1c.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:3;Size:209.715.200;Flags: splitfile;
ArcFile4=Data-1d.bin;DestDir:{app}\Data-1.bin;Type:ARC;Disk:4;Size:98.508.322;Flags: splitfile;
ArcFile5=Data-1.bin;DestDir:{app};Type:ARC;Disk:4;Size:726.605.346;Flags: joinedfile;

That was my mistake. I forgot to delete this from the code.
As I compiled this part of the CIU beta5 code, I forgot to remove it. Just remove the 3 lines in script (Remove from "if" until after "else".).
Code:

if OptimalCheck.Checked then
  SetIniString('External compressor:mpz,mpzapi', 'unpackcmd', ' pmt d {compressor} -t100p - - <stdin> <stdout>', ExpandConstant('{tmp}\Arc.ini'))
else

Here is a hotfix for source code 1.0.0.2
Replace the script in the source code 1.0.0.2 (Delete the previous script).


Works great with the new script, thank you very much !!!!! :):):)

BLACKFIRE69 14-06-2020 01:17

Light Installer update
 
is coming Light Installer new update? :D

Cesar82 14-06-2020 08:27

Quote:

Originally Posted by BLACKFIRE69 (Post 486363)
is coming Light Installer new update? :D

I was waiting for some changes that Kaktor and I are making for CIU to later use similar functionality in the Light installer.
I'll see if I can post an update as soon as possible.
If you want I can send you the src that still needs some changes.

parnexcodes 20-06-2020 21:30

https://i.imgur.com/VlGcW8U.png
What could be the issue ? i used srep and lolz while compressing it using ultra arc . I copied record.ini and data1.bin . Selected those methods in compressor.exe too.

Masquerade 21-06-2020 00:34

Hey parnex, you sure you don't have any active anti malware blocking the install? That would make sense eith the other error you were having.

parnexcodes 21-06-2020 01:59

Quote:

Originally Posted by Masquerade (Post 486460)
Hey parnex, you sure you don't have any active anti malware blocking the install? That would make sense eith the other error you were having.

I dont use any anti virus , i used the sfx from ultra arc and its working fine . I'll try the setup on some other pc , maybe its from my side.

Cesar82 21-06-2020 05:45

LIGHT INSTALLER - New Version 1.0.0.3
 
Updated Light Installer to v1.0.0.3.

parnexcodes 23-06-2020 19:42

edit
 
Thank you for updating

parnexcodes 29-06-2020 17:59

Sorry
Edit : error was from my side.

pincoball 03-07-2020 02:43

Found this bug when selecting the installation folder

https://i.imgur.com/EnB01ln.jpg

Trying to comment this line of code seems to fix since I think it uses the default dialog from Windows API
Can I ask you what the function ShowSFForm() is used for? Since it's not present in LI 1.0.0.2 and seems to work normally

Code:

procedure InitializeWizard();
begin
  //WizardForm.DirBrowseButton.OnClick := @ShowSFForm;
...

Edit: if it is something related to desktop resolution, I tell you that I have 1920x1080 + 125% scaling
Edit 2: Tried to change the scaling factor and the problem does not occour, it seems to be related to that

Cesar82 03-07-2020 06:53

1 Attachment(s)
@pincoball
I haven't tested using a scale other than 100%.
The custom form is to correct the positioning of the buttons when using skins cjstyles that bugs the form of the API.
You can comment out this line except when using certain cjstyles styles.

I attached the HF script with the bug fixed.

lolaya 21-07-2020 12:51

@cesar82 Private message sent, check your Inbox!

Cesar82 17-10-2020 21:06

Updated to version 1.0.0.4.

@Moderators, if possible change the title to:
Light Installer Script (LIS) - Compatible with UltraArc/DiskSpan

Grumpy 17-10-2020 22:14

Quote:

Originally Posted by Cesar82 (Post 488351)

@Moderators, 'if possible' change the title to:
Light Installer Script (LIS) - Compatible with UltraArc/DiskSpan

Anything is possible ;)

Cesar82 22-10-2020 19:11

Updated "Light Installer Script" to version 1.0.0.5.

y_thelastknight 08-11-2020 01:39

2 Attachment(s)
i used this method and used Light Installer v1.0.0.5 script, still got error.
what mistake did i made.


All times are GMT -7. The time now is 23:13.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com