![]() |
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: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). |
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 |
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- 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) |
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 |
Quote:
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. |
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) |
I also get this freeze. Seems like the installer is freeze for a few seconds/minutes. Just wait, it will work.
|
Light Installer 1.0.0.2
Quote:
I updated the file in the first post. I think it's working now. |
Quote:
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. |
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) |
Quote:
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. |
Hi,
How do I incorporate the Records.ini file so that it is not next to it? |
Quote:
Example of how to convert sections from Records.ini to [ExtractSettings] from Setup.ini (Note the colors). Code:
[Record1] |
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?) |
Quote:
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 |
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;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)) thenCode:
[Record1]And now please ?! |
1 Attachment(s)
Quote:
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;Quote:
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 thenReplace the script in the source code 1.0.0.2 (Delete the previous script). Code:
Changes: |
Remove the red? (I was confused :))
Code:
Quote:
Code:
Error: Unarc.dll code -2 Unsupported compression .... method |
Quote:
|
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 !! |
Quote:
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 |
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;I'm done..... i don't use virus protection and no defender either! |
Cesar82
Private message sent, check your Inbox! |
Quote:
Code:
ArcFile1=Data1.bin;DestDir:{app};Type:ARC;Disk:1;Size:444.388.900; |
Quote:
Works great with the new script, thank you very much !!!!! :):):) |
Light Installer update
is coming Light Installer new update? :D
|
Quote:
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. |
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. |
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.
|
Quote:
|
LIGHT INSTALLER - New Version 1.0.0.3
Updated Light Installer to v1.0.0.3.
|
edit
Thank you for updating
|
Sorry
Edit : error was from my side. |
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();Edit 2: Tried to change the scaling factor and the problem does not occour, it seems to be related to that |
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. |
@cesar82 Private message sent, check your Inbox!
|
Updated to version 1.0.0.4.
@Moderators, if possible change the title to: Light Installer Script (LIS) - Compatible with UltraArc/DiskSpan |
Quote:
|
Updated "Light Installer Script" to version 1.0.0.5.
|
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 21:23. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com