PDA

View Full Version : ASIS: Advanced Simple Installer Script


Pages : 1 2 3 4 5 [6]

ROKA1969
27-09-2022, 05:45
KaktoR thank you :) Reliable as always !!

However, I noticed an error. After selecting the redists in the installer during their installation, windows with the C: \ Windows \ folder open, when I uncheck them, everything works normally. I checked on my script and on a clean script downloaded from here:

https://fileforums.com/showpost.php?p=498487&postcount=1237

I am adding my scrypt for inspection

32748

KaktoR
02-10-2022, 05:21
KaktoR thank you :) Reliable as always !!

However, I noticed an error. After selecting the redists in the installer during their installation, windows with the C: \ Windows \ folder open, when I uncheck them, everything works normally. I checked on my script and on a clean script downloaded from here:

https://fileforums.com/showpost.php?p=498487&postcount=1237

I am adding my scrypt for inspection

32748

You have some errors in your settings.

Section=[GameSettings]
You don't have to use brackets here ([]). Inno Setup would assume the INI section would look like this: [[GameSettings]]
For the redist installation you have to fill both Exe32 and Exe64 keys

KaktoR
02-10-2022, 05:27
v7.4.1
__________________________________________________ ___
- New option added to delete hash file after file vericifation
- Changed batch execution behavior
> Batch file will now be executed always from {app} directory (working dir = {app})
> Because I was asked, theoretically it is possible to execute other files then bat/cmd aswell
as long as Inno knows how to open them (the script is using ShellExec function with 'open' verb)
> Batch file has to be in Setup folder
- Updated BASS audio library to v2.4.16.7
- Updated help file

KaktoR
02-10-2022, 13:04
Change in Line 86

#define DeleteHashFile YesNo(ReadIni(Settings, "CRCCheck", "QuickSFVDeleteHashFile", ""))

I have forgot to change it

ROKA1969
04-10-2022, 07:45
Users are reporting to me that my installer reports an error:

https://i.imgur.com/cOxcSzn.png

I don't know what's going on, doesn't ASIS support windows x86 version or only x64 versions?

KaktoR
04-10-2022, 08:05
It is x64 only.

ROKA1969
04-10-2022, 09:43
Is it possible to run it on windows x86?

Masquerade
04-10-2022, 09:56
Is it possible to run it on windows x86?

It pays to actually read the reply KaktoR gave you.
It is x64 only.

KaktoR
04-10-2022, 11:25
I wonder what people still use x86 OS, but whatever.

You could try to delete the following lines from [Setup], but I can not guarantee that it will not brake up something and I will not give any support for it. Do at your own risk.

ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64

Cesar82
04-10-2022, 15:10
The installer will run but the decompressors being x64 will not work.

pcblizzard
05-10-2022, 11:53
I think I have found another “bug” in v7.4.1:

If I set “StartCheck” to “1”, the CRC check should start automatically at the end of the installation, but it does not. It just comes up with the “installation is finished” window, nothing more.

Settings.ini
[CRCCheck]
//----------------------------------------------- Setup\Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=0
QuickSFVFile=check.md5
QuickSFVDeleteHashFile=0

Script.iss:
// CRCCheck
#define CheckCRC YesNo(ReadIni(Settings, "CRCCheck", "Enable", ""))
#define StartCRC YesNo(ReadIni(Settings, "CRCCheck", "StartCheck", ""))
// QuickSFV Options
#define UseQuickSFV YesNo(ReadIni(Settings, "CRCCheck", "QuickSFV", ""))
#define QuickSFVFile ReadIni(Settings, "CRCCheck", "QuickSFVFile", "")
#define DeleteHashFile YesNo(ReadIni(Settings, "CRCCheck", "DeleteHashFile", ""))

Or am I just making a (thinking) mistake?


KR blizz

KaktoR
05-10-2022, 12:20
Works fine here.

Did you check the "Check CRC" checkbox?

Edit: Make sure you have included the hash file in Setup.dll and name file extension to ".dat" and add it to records.ini aswell like this
[Record#]
Type=Checksum_File
Source={tmp}\hashfile.dat
Output={app}\
Disk=1

pcblizzard
05-10-2022, 12:44
Yes, the "Check CRC" is preselected (deactivating and re-selecting also did nothing). Hm... I'll have to see what the problem is.

EDIT: The "StartCheck" option does not only work if I set "QuickSFV" to "1", correct?

KaktoR
05-10-2022, 13:06
The "StartCheck" option is only relevant if you don't use QuickSFV check. QuickSFV check starts always automatically if unpack process is finished.

pcblizzard
05-10-2022, 13:25
Hm ... very funny. I don't know what's wrong with me (I've also tried settings from previous versions [of course everything has been adjusted] but it just won't work.

These are my standard settings in “Settings.ini”

Enable=1
StartCheck=1
QuickSFV=0
QuickSFVFile=check.md5
QuickSFVDeleteHashFile=0

And in the screenshot you can see the last window, neither before nor after that anything happened in terms of a CRC check.

Another thing I noticed is that when I have “StartCheck=0", the window no longer appears (i.e., where I then have to start the check manually [which still appeared with 7.3.x]), so it must definitely be me. Then I'll try an older version of the script.


KR blizz

KaktoR
05-10-2022, 13:41
I'm asking again: Is your hash file included in Setup.dll and Records.ini?

Send me all relevant files for testing (Settings.ini, Setup.dll).

pcblizzard
05-10-2022, 13:53
Okay, i will send you the Files via PN.

Cesar82
05-10-2022, 18:19
I'm asking again: Is your hash file included in Setup.dll and Records.ini?

Send me all relevant files for testing (Settings.ini, Setup.dll).

I'm not sure, but I think you can even use other directories or file extension (If you manually enter records.ini).

[Record#]
Type=Checksum_File
Source={src}\HASH\hashfile.md5
Output={app}\
Disk=1

[Record#]
Type=Checksum_File
Source={app}\hashfile.sfv
Output={app}\
Disk=1


If you use any constant, it will be copied to the temporary folder, generating a new name with a .dat extension and merging if necessary
If using {app} the file will not be deleted from the installation folder after checking.

Names without constants in the Source= key cannot be used.

L33THAK0R
12-10-2022, 19:24
I'm not quite sure how it would work since I'm aware the current system orders the current lists of components/tasks using the integer value, but would it be possible to use a separate value to dictate the order that components/tasks appear, and instead attaching a string label to the component/task? I'm definitely interested in trying to implement this myself, since its definitely a niche use-case, given I'm sure the majority of users don't have extensive component/task lists that regularly differ and need to be re-ordered. If anyone could give me some guidance on what a possible solution would require I'd greatly appreciate it.

I'm not great at describing what I'm attempting in a succinct manner, so heres a brief mockup:

Records.ini entry
[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=MAINDATA

Settings.ini entry
ComponentMAINDATA.Name=Main Files
ComponentMAINDATA.ItemType=CHECK
ComponentMAINDATA.Size=2.42 GB
ComponentMAINDATA.Level=0
ComponentMAINDATA.Checked=1
ComponentMAINDATA.Enabled=0
ComponentMAINDATA.Order=1

ADDITIONAL EDIT:
I had a quick thought that it might even be easier at a glance to order items if there was a separate Settings.ini entry solely for the order of items, so for example:

Settings.ini entry
[ComponentOrder]
1=MAINDATA
2=placeholder
3=placeholder

[TaskOrder]
1=placeholder
2=placeholder
3=placeholder

KaktoR
16-10-2022, 04:59
Sorry for late response, was out of the house for a few days.

Sure it is possible but it requires extensive editing. I'm pretty sure no one will ever do that.

L33THAK0R
16-10-2022, 09:49
Sorry for late response, was out of the house for a few days.

Sure it is possible but it requires extensive editing. I'm pretty sure no one will ever do that.

No worries, thanks for the response! I'm definitely feeling confident I could probably get it working (I've had some pretty decent success with overwriting existing infrastructure to introduce my own, to better suit my needs), I'm just trying to figure out where to start looking, I can easily find the logic for existing component/tasks attributes (eg. .Name, .ItemType, .Size, .Level), but I can't find the logic for the order of component/task items, would you by any chance remember where abouts this was implemented?

Cesar82
16-10-2022, 11:01
No worries, thanks for the response! I'm definitely feeling confident I could probably get it working (I've had some pretty decent success with overwriting existing infrastructure to introduce my own, to better suit my needs), I'm just trying to figure out where to start looking, I can easily find the logic for existing component/tasks attributes (eg. .Name, .ItemType, .Size, .Level), but I can't find the logic for the order of component/task items, would you by any chance remember where abouts this was implemented?

You should be aware that the Component=, Task= and Language= keys of records.ini also support multiple comma-separated values.

[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=1,2,6
Task=3,7
Language=EN,DE,FR

L33THAK0R
16-10-2022, 20:30
You should be aware that the Component=, Task= and Language= keys of records.ini also support multiple comma-separated values.

[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=1,2,6
Task=3,7
Language=EN,DE,FR

Ah thanks for the heads up, this'll definitely be useful in the future!

ROKA1969
29-10-2022, 20:23
what could this error mean?

*Running instaler with selected language failed. Code 5*

I will add that after creating the installer, the installation is successful for me

Masquerade
30-10-2022, 00:32
what could this error mean?

*Running instaler with selected language failed. Code 5*

I will add that after creating the installer, the installation is successful for me

You need to unblock the setup in it's properties. Windows security is going nuts

KaktoR
30-11-2022, 13:10
v7.4.2
__________________________________________________ ___
- Made some additions to CLS.ini settings
- Updated XHashEx library
- Compatible with DiskSpan_GUI v2.0.1.4+
- Fixed some window color issues, especially with checkboxes

First post

fabrieunko
30-11-2022, 22:17
hello, I downloaded version 7.4.2 I launched the script.bat compile file without modifying the settings.ini file and it worked well. but when I modify the settings.ini file for my game. I got an error message.

With version 7.4.1 I have no error when compiling

https://zupimages.net/up/22/48/psgb.png (https://zupimages.net/viewer.php?id=22/48/psgb.png)

My ini

[Settings]
Name=From Space
Size=2.30 GB
Creator=UnK
DefaultInstallDir={sd}\Games
UnInstallFolder=_UnInstall
ShowLanguageBox=0
CompactMode=0
UWPGame=0
Savegamefolder={userdocs}\From Space
Win11Warning=0


[UpdateSettings]
UpdateMode=0
FileCheck=Hk_project\Binaries\Win64\Stray-Win64-Shipping.exe


[Executable1]
ShortcutName=From Space
Exe=FromSpace.exe
ExeParam=
IconFileName=UnK.ico
Component=


[INISettings]
Enable=0
INIFile={app}\steam_emu.ini
Section=Settings
Key=UserName
Value={username}


[Text]
WelcomeLabel1Top=235
WelcomeLabel2Top=295
FinishLabel1Top=235
FinishLabel2Top=295
WelcomeLabel1FontSize=14
WelcomeLabel2FontSize=10
FinishLabel1FontSize=14
FinishLabel2FontSize=10
Font=Alegreya Sans
FontColor=$ffffff


[Button]
PlaySound=1

[ComponentsSettings]
Enable=0
FlatPageMode=0
ShowComponentSize=1

;; requires at least two components to enable page.
;; if components is used the global size will be ignored.
Component1.Name=Component 1
Component1.ItemType=CHECK
Component1.Size=4.15 GB
Component1.Level=0
Component1.Checked=1
Component1.Enabled=1

Component2.Name=Component 2
Component2.ItemType=CHECK
Component2.Size=8.75 GB
Component2.Level=0
Component2.Checked=1
Component2.Enabled=1

Component3.Name=Component 3
Component3.ItemType=CHECK
Component3.Size=18.00 GB
Component3.Level=0
Component3.Checked=1
Component3.Enabled=1

Component4.Name=Component 4
Component4.ItemType=CHECK
Component4.Size=18.00 GB
Component4.Level=0
Component4.Checked=1
Component4.Enabled=1


[TasksSettings]
Enable=0
FlatPageMode=0
ShowTaskSize=1

Task1.Name=Soundtrack Game 1
Task1.ItemType=CHECK
Task1.Size=100 Mb
Task1.Level=0
Task1.Checked=1
Task1.Enabled=1

Task2.Name=Soundtrack Game 2
Task2.ItemType=CHECK
Task2.Size=210 Mb
Task2.Level=0
Task2.Checked=1
Task2.Enabled=1


[Background]
//----------------------------------------------- Setup\Background\#.jpg
Enable=0
BackgroundDuration=5000
BackgroundAnimation=1
BGAfterInstall=1


[SystemRequirement]
Enable=0
Processor=32
VideoRAM=2048
RAM=4096
OS=1000
DirectX=11
HWSectionLabelColor=$ea00ff
HWOkLabelColor=$357EC7
HWNotOkLabelColor=$ff0000
HWGoodLabelColor=$36ff00
HWPartiallyGoodLabelColor=$ff8400
HWNotGoodLabelColor=$ff0000


[CRCCheck]
//----------------------------------------------- Setup\Filename.sfv \ Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=0
QuickSFVFile=Stray.md5
QuickSFVDeleteHashFile=0


[Website]
Enable=1
WebsiteButtonText=Repack
URL=https://www.reddit.com/r/Gamepc_Repack/


[Splash]
//----------------------------------------------- Setup\Filename.png
Enable=1
SplashFile=Splash.png
SplashFadeIn=500
SplashShow=1000
SplashFadeOut=500


[Music]
//----------------------------------------------- Setup\Filename.mp3
Enable=1
MusicFile=Music.mp3
MusicVolume=70


[License]
//----------------------------------------------- Setup\EULA\English.rtf \ French.rtf \ German.rtf \ Italian.rtf \ Spanish.rtf \ Polish.rtf \ Russian.rtf \ PortugueseBrazil.rtf
Enable=0


[InfoBefore]
//----------------------------------------------- Setup\InfoBefore.rtf \ InfoBefore.txt
Enable=1


[Skin]
//----------------------------------------------- Setup\Filename.cjstyles \ Filename.vsf
EnableCjstyles=0
CjstylesFile=Concave.cjstyles
CjstylesParam=

EnableVCL=1
VCLFile=Amakrits.vsf


[Redists]
Enable=0

Redist1.Enable=1
Redist1.Name=Microsoft DirectX
Redist1.Level=0
Redist1.ItemType=CHECK
Redist1.Checked=0
Redist1.Enabled=1
//Redist1.Exe32={src}\_CommonRedist\DirectX\Juin2010 \DXSETUP.exe
Redist1.Exe64={src}\_CommonRedist\DirectX\dxwebset up.exe
Redist1.Param=

Redist2.Enable=1
Redist2.Name=Microsoft Visual C++ 2022
Redist2.Level=0
Redist2.ItemType=CHECK
Redist2.Checked=0
Redist2.Enabled=1
//Redist2.Exe32={src}\_CommonRedist\vcredist\2019\VC _redist.x86.exe
Redist2.Exe64={src}\_CommonRedist\vcredist\2022\VC _redist.x64.exe
Redist2.Param=


[Batch]
Enable=0
BatchFile=Patch.bat

//////////////////////////////////////////////////////////////////////

KaktoR
01-12-2022, 01:57
Thanks for the report.

The error comes from crc check if you don't use quicksfv. I will fix it later.

KaktoR
01-12-2022, 10:04
Here is a fix

Gehrman
01-12-2022, 15:25
How can you add a label in ASIS: Advanced Simple Installer Script like the image below?
https://upload.cc/i1/2022/12/02/pwj4BU.jpg

MojoW
01-12-2022, 18:21
Available VRAM is only showing half of what is actually available for me.

KaktoR
02-12-2022, 01:52
Well seems like it's a bug in ISSysInfo (https://fileforums.com/showthread.php?t=99835) then. Maybe I have to switch to a different plugin :(

fabrieunko
03-12-2022, 12:11
Hello, can you tell me how to change the resolution of the installer? it is in 600 x 379 I would like to put it in 900 x 509

KaktoR
03-12-2022, 12:41
GrowWizard(ScaleX(103), ScaleY(66));

WizardForm.ClientWidth := ScaleX(600);
WizardForm.ClientHeight := ScaleY(429);

Good luck in reformating the complete installer :D

fabrieunko
03-12-2022, 21:03
hello I come back to you because I changed all 600 to 900 but there is a problem...


https://i.ibb.co/3kH5chv/Capture.png (https://ibb.co/3kH5chv)

KaktoR
04-12-2022, 01:53
Yes and I told you "good luck" :)

You have to figure out on your own, no support from me.

fabrieunko
04-12-2022, 09:12
hello, I'm not going to pollute your topic just to say that I'm progressing little by little. I have to find how to move the text to the left... thank you for your fabulous installer. I use it for all my repacks.

http://image.noelshack.com/minis/2022/48/7/1670180206-capture.png (http://www.noelshack.com/2022-48-7-1670180206-capture.png)

KaktoR
04-12-2022, 11:18
Available VRAM is only showing half of what is actually available for me.

Please test this if it shows correct GPU VRam

MojoW
04-12-2022, 11:32
Please test this if it shows correct GPU VRam

Yep this shows it correctly!

KaktoR
04-12-2022, 12:33
v7.4.3
__________________________________________________ ___
- Added SysInfo library by BLACKFIRE69 (https://fileforums.com/showthread.php?t=103432) temporary to detect correct GPU VRAM for newer GPUs
> This might be changed again in a future update
- Fixed CRC check issues

first post

KaktoR
08-12-2022, 05:17
v7.4.3a
__________________________________________________ ___
- Updated xHashEx.dll and SplitLib.dll libraries to fix some issues with DiskSpan_GUI hash list feature

first post

ROKA1969
09-12-2022, 02:14
how can i add a password to a compressed file for the installer to install this file normally

KaktoR
11-12-2022, 08:11
Set password in Records.ini

[Record#]
...
...
Password=Your password

Include records.ini in Setup.dll and set a password for Setup.dll
Set password for Setup.dll in script.iss
#define PasswordDLL "Your password"

However full encryption is not possible this way. People can still read the password from %temp% folder. You have to use a custom arc.exe to fully encrypt the files (this requires some script editing I guess, not sure).

Masquerade
11-12-2022, 11:15
If you use ProFrager's FAProtect to generate custom FreeArc binaries so others cannot open them, all you'd need to do is swap the unarc.dll from the ASIS package with your custom generated unarc.dll to decompress the archives.

This does not encrypt the archives per-se, because if you open them with a hex editor you will still be able to see magic numbers of compressors that you used when making the archive, so you will be easily be able to tell at LEAST the final compressor used if not more. That is, unless, you add encryption to the archive in FA cmdline which I have no idea about. It'll probably just slow unpacking down. If all you want to do is stop people from easily looking at what your methods are, just use FAProtect. Then only skilled people will know ;)

KaktoR
23-12-2022, 09:43
v7.4.4
__________________________________________________ ___
- Updated BASS audio library to v2.4.17
- Fixed a minor issue with some labels in CompactMode installer step

This is the last update and the project is finished (closed) now.

pcblizzard
04-01-2023, 01:45
In case the project is continued at some point: I discovered another small bug that is reproducible if you use the “Compact”-Mode (Settings.ini), the “UpdateMode” is set to “1” (Settings.ini) and have CRC-Check selected (Installer).

The button that should say “Exit” is not visible, because it is mostly covered by the button with the question mark.


KR blizz

Cesar82
04-01-2023, 04:18
In case the project is continued at some point: I discovered another small bug that is reproducible if you use the “Compact”-Mode (Settings.ini), the “UpdateMode” is set to “1” (Settings.ini) and have CRC-Check selected (Installer).

The button that should say “Exit” is not visible, because it is mostly covered by the button with the question mark.


KR blizz

Despite the project being closed, but as it is a bug fix and not design changes, I will share a fix with you.

pcblizzard
05-01-2023, 00:49
I can only thank you very much for your commitment!

LinkSystem
07-03-2023, 04:50
My friends, I apologize in advance for my English ..
There is a problem - when installing the game there is an error in the console:
Found 0 files to register in RestartManager.
I've been suffering for 2 days, nothing comes out. tried everything. I looked through all the pages of the forum but the problem remained.

The installer doesn't see the unpack archives at all before unpacking my basket should start - this error comes up and the installer hangs completely until it detects the process manually (via the task manager). What could it be?

Proxson
21-04-2023, 16:46
Just a small typo fix in the script at lines 6172, 6215. Hint... reuirements ;)

{#if UseSystemReq}english.Hardware50=Your system does partially meet the hardware reuirements.{#endif}

proper...

{#if UseSystemReq}english.Hardware50=Your system does partially meet the hardware requirements.{#endif}

Iztac
23-04-2023, 11:28
hi, your installer is awesome, but

how can i do to put a Message BOX at the launch before splashscreen and Language selector and another when click finish button ?

thank you

ROKA1969
30-04-2023, 22:33
How can I set two things?

1. I installed two games and made a collection out of them by throwing them into one folder. There are two separate folders with saves in the Documents folder. How do I set the Settings.ini file to uninstall both folders?

2. I added the Patch.bat file to the installer, it works properly, but after installing the game, it appears in the game folder. What should I do to make it not there? In previous updates, everything was fine.

Thank you for all suggestions.

Bondpotter
18-05-2023, 05:19
This is really cool and simple installer.

I want to know is there a way that if a game is already installed then installing it again will give the prompt to uninstall the game with message "game is already installed"?

Also is it possible to set game version?

Enluaphelis
03-07-2023, 23:32
v7.4.4
__________________________________________________ ___
- Updated BASS audio library to v2.4.17
- Fixed a minor issue with some labels in CompactMode installer step

This is the last update and the project is finished (closed) now.

Hello again!
I did everything just as you told me in another thread about how to combine Setup.dll and Records.ini into one Setup.exe file, but now I have an error after clicking on install.
https://imgur.com/a/m1rzePe
But this error does not happen when installing with Setup.dll and Records.ini being present in the folder, it installed game and it worked. (https://imgur.com/a/yHQKAB0)
But when using only Setup.exe with those .dll and .ini merged altogether into setup it says that method is unsupported, but it then why it worked and installed with those files being present? How to fix that? I want to only data and exe files to be present in the folder.
I used these settings in DiskSpan when compressing: https://imgur.com/a/5MPStJb

Also, why after compressing I got a normal Data01.bin file and weird Data02.bin.001 fie? And these files are in one DISK folder. It should've split them in DISK1 and DISK2 and they should've been Data01.bin and Data02.bin, isn't it?
https://imgur.com/a/FZOVsEz

Please check my settings, if I did something wrong so it crashes tell me what to fix please, I'd appreciate your help:)

Cesar82
04-07-2023, 03:30
Hello again!
I did everything just as you told me in another thread about how to combine Setup.dll and Records.ini into one Setup.exe file, but now I have an error after clicking on install.
https://imgur.com/a/m1rzePe
But this error does not happen when installing with Setup.dll and Records.ini being present in the folder, it installed game and it worked. (https://imgur.com/a/yHQKAB0)
But when using only Setup.exe with those .dll and .ini merged altogether into setup it says that method is unsupported, but it then why it worked and installed with those files being present? How to fix that? I want to only data and exe files to be present in the folder.
I used these settings in DiskSpan when compressing: https://imgur.com/a/5MPStJb

Also, why after compressing I got a normal Data01.bin file and weird Data02.bin.001 fie? And these files are in one DISK folder. It should've split them in DISK1 and DISK2 and they should've been Data01.bin and Data02.bin, isn't it?
https://imgur.com/a/FZOVsEz

Please check my settings, if I did something wrong so it crashes tell me what to fix please, I'd appreciate your help:)
Use names Data1-01.bin to Data1 e Data2-01.bin to Data2 to hide .001 extension

Enluaphelis
04-07-2023, 03:39
Use names Data1-01.bin to Data1 e Data2-01.bin to Data2 to hide .001 extension

Okay, thanks. Also, can I rename them to something like Data01 or etc. afterwards? Also with changing it in Records.ini? Will it break the installation?

KaktoR
04-07-2023, 06:47
From what I remember, it is not possible to rename the archives afterwards if you used diskspan method. If you checked the "Unlimited" tab in DSG or used the "Split mode", it should be possible though.

Cesar82
04-07-2023, 08:45
Okay, thanks. Also, can I rename them to something like Data01 or etc. afterwards? Also with changing it in Records.ini? Will it break the installation?

As KaktoR has already answered, the Span mode (CLS-DiskSpan.dll) requires the original creation data naming.
After kaktoR's comment, I remembered that you can use Data1.bin, Data2.bin, Data3.bin, but when compressing you must choose the UNLIMITED tab (Do not check the customization checkboxes). This way the CLS-DiskSpan.dll library will not be used so it will allow names Data1.bin, Data2.bin, etc.
https://i.imgur.com/vrhKyD0.png

INFO: Currently the "SPLIT" mode allows you to change the name in the Records.ini file, but in the next version of DiskSpan GUI the SplitLib.dll library that is used to split and merge the files will be updated and will probably require original names generated in the creation of the split file.

Enluaphelis
04-07-2023, 20:59
From what I remember, it is not possible to rename the archives afterwards if you used diskspan method. If you checked the "Unlimited" tab in DSG or used the "Split mode", it should be possible though.

I got it, thx. But I still have an error after merging Setup.dll and Records.ini into one Setup.exe. Setup process simply crashes with that error: https://imgur.com/a/m1rzePe

This does not happen and installation works when Setup.dll and Records.ini being present. I want it to work with merged Setup.exe. Please help me:)

KaktoR
04-07-2023, 23:23
The folder structure has to look like this
https://i.imgur.com/NhRe98I.png
https://i.imgur.com/NhRe98I.png

Enluaphelis
05-07-2023, 00:15
The folder structure has to look like this
https://i.imgur.com/NhRe98I.png
https://i.imgur.com/NhRe98I.png

Oh, so that is the reason why it did not work?
But DECOMPRESSOR folder in ASIS is empty. It was empty by default.

From where do I have to move this files into this folder?

And which ones do I have to move? For example in this repack I use msc+srep and srep+lolz

UPD: I threw everything in "Resources" folder of DiskSpan into DECOMPRESSOR folder and it still doesn't work, also tried with the same files on your screenshot :(

KaktoR
05-07-2023, 00:50
You have two choices:
1. Rename Setup.dll (which DSG creates) to Setup.arc and extract the file into DECOMPRESSOR folder with FreeArc.
2. In DiskSpan_GUI folder, go to "Resources\INSTALLER" and pick the files you need and copy them to DECOMPRESSOR folder.

For the second choice you have to pay attention to some things:
1. If you used precompressors like XTool, you have to create a folder with the same name in DECOMPRESSOR folder like the precompressor you used.
2. ARC_*.ini and CLS_*.ini are required in any case.

In your methods srep+msc and srep+lolz you have to copy the following files:
"Resources\INSTALLER\ARC\*" (all files here)
"Resources\INSTALLER\LOLZ\*" (all files)
"Resources\INSTALLER\MSC\CLS-MSC_TAK.dll"
"Resources\INSTALLER\SREP\CLS-SREP_NEW*.*"

However I recommend to follow the first choice, as it is the simpliest way.

Enluaphelis
05-07-2023, 00:59
You have two choices:
1. Rename Setup.dll (which DSG creates) to Setup.arc and extract the file into DECOMPRESSOR folder with FreeArc.
2. In DiskSpan_GUI folder, go to "Resources\INSTALLER" and pick the files you need and copy them to DECOMPRESSOR folder.

For the second choice you have to pay attention to some things:
1. If you used precompressors like XTool, you have to create a folder with the same name in DECOMPRESSOR folder like the precompressor you used.
2. ARC_*.ini and CLS_*.ini are required in any case.

In your methods srep+msc and srep+lolz you have to copy the following files:
"Resources\INSTALLER\ARC\*" (all files here)
"Resources\INSTALLER\LOLZ\*" (all files)
"Resources\INSTALLER\MSC\CLS-MSC_TAK.dll"
"Resources\INSTALLER\SREP\CLS-SREP_NEW*.*"

However I recommend to follow the first choice, as it is the simpliest way.

I agree with the 1st choice, I renamed it to .arc but how do I extract it? How do I use FreeArc? When I open Arc.exe it just closes. Sorry for stupid questions, I'm a newbie :)

Cesar82
05-07-2023, 03:33
I agree with the 1st choice, I renamed it to .arc but how do I extract it? How do I use FreeArc? When I open Arc.exe it just closes. Sorry for stupid questions, I'm a newbie :)
If you are using DiskSpan GUI to compress and want to create Setup.dll before compression you can use the TOOLS button, "Setup DLL" tab.
Choose the "MAKE" subtab and paste a method line on each line of the memo and click "Make DLL".
If you are in doubt about the method lines used, you can generate them by searching for the method in another instance of DiskSpan GUI or in DSG_Settings.ini in the "Resources" folder (if you have already configured your methods in Developer mode).

Enluaphelis
05-07-2023, 03:48
If you are using DiskSpan GUI to compress and want to create Setup.dll before compression you can use the TOOLS button, "Setup DLL" tab.
Choose the "MAKE" subtab and paste a method line on each line of the memo and click "Make DLL".
If you are in doubt about the method lines used, you can generate them by searching for the method in another instance of DiskSpan GUI or in DSG_Settings.ini in the "Resources" folder (if you have already configured your methods in Developer mode).

It worked! Thank you!
So in this case I don't have to put stock Setup.dll from DSG into DECOMPRESSOR when doing final Setup.dll? Only put decompressed files from .dll and records.ini, right?

Enluaphelis
05-07-2023, 04:11
Any way I can change colors of the button hover, selection and progress bar?
https://imgur.com/a/73NZvTb

KaktoR
05-07-2023, 05:21
The color is part of the skin file. Unfortunatelly you cannot change it.

Cesar82
05-07-2023, 08:22
It worked! Thank you!
So in this case I don't have to put stock Setup.dll from DSG into DECOMPRESSOR when doing final Setup.dll? Only put decompressed files from .dll and records.ini, right?
you will only need to merge records.ini.
For that you can use the "Records" tab in the same tool tab group as the DSG.

LinkSystem
12-07-2023, 10:36
Hello brothers! I want to apologize right away for English (I use Google translator). Please make someone an archive for an example - put all the necessary files (data-1.bin, data-2.bin ... + ready-made files setup.dll , Records.ini ...). I need this to understand how everything works in more detail using an example. To the archives of the game (data-1.bin, data-2.bin) you can put any small files, this is just for example. The main thing is that everything is installed from this archive, as if this is the game. Thank you in advance! Have a nice day!

ravikant
25-07-2023, 21:29
I have two bins created by diskspan, i want to use ASIS for my installer but i don't know how to use it

The decompressors folder is empty, i am using xtool srep and lolz as my compression method

Can you give me steps so that i can make a clean installer for my created files

Lord.Freddy
25-07-2023, 22:46
I have two bins created by diskspan, i want to use ASIS for my installer but i don't know how to use it

The decompressors folder is empty, i am using xtool srep and lolz as my compression method

Can you give me steps so that i can make a clean installer for my created files

That "decompressor" folder is just to create a "setup.dll" file, but if you're using DSG, you already have that, got it?

And after that, you need to edit the "settings. ini" file to apply your settings, then just run the "Compile_Script.bat" file to compile the script and move the (Setup.exe, Setup.ico) to the folder containing your archive and "records.ini" and "Setup.dll". :)

ravikant
25-07-2023, 22:54
I read in the previous posts that we need to extract setup.dll in decompressor folder

also if i rename my archives[i am using unlimited in diskspan] how do i configure the same for my installer

Lord.Freddy
25-07-2023, 23:12
I read in the previous posts that we need to extract setup.dll in decompressor folder


NO need to do this.

also if i rename my archives[i am using unlimited in diskspan] how do i configure the same for my installer

when you create an archive with DSG, it's giving you a file that name is "records.ini" In this file, you can configure your archive name and other settings, for example, you have "Data.bin" file and you rename it to the "Data.bf", if you do that you need change that name in "records.ini" file too.

ravikant
25-07-2023, 23:17
Thanks, i was able to test my installer and it is working perfectly

I have one more question

Can i run a crc check for bin file before installation and crc check for output files after installation

Can you also suggest me other diskspan compatible installers which have support from the creator till date

Lord.Freddy
25-07-2023, 23:34
Can i run a crc check for bin file before installation and crc check for output files after installation

the crc check is available for the output files, and you need to check and turn it on in the first DSG page ( Also the ( [CRCCheck] ) section in "settings.ini"). crc check for the bin file is not available, and you need to add it yourself. If you don't know how to do this, ask in the (INNO TROUBLESHOOT - Questions Here) section (or here), they will answer you. :)

Can you also suggest me other diskspan compatible installers which have support from the creator till date

See this link (https://fileforums.com/showpost.php?p=492987&postcount=3)

ravikant
26-07-2023, 04:29
What is patch.bat in the setup folder of ASIS

KaktoR
26-07-2023, 10:01
This is for the [Batch] section, if you want to do tasks after installing, like patching files, repacking files and such.

ravikant
26-07-2023, 23:26
This is for the [Batch] section, if you want to do tasks after installing, like patching files, repacking files and such.

It means i can do a post install hash check also.


Also how do i configure records.ini for optional files

KaktoR
26-07-2023, 23:52
Post install hash check is already built-in. Either you can use the hash file created by DSG, or using your own and use quicksfv.

[CRCCheck]
Enable= | Enable (1) or disable (0) the use of a hash check after installation is finished
Note that internal hash check is only usable if you used DiskSpan_GUI and created hash files with it.
If you want to use QuickSFV instead you have to set Enable=1 nevertheless
StartCheck= | If enabled (1) CRC checkbox is enabled by default and Hash checking starts automatically after installation process
QuickSFV= | Enable (1) if you want to use QuickSFV for file checking instead of internal Setup hash check
QuickSFVFile= | Set the hash file to use for the hash check
It is possible to use sfv, md5, crc, csv and ckz files

For optional files, read "Help\Components and Tasks.txt".

Edit: Here is a example what a Patch.bat could look like. In this example I used "DELZORec_x64" as it will give the best output size on the game "Far Cry 5" last time I checked. First you have to unpack the game files with said tool, after installation you have to repack the files back to original. Note that the batch file will always run from {app} directory as working directory (I have to fix the help file).

@echo off
setlocal EnableDelayedExpansion EnableExtensions
TITLE Rebuilding game files, please wait...

DELZORec_x64.exe r "data_final\pc\common.unp" "data_final\pc\common.dat" "data_final\pc\common.fat"
del /F "data_final\pc\common.unp"
DELZORec_x64.exe r "data_final\pc\ige.unp" "data_final\pc\ige.dat" "data_final\pc\ige.fat"
del /F "data_final\pc\ige.unp"
DELZORec_x64.exe r "data_final\pc\igepatch.unp" "data_final\pc\igepatch.dat" "data_final\pc\igepatch.fat"
del /F "data_final\pc\igepatch.unp"
DELZORec_x64.exe r "data_final\pc\patch.unp" "data_final\pc\patch.dat" "data_final\pc\patch.fat"
del /F "data_final\pc\patch.unp"
DELZORec_x64.exe r "data_final\pc\patchshadersobj.unp" "data_final\pc\patchshadersobj.dat" "data_final\pc\patchshadersobj.fat"
del /F "data_final\pc\patchshadersobj.unp"
DELZORec_x64.exe r "data_final\pc\shadersobj.unp" "data_final\pc\shadersobj.dat" "data_final\pc\shadersobj.fat"
del /F "data_final\pc\shadersobj.unp"
if exist "data_final\pc\patch_english.unp" DELZORec_x64.exe r "data_final\pc\patch_english.unp" "data_final\pc\patch_english.dat" "data_final\pc\patch_english.fat"
if exist "data_final\pc\patch_english.unp" del /F "data_final\pc\patch_english.unp"
if exist "data_final\pc\patch_german.unp" DELZORec_x64.exe r "data_final\pc\patch_german.unp" "data_final\pc\patch_german.dat" "data_final\pc\patch_german.fat"
if exist "data_final\pc\patch_german.unp" del /F "data_final\pc\patch_german.unp"
if exist "data_final\pc\patch_italian.unp" DELZORec_x64.exe r "data_final\pc\patch_italian.unp" "data_final\pc\patch_italian.dat" "data_final\pc\patch_italian.fat"
if exist "data_final\pc\patch_italian.unp" del /F "data_final\pc\patch_italian.unp"
if exist "data_final\pc\patch_french.unp" DELZORec_x64.exe r "data_final\pc\patch_french.unp" "data_final\pc\patch_french.dat" "data_final\pc\patch_french.fat"
if exist "data_final\pc\patch_french.unp" del /F "data_final\pc\patch_french.unp"
if exist "data_final\pc\patch_spanish.unp" DELZORec_x64.exe r "data_final\pc\patch_spanish.unp" "data_final\pc\patch_spanish.dat" "data_final\pc\patch_spanish.fat"
if exist "data_final\pc\patch_spanish.unp" del /F "data_final\pc\patch_spanish.unp"
if exist "data_final\pc\patch_russian.unp" DELZORec_x64.exe r "data_final\pc\patch_russian.unp" "data_final\pc\patch_russian.dat" "data_final\pc\patch_russian.fat"
if exist "data_final\pc\patch_russian.unp" del /F "data_final\pc\patch_russian.unp"
if exist "data_final\pc\patch_japanese.unp" DELZORec_x64.exe r "data_final\pc\patch_japanese.unp" "data_final\pc\patch_japanese.dat" "data_final\pc\patch_japanese.fat"
if exist "data_final\pc\patch_japanese.unp" del /F "data_final\pc\patch_japanese.unp"
if exist "data_final\pc\patch_brazilian.unp" DELZORec_x64.exe r "data_final\pc\patch_brazilian.unp" "data_final\pc\patch_brazilian.dat" "data_final\pc\patch_brazilian.fat"
if exist "data_final\pc\patch_brazilian.unp" del /F "data_final\pc\patch_brazilian.unp"

DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars.un p" "data_final\pc\downloadcontent\dlc_mars\dlc_mars.da t" "data_final\pc\downloadcontent\dlc_mars\dlc_mars.fa t"
del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars.un p"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_en glish.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_en glish.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_en glish.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_en glish.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_en glish.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_en glish.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ge rman.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ge rman.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ge rman.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ge rman.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ge rman.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ge rman.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_it alian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_it alian.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_it alian.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_it alian.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_it alian.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_it alian.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_fr ench.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_fr ench.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_fr ench.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_fr ench.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_fr ench.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_fr ench.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_sp anish.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_sp anish.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_sp anish.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_sp anish.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_sp anish.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_sp anish.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ru ssian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ru ssian.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ru ssian.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ru ssian.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ru ssian.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ru ssian.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ja panese.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ja panese.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ja panese.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ja panese.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ja panese.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_ja panese.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_br azilian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_br azilian.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_br azilian.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_br azilian.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_br azilian.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_br azilian.unp"

DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam.fat"
del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_english.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_english.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_english.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_english.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_english.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_english.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_german.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_german.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_german.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_german.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_german.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_german.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_italian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_italian.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_italian.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_italian.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_italian.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_italian.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_french.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_french.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_french.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_french.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_french.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_french.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_spanish.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_spanish.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_spanish.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_spanish.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_spanish.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_spanish.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_russian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_russian.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_russian.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_russian.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_russian.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_russian.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_japanese.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_japanese.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_japanese.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_japanese.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_japanese.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_japanese.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_brazilian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_brazilian.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_brazilian.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_brazilian.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_brazilian.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_viet nam_brazilian.unp"

DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_zombies\dlc_zomb ies.unp" "data_final\pc\downloadcontent\dlc_zombies\dlc_zomb ies.dat" "data_final\pc\downloadcontent\dlc_zombies\dlc_zomb ies.fat"
del /F "data_final\pc\downloadcontent\dlc_zombies\dlc_zomb ies.unp"

DELZORec_x64.exe r "data_final\pc\ingameeditor\dlcpack0.unp" "data_final\pc\ingameeditor\dlcpack0.dat" "data_final\pc\ingameeditor\dlcpack0.fat"
del /F "data_final\pc\ingameeditor\dlcpack0.unp"
DELZORec_x64.exe r "data_final\pc\ingameeditor\igepack.unp" "data_final\pc\ingameeditor\igepack.dat" "data_final\pc\ingameeditor\igepack.fat"
del /F "data_final\pc\ingameeditor\igepack.unp"

DELZORec_x64.exe r "data_final\pc\worlds\farcry5.unp" "data_final\pc\worlds\farcry5.dat" "data_final\pc\worlds\farcry5.fat"
del /F "data_final\pc\worlds\farcry5.unp"
DELZORec_x64.exe r "data_final\pc\worlds\installpkg.unp" "data_final\pc\worlds\installpkg.dat" "data_final\pc\worlds\installpkg.fat"
del /F "data_final\pc\worlds\installpkg.unp"

if exist "data_final\pc\worlds\farcry5_english.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_english.unp" "data_final\pc\worlds\farcry5_english.dat" "data_final\pc\worlds\farcry5_english.fat"
if exist "data_final\pc\worlds\farcry5_english.unp" del /F "data_final\pc\worlds\farcry5_english.unp"
if exist "data_final\pc\worlds\farcry5_german.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_german.unp" "data_final\pc\worlds\farcry5_german.dat" "data_final\pc\worlds\farcry5_german.fat"
if exist "data_final\pc\worlds\farcry5_german.unp" del /F "data_final\pc\worlds\farcry5_german.unp"
if exist "data_final\pc\worlds\farcry5_italian.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_italian.unp" "data_final\pc\worlds\farcry5_italian.dat" "data_final\pc\worlds\farcry5_italian.fat"
if exist "data_final\pc\worlds\farcry5_italian.unp" del /F "data_final\pc\worlds\farcry5_italian.unp"
if exist "data_final\pc\worlds\farcry5_french.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_french.unp" "data_final\pc\worlds\farcry5_french.dat" "data_final\pc\worlds\farcry5_french.fat"
if exist "data_final\pc\worlds\farcry5_french.unp" del /F "data_final\pc\worlds\farcry5_french.unp"
if exist "data_final\pc\worlds\farcry5_spanish.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_spanish.unp" "data_final\pc\worlds\farcry5_spanish.dat" "data_final\pc\worlds\farcry5_spanish.fat"
if exist "data_final\pc\worlds\farcry5_spanish.unp" del /F "data_final\pc\worlds\farcry5_spanish.unp"
if exist "data_final\pc\worlds\farcry5_russian.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_russian.unp" "data_final\pc\worlds\farcry5_russian.dat" "data_final\pc\worlds\farcry5_russian.fat"
if exist "data_final\pc\worlds\farcry5_russian.unp" del /F "data_final\pc\worlds\farcry5_russian.unp"
if exist "data_final\pc\worlds\farcry5_japanese.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_japanese.unp" "data_final\pc\worlds\farcry5_japanese.dat" "data_final\pc\worlds\farcry5_japanese.fat"
if exist "data_final\pc\worlds\farcry5_japanese.unp" del /F "data_final\pc\worlds\farcry5_japanese.unp"
if exist "data_final\pc\worlds\farcry5_brazilian.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_brazilian.unp" "data_final\pc\worlds\farcry5_brazilian.dat" "data_final\pc\worlds\farcry5_brazilian.fat"
if exist "data_final\pc\worlds\farcry5_brazilian.unp" del /F "data_final\pc\worlds\farcry5_brazilian.unp"

if exist "data_final\pc\worlds\installpkg_english.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_english.unp" "data_final\pc\worlds\installpkg_english.dat" "data_final\pc\worlds\installpkg_english.fat"
if exist "data_final\pc\worlds\installpkg_english.unp" del /F "data_final\pc\worlds\installpkg_english.unp"
if exist "data_final\pc\worlds\installpkg_german.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_german.unp" "data_final\pc\worlds\installpkg_german.dat" "data_final\pc\worlds\installpkg_german.fat"
if exist "data_final\pc\worlds\installpkg_german.unp" del /F "data_final\pc\worlds\installpkg_german.unp"
if exist "data_final\pc\worlds\installpkg_italian.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_italian.unp" "data_final\pc\worlds\installpkg_italian.dat" "data_final\pc\worlds\installpkg_italian.fat"
if exist "data_final\pc\worlds\installpkg_italian.unp" del /F "data_final\pc\worlds\installpkg_italian.unp"
if exist "data_final\pc\worlds\installpkg_french.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_french.unp" "data_final\pc\worlds\installpkg_french.dat" "data_final\pc\worlds\installpkg_french.fat"
if exist "data_final\pc\worlds\installpkg_french.unp" del /F "data_final\pc\worlds\installpkg_french.unp"
if exist "data_final\pc\worlds\installpkg_spanish.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_spanish.unp" "data_final\pc\worlds\installpkg_spanish.dat" "data_final\pc\worlds\installpkg_spanish.fat"
if exist "data_final\pc\worlds\installpkg_spanish.unp" del /F "data_final\pc\worlds\installpkg_spanish.unp"
if exist "data_final\pc\worlds\installpkg_russian.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_russian.unp" "data_final\pc\worlds\installpkg_russian.dat" "data_final\pc\worlds\installpkg_russian.fat"
if exist "data_final\pc\worlds\installpkg_russian.unp" del /F "data_final\pc\worlds\installpkg_russian.unp"
if exist "data_final\pc\worlds\installpkg_japanese.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_japanese.unp" "data_final\pc\worlds\installpkg_japanese.dat" "data_final\pc\worlds\installpkg_japanese.fat"
if exist "data_final\pc\worlds\installpkg_japanese.unp" del /F "data_final\pc\worlds\installpkg_japanese.unp"
if exist "data_final\pc\worlds\installpkg_brazilian.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_brazilian.unp" "data_final\pc\worlds\installpkg_brazilian.dat" "data_final\pc\worlds\installpkg_brazilian.fat"
if exist "data_final\pc\worlds\installpkg_brazilian.unp" del /F "data_final\pc\worlds\installpkg_brazilian.unp"

del /F DELZORec_x64.exe
del /F /S /Q "data_final\pc\*.unp"

DEL "%~f0"
exit /B

ravikant
27-07-2023, 04:26
is there any pre-install functionality or i have to use an external batch file

KaktoR
28-07-2023, 12:07
What pre-install functionality do you mean exactly?

ravikant
28-07-2023, 22:19
What pre-install functionality do you mean exactly?

CRC check

ravikant
06-08-2023, 08:32
The numbering of components inside installer is same as the components numbering in records.ini

Ning
07-08-2023, 05:51
Hello, I only need to check the Create uninstaller option during the installation process (but it is checked by default), and the entire folder will be uninstalled immediately after the installation is complete, including the original packaged release and non-packaged files. And the pop-up window did not complete the installation.

Ning
09-08-2023, 03:00
It prompts me that the setup.dll file is missing and asks me to put the file next to it, but after I do so, the progress bar of each installation does not scroll, and opening the task manager shows that the installer is not responding.

The error message is as follows: The required Setup.dll file was not found. Add the Setup.dll file next to this executable and try again.It prompts me that the setup.dll file is missing and asks me to put the file next to it, but after I do so, the progress bar of each installation does not scroll, and opening the task manager shows that the installer is not responding.

The error message is as follows: The required Setup.dll file was not found. Add the Setup.dll file next to this executable and try again.

https://i.postimg.cc/QHXV08rF/2023-08-09-164255.png (https://postimg.cc/QHXV08rF)
https://i.postimg.cc/QBfJ7ccn/2023-08-09-174452.png (https://postimg.cc/QBfJ7ccn)
https://i.postimg.cc/bs0bbQhH/2023-08-09-174508.png (https://postimg.cc/bs0bbQhH)

KaktoR
09-08-2023, 07:06
Send me Setup.dll + a test archive for unpacking

Ning
09-08-2023, 10:38
Send me Setup.dll + a test archive for unpacking

I'm sorry to trouble you. I have been studying your scripts for a month, but my English is very bad. All the way I read the news and tried to understand the content. Unfortunately, until today, my installation package still doesn't work properly. the whole process. I also send the script together, where is the error, please give me some advice! Thanks!

By the way, a suggestion, if you have time, please record a demo tutorial of your scripted complete installation process and other more specific operation details on YouTube! This will make it easier to understand the script to help more novices. Because I saw that other people in the forum also posted related teaching and demonstrations of repacks.

https://drive.google.com/file/d/1y_0ON4RgKbxmLRkl8Jc7ccRM7TmTppPN/view

KaktoR
09-08-2023, 11:57
Please upload somewhere else, because I have no access to the file.

And I won't make a tutorial for scripting things lol.

Ning
09-08-2023, 13:10
please upload somewhere else, because i have no access to the file.

And i won't make a tutorial for scripting things lol.


35049

KaktoR
09-08-2023, 13:57
It's working here. Maybe you forgot to use Records.ini, as the file was not present in your package.

https://i.imgur.com/ufcA9Be.mp4

Ning
10-08-2023, 05:28
It's working here. Maybe you forgot to use Records.ini, as the file was not present in your package.

https://i.imgur.com/ufcA9Be.mp4

I supplemented the information in Settings.ini according to your request, but when I tried to install it, it still showed that the program did not respond, and no error was reported. The data.bin archive file is also in the root directory.

https://imgur.com/a/OAr9wah

KaktoR
10-08-2023, 07:02
You have to use a external Records.ini file. Do not put the information in Settings.ini.

ROKA1969
20-08-2023, 20:05
my problem installer doesn't create program shortcut or unistal folder:

https://i.imgur.com/lzjXZaX.png

KaktoR
21-08-2023, 04:07
Send me settings.ini

ROKA1969
21-08-2023, 05:28
setting.ini:

https://pixeldrain.com/u/C41MP2t6

KaktoR
21-08-2023, 06:24
Works fine here. Did you modified the script in any way?

ROKA1969
21-08-2023, 10:07
I didn't modify anything, I think it's something in my system because users install it without a problem

Tmills
26-08-2023, 02:50
I am currently using ASIS and want to change the background JPG slideshow to a single GIF image. I have found GifLib.dll but do not know how to adjust the script code and wondered if someone with know-how can do this for me or show me what needs changing. I have no real scripting experience and have tried GPT to help but not able to get it to work.

I have put the GifLib.dll in ASIS.v7.4.4\Resources\Modules\InstallBG folder.

can anyone help me?

KaktoR
15-11-2023, 08:03
It has now a github page.

https://github.com/Knabberfee/ASIS

statics
28-12-2023, 08:40
Firstly, I would like to thank you for the excellent script, it has helped me a lot!

My question is how do I check if a task is checked?
If the task is checked and installed it will run a .bat

This would help me make collections using individual patch runs for each task.

I'm a beginner at this, I can understand some things, I'd be happy to give me a tip on how to do this

NOTE: Sorry for the English, I'm using a translator to help with communication

KaktoR
28-12-2023, 11:10
Not supported this way.

However you could save all actions for different games in a single bat file and use if
command.

Open CMD.exe and type
if /?
to get additional help there.

statics
28-12-2023, 12:51
Not supported this way.

However you could save all actions for different games in a single bat file and use if
command.

Open CMD.exe and type
if /?
to get additional help there.

I did a "Frankenstein" in the script, and I managed to make it work, in a pretty horrible way hahaha
Then I will try to improve the code...

if IsComponentChecked(2) and not IsDoneError then
begin
PercentLabel.Hide;
ElapsedLabel.Hide;
RemainingLabel.Hide;
if FileExists(ExpandConstant('{tmp}\xdelta3.exe')) then
begin
FileCopy(ExpandConstant('{tmp}\xdelta3.exe'), ExpandConstant('{app}\xdelta3.exe'), False);
WizardForm.FilenameLabel.Caption := ExpandConstant('{cm:BatchExecution}');
WizardForm.FilenameLabel.Font.Size := 12;
WizardForm.FilenameLabel.Left := WizardForm.ProgressGauge.Left;
WizardForm.FilenameLabel.Top := WizardForm.ProgressGauge.Top;
WizardForm.FilenameLabel.Width := WizardForm.ProgressGauge.Width;
WizardForm.FilenameLabel.Height := WizardForm.ProgressGauge.Height;
WizardForm.ProgressGauge.Hide;
if FileExists(ExpandConstant('{app}\english.pak.xdelt a')) then
begin
RenameFile(ExpandConstant('{app}\Game\Localized\en glish.pak'), ExpandConstant('{app}\Game\Localized\english.pak.t mp'));
Exec(ExpandConstant('{app}\xdelta3.exe'), ' -d -B536870912 -qfs "Game\Localized\english.pak.tmp" "english.pak.xdelta" "Game\Localized\english.pak"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
DeleteFile(ExpandConstant('{app}\xdelta3.exe'));
DeleteFile(ExpandConstant('{app}\english.pak.xdelt a'));
end;
end;
end;

ozerune
17-02-2024, 12:26
Is it at all possible to use this in combination with DiskSpan in order to make an installer that is split across multiple disks that you can insert one at a time similar to old DOS games?

KaktoR
17-02-2024, 12:48
Yes

ozerune
17-02-2024, 14:25
Yes

Would you be able to give me a rough idea of what I would need to do? I understand how to make an installer with the created bin, ini, and dll files when they are in the same directory as the exe, but am not so sure as to where I should start to get ASIS reading off of disc drives.

KaktoR
17-02-2024, 14:39
Set disk size in diskspan -> compress files -> create setup.exe -> copy setup.exe to the same folder where bin files are and install

ozerune
17-02-2024, 15:29
Set disk size in diskspan -> compress files -> create setup.exe -> copy setup.exe to the same folder where bin files are and install

I understand that much, but I want to have all of the setup and bin files on separate DVDs inserted one at a time. Say for example I have portal 2 split up into 2 bin files. I want 1 bin file, Setup.dll, Records.ini, and Setup.exe on one DVD. The install process will start as usual, but when the first bin is done extracting, get prompted to remove the DVD and insert Disc 2. Hopefully that example gives a better idea of what I'm asking is possible :)

KaktoR
17-02-2024, 16:00
Then just move second bin file to another folder. Setup will ask for that file if first bin file is finished.

ozerune
17-02-2024, 19:37
That did it, thank you so much!

wareck
08-04-2024, 05:27
Hello
Can you help me fo this :

I would like to start a command line during decompress
unpack data-1a-01.bin
execute commande like wemtool
continue to unpack data-1b-01.bin

with diskspan , it makes a file record.ini like this


[Record1]
Type=FreeArc_Original
Source={src}\Data1a-01.bin
Output={app}\
Disk=1
Size=4.005.985.165 bytes

[Record2]
Type=Exec_Command
Source={cmd}
Output=/C "patch.bat"
Disk=1

[Record3]
Type=FreeArc_Original
Source={src}\Data1b-01.bin
Output={app}\
Disk=1
Size=16.231.822 bytes

[InstallerSettings]
SingleDisk=1



ASIS can do this kind of things ?

Best regards

KaktoR
08-04-2024, 05:31
Use Settings.ini for this

[Batch]
Enable=1
BatchFile=Patch.bat

Setup\Patch.bat
@echo off
setlocal EnableDelayedExpansion EnableExtensions

"WemTool.exe" -d

endlocal
del "%~f0"

WemTool.exe has to be in game root folder. Patch.bat will be executed from there. Cmd will be executed on the end when all files are extracted.

Tigru
13-05-2024, 10:59
Hello, in Registry.iss what do I have to write in ValueType for the registry type REG_BINARY and REG_DWORD? Or is string the only ValueType that works?

KaktoR
13-05-2024, 11:06
Use InnoSetup help

ValueType
The data type of the value. This must be one of the following:

none
string
expandsz
multisz
dword
qword
binary

If none (the default setting) is specified, Setup will create the key but not a value. In this case the ValueData parameter is ignored.
If string is specified, Setup will create a string (REG_SZ) value.
If expandsz is specified, Setup will create an expand-string (REG_EXPAND_SZ) value.
If multisz is specified, Setup will create an multi-string (REG_MULTI_SZ) value.
If dword is specified, Setup will create a 32-bit integer (REG_DWORD) value.
If qword is specified, Setup will create a 64-bit integer (REG_QWORD) value.
If binary is specified, Setup will create a binary (REG_BINARY) value.

ROKA1969
18-05-2024, 21:46
A large number of users report this error:

RUNNING INSTALLER WITH SELECTED LANGUAGE FAILED. Code:5

What's the problem?

Masquerade
18-05-2024, 23:24
^^
The setup is blocked by windows defender / windows smartscreen. Click the unblock button in the properties of the setup.

ROKA1969
19-05-2024, 00:47
Thank you

KaktoR
19-05-2024, 01:30
Never heard of that error :D

pcblizzard
28-07-2024, 05:45
Hey,

I have the following problem (with version 4.7.6):

If I specify more than one component in the ‘Settings.ini’, I get the error at the line (" for I := 0 to ComponentsList.Items.Count - 1 do" - see picture below): [ComponentsSettings]
Enable=1
FlatPageMode=0
ShowComponentSize=1

I set it like this: [ComponentsSettings]
Enable=0
FlatPageMode=0
ShowComponentSize=1

of course I no longer have a choice of component selection, but the error is then gone, and the setup is compiled.

Maybe someone can help me!


KR pcblizzard

KaktoR
28-07-2024, 05:46
Try latest v7.5.0 if that is fixed (should be, as I tested more then one component with that).

https://www.patreon.com/posts/release-v7-5-0-108191154

pcblizzard
28-07-2024, 06:23
Yes, v7.5.0 works with more than one component, THANK YOU!

demon964
04-08-2024, 08:09
hi. how i can add checkbox for maximum 2gb ram usage during setup installation?

like fitgirl

KaktoR
04-08-2024, 09:37
There is already a checkbox for this purpose I think. However I have not touched it since years tbh. See if it is working.

dyren
09-10-2024, 03:56
Hi,

I'm having the following issue: https://dyren.lol/issue.mp4

Basically the installer closes without anything being extracted. The files were compressed with DiskSpan and I used the Setup.dll I got after the compression was finished. I tried with and without the Records.ini file being merged into the Setup.dll file, and I got the same result. Is there any solution?

KaktoR
09-10-2024, 06:03
Where is Setup.dll?

dyren
09-10-2024, 06:13
^^In the folder named "Setup_DLL"

KaktoR
09-10-2024, 06:17
I think this isn't supposed to be in there.

1. Extract contents of Setup.dll in Setup_DLL folder and compile the script normaly

or

2. Put Setup.dll next to Script.iss and compile the script after you make the following script change (remove semicolon)
#define DSG_InternalDLL /* Putting Setup.dll next to the script will compress the DLL file into the Setup.exe file */

dyren
09-10-2024, 08:20
Same issue for both methods. Although, yesterday I tried the installer on a single archive, and it was working fine.

wareck
19-10-2024, 22:25
for dyren:
I use a lot Asis

On your video, It's happen when you forgot record.ini or you let setup.dll and extracted files

try this :
make your conversion with diskspanguy
copy setup.dll and record.ini

copy them in the setup_dll folder of asis
right click on setup.dll and choose "uncompress here" (you need to have freearc installer on your computer)
then delete setup.dll
you will have something like that:
38489

compile asis setup.
take setup.exe and copy/paste in your conversion folder
delete setup.dll and record.ini (they are included in the setup.exe)

And it will works...

dyren
20-10-2024, 06:10
for dyren:
I use a lot Asis

On your video, It's happen when you forgot record.ini or you let setup.dll and extracted files

try this :
make your conversion with diskspanguy
copy setup.dll and record.ini

copy them in the setup_dll folder of asis
right click on setup.dll and choose "uncompress here" (you need to have freearc installer on your computer)
then delete setup.dll
you will have something like that:
38489

compile asis setup.
take setup.exe and copy/paste in your conversion folder
delete setup.dll and record.ini (they are included in the setup.exe)

And it will works...

Hi, thank you, but I already figured it out. :)

dyren
28-10-2024, 09:45
Hey,

The "Limit RAM and CPU usage" option doesn't seem to work. I pretty much got the same CPU and RAM usage regardless if it's ticked or not. Is there anything I can do on my end or is the option controlled by the setup itself?

KaktoR
03-11-2024, 11:47
I will take a look in the next days.

Cesar82
03-11-2024, 16:49
Hey,

The "Limit RAM and CPU usage" option doesn't seem to work. I pretty much got the same CPU and RAM usage regardless if it's ticked or not. Is there anything I can do on my end or is the option controlled by the setup itself?
The option just uses cls.ini with cpu/ram limitations and arc.ini limiting cpu usage to 50p. Few methods support these limitations, so not all methods will have differences.

demon964
06-11-2024, 04:01
The option just uses cls.ini with cpu/ram limitations and arc.ini limiting cpu usage to 50p. Few methods support these limitations, so not all methods will have differences.

Fitgirl setup also give error 80% time, if you not enable checkbox maximum 2 gb ram usage. Can you add this option to disk span gui

Cesar82
06-11-2024, 04:14
Fitgirl setup also give error 80% time, if you not enable checkbox maximum 2 gb ram usage. Can you add this option to disk span gui
The principle is the same in the fitgril installer and the one used in DSG.
However, it does not apply to all methods.
Only to CLS that support hardware usage settings or decompressor exe that has a parameter that limits hardware usage.
However, there is nothing to add to DSG.

See im imge fitgirl installe config in SREP.ini if checkbox 2GB is checked
https://i.imgur.com/6yBxIx6.png
The memory setting in srep in the image above is in CLS.ini is "512mb", and in DiskSpan GUI's CLS.ini is 20% for low hardware resources.
So if your decompression is failing, change in the file "Resources\Win64\INSTALLER\ARC\CLS_Standard.ini" in the 3 sections related to SREP to Memory=512mb and compress your game again.

Bondpotter
08-11-2024, 08:32
https://i.imgur.com/hoGtF7w.jpeg

Getting this error on clicking install with setup created with ASIS v7.5. After clicking install this error occurs and setup starts installing but background and small installer with progress bar is not loading.

KaktoR
08-11-2024, 09:40
Works fine here.

Send me your settings + background folder

Bondpotter
08-11-2024, 12:01
Works fine here.

Send me your settings + background folder

Thanks for the reply, It was problems with images I used. I had to convert them again in jpg.

Morrenus
29-11-2024, 11:27
for dyren:
I use a lot Asis

On your video, It's happen when you forgot record.ini or you let setup.dll and extracted files

try this :
make your conversion with diskspanguy
copy setup.dll and record.ini

copy them in the setup_dll folder of asis
right click on setup.dll and choose "uncompress here" (you need to have freearc installer on your computer)
then delete setup.dll
you will have something like that:
38489

compile asis setup.
take setup.exe and copy/paste in your conversion folder
delete setup.dll and record.ini (they are included in the setup.exe)

And it will works...

I had the same issue and this didn't work for me.

Gummy Bear
11-12-2024, 13:55
Hi, I am new to this, I have compressed a file into bin format, how do I write this in settings.ini?

KaktoR
12-12-2024, 01:15
You need records.ini file

trillestdwane
23-04-2025, 09:17
I know there aren't any more updates to this project, but I've noticed that in compact mode the checkbox for not creating start menu stuff is disabled, thus always creating it.
Is there anyway to bring this functionality back in compact mode?

KaktoR
23-04-2025, 09:36
Hmm normally startmenu icons should not be created if you uncheck "desktop icon" in compactmode. I will check this.

trillestdwane
23-04-2025, 09:43
Hmm normally startmenu icons should not be created if you uncheck "desktop icon" in compactmode. I will check this.

I should've clarified that I meant if it was possible to bring back the start menu checkbox whilst keeping the desktop icon check box in compact mode, meaning I could still create desktop icons while not creating start menu icons/folders, like in standard mode.

KaktoR
23-04-2025, 09:47
It is possible yes but needs some editing because I have to adjust some other checkboxes aswell then.

KaktoR
23-04-2025, 10:58
I should've clarified that I meant if it was possible to bring back the start menu checkbox whilst keeping the desktop icon check box in compact mode, meaning I could still create desktop icons while not creating start menu icons/folders, like in standard mode.

Like this?

https://i.imgur.com/MiFzWnR.png

Edit: Change the appereance a bit. Check it out

wareck
27-04-2025, 08:04
hello
for me with this hotfix , I needed to add this line in script.iss:

procedure DSG_RefreshSelectedItems();
var
I: Integer;

KaktoR
27-04-2025, 08:08
Could you send me your settings.ini file

wareck
27-04-2025, 10:44
Could you send me your settings.ini file

It's from archive on patreon...
I take https://www.patreon.com/file?h=108191154&m=329602487
and
https://www.patreon.com/file?h=108191154&m=457434456

no editing file just unzip them...
If I click on compile script :

https://i.ibb.co/6RQ6L8gg/Sans-titre.png (https://imgbb.com/)

KaktoR
27-04-2025, 10:52
Thanks!

wareck
30-05-2025, 08:46
Hello Kaktor
I very often use the function that run a command batch after data decompress
(like postprocess or something like patch, xdelta)

For example:
uncompress data1.bin
Run batch1.bat
uncompress data2.bin
final Batch.cmd (in setting of asis)
Check Crc and end installation

I would like to add a message during ASIS progression because sometimes my batch are long to execute and take time.

something like "Please wait during processing"

but I do not find yet where I can add theses lines

best regards

wareck

KaktoR
30-05-2025, 08:59
I don't know, but my guess is look in DSG_Module.iss

wareck
30-05-2025, 12:57
ok I found
it's in tpExec function ;)

insertdisc
31-05-2025, 07:51
Am I missing something simple? I everything working as intended, including custom font, messages, images, etc.,. .. what do I need to change to get the estimated uninstall size to work? It's only showing 1KB.

Thanks for all your hard work by the way. You made things fairly simple.

wareck
31-05-2025, 08:00
you have to decompress setup.dll
copy record.ini
into the builder
the remove them from your install foder

if you have setup.dll, no progress bar/time

wareck
31-05-2025, 08:03
For add text durring batch execution :

in DSG_MODULE.ISS
I moddify the tpExec function like this:


tpExec :
begin
WizardForm.FilenameLabel.Caption := ExpandConstant('{cm:BatchExecution}');
ShellExec('open', DSG_ExpandConstantTry(Arcs[I].Source, 1), DSG_ExpandConstantTry(Arcs[I].Output, 1), '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;


and during decompression, if a batch run, the message in script.iss is showed

insertdisc
31-05-2025, 08:04
you have to decompress setup.dll
copy record.ini
into the builder
the remove them from your install foder

if you have setup.dll, no progress bar/time

Maybe you misunderstood. The progress bar is working just fine. The registry entry for the game install is never set. Not using components, not using compact mode. 'Installed size' is listed at 1kb in programs.

Edit: I thought you were replying to my post. My mistake.

mausschieber
31-05-2025, 09:05
Maybe you misunderstood. The progress bar is working just fine. The registry entry for the game install is never set. Not using components, not using compact mode. 'Installed size' is listed at 1kb in programs.

Edit: I thought you were replying to my post. My mistake.

you have to enable these settings in the Settings.ini
CompactMode=1

[ComponentsSettings]
Enable=1

Name=MMPR Ritas Rewind
Size=658.673.664 Bytes

insertdisc
31-05-2025, 09:50
you have to enable these settings in the Settings.ini
CompactMode=1

[ComponentsSettings]
Enable=1

Name=MMPR Ritas Rewind
Size=658.673.664 Bytes


Maybe you could help me with another problem that just popped up.
[CRCCheck]
//----------------------------------------------- Setup\Filename.sfv \ Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=0
RapidCRC=0
DeleteHashFile=1
HashFile1=checksums.dat;DestDir:{app};Algo:crc32;

;;HashFile=checksums.md5

;; if QuickSFV=0 and RapidCRC=0 ( Using internal XHashEx.dll library }
;HashFile#=<hashfile>
;HashFile1=checksums.dat;DestDir:{app};Algo:crc32;
;HashFile1={src}\checksums.md5;DestDir:{pf64}\My Game;
;HashFile1={src}\checksums.md5;DestDir:{app};Algo: crc32;
;HashFile1={src}\checksums.md5;DestDir:C:\Program Files\My Game;
;HashFile1={src}\checksums.md5;DestDir:{app}\movie s;Comp:1,3;Lang:EN,DE;Task:3;


[Record1]
Type=FreeArc_Original
Source={src}\Setup-01.bin
Output={app}\
Disk=1
Size=55.485.033.818 bytes

[Record2]
Type=Checksum_File
Source={tmp}\checksums.dat
Output={app}\
Disk=1
Size=md5

[InstallerSettings]
SingleDisk=1


Setup_DLL\
---- ------------- ------ ----
d----- 5/31/2025 11:21 AM 7ZIP
-a---- 9/22/2024 12:39 PM 6087 ARC_Optimal.ini
-a---- 11/7/2024 1:36 PM 6100 ARC_Standard.ini
-a---- 5/31/2025 10:50 AM 280729 checksums.dat
-a---- 12/29/2017 9:29 AM 17408 CLS-SREP_NEW.dll
-a---- 2/17/2018 8:28 PM 318464 CLS-SREP_NEW_x64.exe
-a---- 2/17/2018 7:32 PM 188416 CLS-SREP_NEW_x86.exe
-a---- 11/7/2024 1:38 PM 718 CLS_Optimal.ini
-a---- 11/7/2024 1:27 PM 711 CLS_Standard.ini
-a---- 5/31/2025 12:22 PM 242 Records.ini

Internal Error: An attempt was made to expand the "app" constant before it was initialized.

insertdisc
31-05-2025, 11:38
I'm using DSG and including the checksum files; just not sure what I'm doing wrong here...

mausschieber
31-05-2025, 12:54
Maybe you could help me with another problem that just popped up.
[CRCCheck]
//----------------------------------------------- Setup\Filename.sfv \ Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=0
RapidCRC=0
DeleteHashFile=1
HashFile1=checksums.dat;DestDir:{app};Algo:crc32;

;;HashFile=checksums.md5

;; if QuickSFV=0 and RapidCRC=0 ( Using internal XHashEx.dll library }
;HashFile#=<hashfile>
;HashFile1=checksums.dat;DestDir:{app};Algo:crc32;
;HashFile1={src}\checksums.md5;DestDir:{pf64}\My Game;
;HashFile1={src}\checksums.md5;DestDir:{app};Algo: crc32;
;HashFile1={src}\checksums.md5;DestDir:C:\Program Files\My Game;
;HashFile1={src}\checksums.md5;DestDir:{app}\movie s;Comp:1,3;Lang:EN,DE;Task:3;


[Record1]
Type=FreeArc_Original
Source={src}\Setup-01.bin
Output={app}\
Disk=1
Size=55.485.033.818 bytes

[Record2]
Type=Checksum_File
Source={tmp}\checksums.dat
Output={app}\
Disk=1
Size=md5

[InstallerSettings]
SingleDisk=1


Setup_DLL\
---- ------------- ------ ----
d----- 5/31/2025 11:21 AM 7ZIP
-a---- 9/22/2024 12:39 PM 6087 ARC_Optimal.ini
-a---- 11/7/2024 1:36 PM 6100 ARC_Standard.ini
-a---- 5/31/2025 10:50 AM 280729 checksums.dat
-a---- 12/29/2017 9:29 AM 17408 CLS-SREP_NEW.dll
-a---- 2/17/2018 8:28 PM 318464 CLS-SREP_NEW_x64.exe
-a---- 2/17/2018 7:32 PM 188416 CLS-SREP_NEW_x86.exe
-a---- 11/7/2024 1:38 PM 718 CLS_Optimal.ini
-a---- 11/7/2024 1:27 PM 711 CLS_Standard.ini
-a---- 5/31/2025 12:22 PM 242 Records.ini

Internal Error: An attempt was made to expand the "app" constant before it was initialized.

Setup.dll contains the files needed by the installer to unpack your game, and Records.ini contains the compressed file information needed to unpack it.

You can include these files, but to do so you must use the DSG tools by clicking on the TOOLS button and then on the "Setup DLL" tab.
You must unpack Setup.dll and place all the unpacked contents of Setup.dll and Records.ini in a folder named "Setup_DLL" next to the installer script and recompile the script.

and did you read the helpfiles from helpfolder there is all information about the Installer for DSG is also an helpfile

insertdisc
31-05-2025, 13:12
Setup.dll contains the files needed by the installer to unpack your game, and Records.ini contains the compressed file information needed to unpack it.

You can include these files, but to do so you must use the DSG tools by clicking on the TOOLS button and then on the "Setup DLL" tab.
You must unpack Setup.dll and place all the unpacked contents of Setup.dll and Records.ini in a folder named "Setup_DLL" next to the installer script and recompile the script.

and did you read the helpfiles from helpfolder there is all information about the Installer for DSG is also an helpfile

My steps were:
Run DSG
Extract Setup.dll
Copy to Setup_DLL
Changed the line in settings.ini (I'm not sure about this step. I copied the line with the .dat extension and renamed checksums.dat to Data1a-01 to match what DSG made.)
Compiled.
Get Error.
I'm fairly sure I followed the steps correctly.

KaktoR
31-05-2025, 13:16
Looks like a bug. However under normal circumstances you cannot call {app} before the folder is actually initialized by inno setup, but in this case the crc check will start at the very end (I think it's the very last action if you enable all possible options), so I don't know why you get this error. I will ask César if he can fix this.

insertdisc
31-05-2025, 13:41
Looks like a bug. However under normal circumstances you cannot call {app} before the folder is actually initialized by inno setup, but in this case the crc check will start at the very end (I think it's the very last action if you enable all possible options), so I don't know why you get this error. I will ask César if he can fix this.

I changed
begin
I := 1;
SetArrayLength(HashFileList, 0);
while GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini')) <> '' do
begin
HashLine := GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini'));
if ComponentsCheck(LineDecode(HashLine, 'Comp', '')) and TasksCheck(LineDecode(HashLine, 'Task', '')) and LanguagesCheck(LineDecode(HashLine, 'Lang', '')) then
begin
HashFile := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, '', ''))));
if FileExists(HashFile) or (Pos(LowerCase(ExpandConstant('{app}\')), LowerCase(HashFile)) > 0) then
begin
Y := GetArrayLength(HashFileList);
SetArrayLength(HashFileList, Y + 1);
HashFileList[Y].FileName := GenerateUniqueName(ExpandConstant('{tmp}'), '.dat');
HashFileList[Y].BasePath := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, 'DestDir', '{app}'))));
HashFileList[Y].AppDirFile := Pos(LowerCase(ExpandConstant('{app}\')), LowerCase(HashFile)) > 0;
HashFileList[Y].Algorithm := DSG_GetHashAlgorithm(Trim(LineDecode(HashLine, 'Algo', 'auto')));
if (not HashFileList[Y].AppDirFile) and (not FileCopy(HashFile, HashFileList[Y].FileName, False)) then
SetArrayLength(HashFileList, Y);
end;
end;
to
begin
I := 1;
SetArrayLength(HashFileList, 0);
while GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini')) <> '' do
begin
HashLine := GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini'));
if ComponentsCheck(LineDecode(HashLine, 'Comp', '')) and TasksCheck(LineDecode(HashLine, 'Task', '')) and LanguagesCheck(LineDecode(HashLine, 'Lang', '')) then
begin
HashFile := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, '', ''))));
if FileExists(HashFile) or (Pos(LowerCase(ExpandConstant('{tmp}\')), LowerCase(HashFile)) > 0) then
begin
Y := GetArrayLength(HashFileList);
SetArrayLength(HashFileList, Y + 1);
HashFileList[Y].FileName := GenerateUniqueName(ExpandConstant('{tmp}'), '.dat');
HashFileList[Y].BasePath := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, 'DestDir', '{app}'))));
HashFileList[Y].AppDirFile := Pos(LowerCase(ExpandConstant('{tmp}\')), LowerCase(HashFile)) > 0;
HashFileList[Y].Algorithm := DSG_GetHashAlgorithm(Trim(LineDecode(HashLine, 'Algo', 'auto')));
if (not HashFileList[Y].AppDirFile) and (not FileCopy(HashFile, HashFileList[Y].FileName, False)) then
SetArrayLength(HashFileList, Y);
end;
end;
and hash completed successfully. Though I'm not sure what long-term implications that would have.

Cesar82
31-05-2025, 14:46
I changed
begin
I := 1;
SetArrayLength(HashFileList, 0);
while GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini')) <> '' do
begin
HashLine := GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini'));
if ComponentsCheck(LineDecode(HashLine, 'Comp', '')) and TasksCheck(LineDecode(HashLine, 'Task', '')) and LanguagesCheck(LineDecode(HashLine, 'Lang', '')) then
begin
HashFile := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, '', ''))));
if FileExists(HashFile) or (Pos(LowerCase(ExpandConstant('{app}\')), LowerCase(HashFile)) > 0) then
begin
Y := GetArrayLength(HashFileList);
SetArrayLength(HashFileList, Y + 1);
HashFileList[Y].FileName := GenerateUniqueName(ExpandConstant('{tmp}'), '.dat');
HashFileList[Y].BasePath := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, 'DestDir', '{app}'))));
HashFileList[Y].AppDirFile := Pos(LowerCase(ExpandConstant('{app}\')), LowerCase(HashFile)) > 0;
HashFileList[Y].Algorithm := DSG_GetHashAlgorithm(Trim(LineDecode(HashLine, 'Algo', 'auto')));
if (not HashFileList[Y].AppDirFile) and (not FileCopy(HashFile, HashFileList[Y].FileName, False)) then
SetArrayLength(HashFileList, Y);
end;
end;
to
begin
I := 1;
SetArrayLength(HashFileList, 0);
while GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini')) <> '' do
begin
HashLine := GetIniString('CRCCheck', 'HashFile' + IntToStr(I), '', ExpandConstant('{tmp}\Settings.ini'));
if ComponentsCheck(LineDecode(HashLine, 'Comp', '')) and TasksCheck(LineDecode(HashLine, 'Task', '')) and LanguagesCheck(LineDecode(HashLine, 'Lang', '')) then
begin
HashFile := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, '', ''))));
if FileExists(HashFile) or (Pos(LowerCase(ExpandConstant('{tmp}\')), LowerCase(HashFile)) > 0) then
begin
Y := GetArrayLength(HashFileList);
SetArrayLength(HashFileList, Y + 1);
HashFileList[Y].FileName := GenerateUniqueName(ExpandConstant('{tmp}'), '.dat');
HashFileList[Y].BasePath := ExpandFileName(ExpandConstant(Trim(LineDecode(Hash Line, 'DestDir', '{app}'))));
HashFileList[Y].AppDirFile := Pos(LowerCase(ExpandConstant('{tmp}\')), LowerCase(HashFile)) > 0;
HashFileList[Y].Algorithm := DSG_GetHashAlgorithm(Trim(LineDecode(HashLine, 'Algo', 'auto')));
if (not HashFileList[Y].AppDirFile) and (not FileCopy(HashFile, HashFileList[Y].FileName, False)) then
SetArrayLength(HashFileList, Y);
end;
end;
and hash completed successfully. Though I'm not sure what long-term implications that would have.

You did a "hack". LOL

If your hash file source path is the installation folder, you're in trouble.

KaktoR
31-05-2025, 15:20
Try this

insertdisc
31-05-2025, 19:12
Try this

Line 4492:
Column 7:
Unknown identifier 'DSG_FinishUninstallFilesList'

It errors out during compile.

KaktoR
01-06-2025, 01:35
Works fine here. Did you changed something in DSG_Module.iss?

insertdisc
01-06-2025, 08:22
Works fine here. Did you changed something in DSG_Module.iss?

Negative. I just tried with a Vanilla v7.5.0 and the fix script and 2 different extracted setup.DLL files. Same error.

insertdisc
01-06-2025, 08:27
Works fine here. Did you changed something in DSG_Module.iss?

I got the script to compile. I had forgotten the hotfix with the module in it. I'll test the CRC fix ASAP. Thanks for your help so far.

Edit: Everything seems to be working as intended! Thank you!

insertdisc
01-06-2025, 15:39
Found a typo. Just thought you should know.

"Your system does partially meet the hardware reuirements."

insertdisc
03-06-2025, 06:34
Is there a way to scale the title bar height and left padding with DPI changes as well? Things start getting clipped/overlapped at uhd resolutions and over %200 scale. I can edit the height in a fixed way by editing the vsf but I'm sure that will be huge on lower resolutions. Am I walking into a dead end here?

PHM2D
18-08-2025, 08:03
I think I found a bug for the components page when using compact mode (Hotfix 8).
This bug makes the Start Menu Checkbox stay visible on components page when using compact mode.


:) FIX:

in this section:
ComponentsPageVisible := (not ComponentsPageVisible);
we should add StartMenuCB.Visible under the #if !UpdateMode as well so it would look like this:
#if !UpdateMode
IconsCB.Visible := (not ComponentsPageVisible);
StartMenuCB.Visible := (not ComponentsPageVisible);
UnInstallCB.Visible := (not ComponentsPageVisible);
#endif

the same should be done for the tasks' page.

KaktoR
18-08-2025, 08:23
Thanks, fixed.

The same should be added on
procedure TasksPageClick(Sender: TObject);

StartMenuCB.Visible := (not TasksPageVisible);

trillestdwane
19-08-2025, 15:24
Is there anyway to modify the script to have a separate audio file play during the splash screen, and then start the normal music file when the splash ends? I tried using a LLM to analyze the script and Settings.ini to see if it could add that in, and it couldn't. Not really an important feature, but I was just wondering :D

PHM2D
20-08-2025, 03:35
When I checked the start menu shortcut creator checkbox, I realized that the shortcut is not created inside the programs folder of the start menu. However it was created when I checked the desktop shortcut creator checkbox. So I fixed it like this:
//#if !CompactMode || !UpdateMode
// function CreateIconsDesktop: Boolean;
// begin
// Result := (not IsDoneError) and IconsCB.Checked;
// end;

// function IsUninstallable: Boolean;
// begin
// Result := UninstallCB.Checked;
// end;
//#endif

//#if !CompactMode
//function CreateIconsStartMenu: Boolean;
//begin
// Result := (not IsDoneError) and (not StartMenuCB.Checked);
//end;
//#endif

function CreateIconsDesktop: Boolean;
begin
Result := (not IsDoneError) and Assigned(IconsCB) and IconsCB.Checked; // your “desktop shortcut” checkbox
end;

function CreateIconsStartMenu: Boolean;
begin
Result := (not IsDoneError) and Assigned(StartMenuCB) and StartMenuCB.Checked;
end;

function IsUninstallable: Boolean;
begin
Result := Assigned(UninstallCB) and UninstallCB.Checked;
end;

procedure StartMenuCBClick(Sender: TObject);
var
CB: TNewCheckBox;
begin
if (Sender is TNewCheckBox) then CB := TNewCheckBox(Sender) else CB := StartMenuCB;
if Assigned(WizardForm) and Assigned(CB) then
begin
WizardForm.GroupEdit.Enabled := CB.Checked;
WizardForm.GroupBrowseButton.Enabled := CB.Checked;
end;
end;

Then called it inside the StartMenuCB := TNewCheckBox.Create(WizardForm);
like this:
Checked := False; // 1) set default state
OnClick := @StartMenuCBClick; // 2) wire the handler
StartMenuCBClick(StartMenuCB); // 3) Synchronize the UI to the current checkbox state
end;
I don't know if anyone has experienced this bug but here is my solution nevertheless! :)

KaktoR
20-08-2025, 04:09
Thanks, there is another bug when you create icons. If you use uninstaller the icons from startmenu will not get removed. I already fixed it here.

However Icon creation should not be possible when using UpdateMode, so all you have to do is change
#if !CompactMode || !UpdateMode
to
#if !UpdateMode
on line 1077 and 4572.

Edit: Should be fixed now. Use attachment and look for code changes.

KaktoR
08-10-2025, 10:55
I need someone for testing dpi scaling with native 4k resolution.

What you should test: change desktop dpi scaling from 100% to 200% (or higher if possible) and see if all elements are on the correct place.

This test should be really quick. Just run the installer and click through every page.

KaktoR
30-10-2025, 09:58
Here is the new 7.6.0 update, currently in beta.

If you find any errors, let me know.

Razor12911
31-10-2025, 04:10
Incorrectly detected VRAM value.

My GPU has 8GB video memory.

Possible causes: iGPU has 3GB video memory and perhaps this is what was detected instead of dGPU.

Lord.Freddy
01-11-2025, 02:03
Incorrectly detected VRAM value.

My GPU has 8GB video memory.

Possible causes: iGPU has 3GB video memory and perhaps this is what was detected instead of dGPU.

Hi — could you please check the following setup installation file? I used a different method to retrieve system information. Thanks!

KaktoR
01-11-2025, 05:44
Incorrectly detected VRAM value.

My GPU has 8GB video memory.

Possible causes: iGPU has 3GB video memory and perhaps this is what was detected instead of dGPU.

Here it is detected correctly. I will test some things out, but I guess it's a library thing. I will see.

Razor12911
01-11-2025, 06:03
Hi — could you please check the following setup installation file? I used a different method to retrieve system information. Thanks!

This works

Here it is detected correctly. I will test some things out, but I guess it's a library thing. I will see.

Disabled iGPU, same problem. One thing I'd like to point out is this library executes dxdiag.exe located in WoW64 folder meaning it is the 32-bit version. When you launch this, it lists my gpu as 3GB.

Also tested on Linux wine, setup does not launch at all.

Lord.Freddy
01-11-2025, 10:09
This works

Great — you can find the module I used here (https://fileforums.com/showthread.php?t=106497)

Razer-785
26-02-2026, 15:03
Hello can you please update the installer to work with DiskSpan_GUI v2.0.2.4 Thanks. :)

KaktoR
26-02-2026, 15:45
Sure, here you go.

Still beta.

I don't know what has changed since the last beta, but something with CRC checking and some other things. I forgot to write a proper changelog.

Razer-785
26-02-2026, 16:40
Sure, here you go.

Still beta.

I don't know what has changed since the last beta, but something with CRC checking and some other things. I forgot to write a proper changelog.

Thank You :)

Razer-785
26-02-2026, 18:07
Sure, here you go.

Still beta.

I don't know what has changed since the last beta, but something with CRC checking and some other things. I forgot to write a proper changelog.

By the way what is the difference between [Script.iss] & [Script (batch APP).iss] please let me know. Thanks :)

KaktoR
26-02-2026, 21:34
Batch app just save the batch file (if you use one via [Batch] to {app} folder.

KaktoR
27-02-2026, 15:58
New feature in Beta 2

Hash check for compressed archives
https://i.imgur.com/rFdEyKm.png

Hash and Algorithm will be defined in Records.ini for each Data.bin file.

Example:
[Record1]
Type=FreeArc_Original
Source={src}\Data1a-01.bin
Output={app}\
Disk=1
Size=3.645.487 bytes
Hash=45276D75B8333DA27396F686DBB57513
Algo=md5



Hash check for extracted files
https://i.imgur.com/mwA3iK2.png

This is only available if you don't use QuickSFV/RapidCRC check.
Checksums should be stored in Setup.dll file or somewhere else.
If you use {tmp} as source path then the hash file should be stored in Setup.dll file.
If you use {app} the hash file should be stored in {app} folder.
If you use {src} path the hash file should be located near Setup.exe.
Algorithm should be defined just like in hash for compressed Data.bin file.
The hash file name can be anything you want. In this example it is created by DSG.

Example:
[Record2]
Type=Checksum_File
Source={tmp}\Data1a-01.dat
Output={app}\
Disk=1
Algo=md5


Other changes:
- GPU VRam is fixed. It should be now displayed correctly. Issue (https://fileforums.com/showpost.php?p=508812&postcount=1429)
Values will be read directly from registry without any library or dxdiag thingy, simply because it is just too slow.
- Updated some help files (it is not done yet 100%).

https://fileforums.com/showpost.php?p=509463&postcount=1435

Razer-785
01-03-2026, 00:14
I get this error when trying to compile

---------------------------
Compiler Error
---------------------------
File: C:\Users\User\Desktop\ASIS_v7.6.0\Resources\DSG\DS G_Checksum.ish



Line 311:

Column 45:

[ISPP] Undeclared identifier: "DSG_CHECKSUM".
---------------------------
OK
---------------------------

I am using latest build of ASIS and DiskSpan_GUI and i am trying the inbuilt hash feature for game files and the compressed data files i am also using BLAKE3-256 as my hash algorithm. Thanks:)

KaktoR
01-03-2026, 02:18
Send me your settings.ini

Edit:
Surprisingly enough I had the very same error some days ago but it fixed itself somehow here. I changed nothing and it was gone.

Razer-785
01-03-2026, 14:03
Send me your settings.ini

Edit:
Surprisingly enough I had the very same error some days ago but it fixed itself somehow here. I changed nothing and it was gone.

Here you go :

BTW i edited the script to work with SharpSFV to replace QuickSFV but that does not affect anything.

KaktoR
01-03-2026, 14:09
Works fine here. I can compile the script normally with your settings.

Razer-785
01-03-2026, 14:13
Works fine here. I can compile the script normally with your settings.

The error only happens when you put the setup dll files in the setup dll folder

KaktoR
01-03-2026, 14:15
You're right. Didn't noticed this.

PS: You can simply replace QuickSFV.exe with SharpSVF.exe but rename it to QuickSFV.exe. I just tested and it works.

Razer-785
01-03-2026, 14:21
You're right. Didn't noticed this.

PS: You can simply replace QuickSFV.exe with SharpSVF.exe but rename it to QuickSFV.exe. I just tested and it works.

Yea i just edited the script so all occurrences of "QuickSFV" are changed to "SharpSFV".

Razer-785
01-03-2026, 16:58
Please let me know when you have fixed the issue as I need to compress some stuff. Thanks :D

KaktoR
02-03-2026, 01:14
Use this fix

Razer-785
02-03-2026, 03:50
I can't get the checksums to work at all, i can't get the verify option to show up on the main page and when you install the game it says all the hashes are bad idk how to make this work. :confused:

KaktoR
02-03-2026, 05:20
It works fine here.

Did you used QuickSFV/SharpSFV? If so with this option you only can check game files, not data files.

Razer-785
02-03-2026, 14:30
It works fine here.

Did you used QuickSFV/SharpSFV? If so with this option you only can check game files, not data files.

Can you send a settings.ini file you tested that works?

Because i can't get it to work even if i use the stock script files and a very simple config.

KaktoR
02-03-2026, 20:14
Here

Razer-785
02-03-2026, 21:54
Here

It works!

Also is it possible to embed records.ini into the setup.exe?

This whole time i have been merging the records.ini into the setup.dll for some reason idk why.

I apologize for the inconvenience.

KaktoR
03-03-2026, 07:05
Sure. Just place records.ini in Setup_DLL folder.

Edit: I just saw there are a few more minor bugs.

Razer-785
03-03-2026, 14:22
Sure. Just place records.ini in Setup_DLL folder.

Edit: I just saw there are a few more minor bugs.

That's interesting because i was doing that before and it did not work.

If you fix those bugs please let me know.

Thanks. :)

KaktoR
05-03-2026, 07:08
Fixed counter for correct hashsums in CompactMode.
Fixed hash check data files if you include records.ini in Setup

Razer-785
05-03-2026, 15:30
Fixed counter for correct hashsums in CompactMode.
Fixed hash check data files if you include records.ini in Setup

I get this error even though i have DSG_Module.iss in the correct directory :confused:

---------------------------
Compiler Error
---------------------------
Line 347:

[ISPP] File not found: "Resources\DSG\DSG_Module.iss".
---------------------------
OK
---------------------------

KaktoR
06-03-2026, 07:25
It works fine here. I don't know what you're doing.

Please send me the whole folder (you can use private message if you want).

Razer-785
06-03-2026, 15:20
It works fine here. I don't know what you're doing.

Please send me the whole folder (you can use private message if you want).

That's ok i fixed it. :)

It was my fault i kept moving Script (batch APP).iss into a different folder thinking i did not need it.

Thanks.

KaktoR
08-03-2026, 01:55
Fixed some more bugs
Removed code not used anymore

Razer-785
09-03-2026, 01:00
Hello for some reason the inbuilt hash function only works with md5 in my testing

I'm trying to use blake3-256 and no mater what i do it says the files are bad but if i use md5 it has no problem:confused:

This glitch also apples to sha3-256

PS. I'm using the latest fix you supplied

Razer-785
17-03-2026, 20:54
I get this error when i try to compile with quicksfv enabled in the settings

---------------------------
Compiler Error
---------------------------
Line 3753:

Column 9:

Unknown identifier 'HashDataPage'
---------------------------
OK
---------------------------

Also i'm using the latest fix

KaktoR
19-03-2026, 07:11
Fixed hash algos.

They all working now.

KaktoR
23-03-2026, 09:11
I made some small adjustments.

- Batch window will now be showed normal (I don't know why it was set to show minimized by default)
- Batch file will not copied to {app} folder anymore, but instead it remains in {tmp}

The last change is necessary for upcoming DSG database changes.

KaktoR
02-04-2026, 11:26
I think I made this out of beta.

I think there is nothing left to fix. If you find anything let me know.

There was another fix after Fix6 which corrected compile error if you didn't used something or something (I don't remember).

v7.6.0
__________________________________________________ ___
- Fixed some DPI scaling bugs
- Some minor changes
- Updated DSG_Module.iss for DSG v2.0.2.4
- Added new option "MusicLoop" to [Music] settings
If set to 1, music playback will be in a loop if current music track has ended.
If set to 0, music playback will stop if current music track has ended.
- Added botva2 library
Welcome, Banner and Finish images are now in PNG format. You can change text backgrounds now aswell as an PNG image.
- Fixed GPU VRam detection
GPU VRam will now be read directly from registry without any library
- Updated Hash module
- Fixed some bugs
- Removed Patreon link
It looks like they changed something in their policy which make it impossible for me to upload there anymore

Iztac
18-04-2026, 06:53
hi !

How can i use speaciel caracter in SETTINGS.INI in [SETTINGS] section :

Exemple with the apostrophe.... ? cuz it generate error when compiling, if i remove the ' caracter, work fine.... thank you

[Settings]
Name=Assassin's Creed Shadows

KaktoR
18-04-2026, 11:34
Try this

cj4u
18-05-2026, 15:48
I m using the latest version with final fix.

Got a compiler error while compiling at

line 1210
column 46
unknown identifier CLS_LIB_UNKNOWN

cj4u
18-05-2026, 15:55
@KaktoR

here is the full folder I was using, please help in fixing this error.

Thanks in advance.

Cesar82
18-05-2026, 18:49
@KaktoR

here is the full folder I was using, please help in fixing this error.

Thanks in advance.
Your CLS-DiskSpan.ish file is outdated.
You are not using the #post (https://fileforums.com/showpost.php?p=509735&postcount=1465) archive.
Use the SCR from the indicated post and replace the Fix (https://fileforums.com/showpost.php?p=509868&postcount=1467) in the SRC.

cj4u
18-05-2026, 20:56
Your CLS-DiskSpan.ish file is outdated.
You are not using the #post (https://fileforums.com/showpost.php?p=509735&postcount=1465) archive.
Use the SCR from the indicated post and replace the Fix (https://fileforums.com/showpost.php?p=509868&postcount=1467) in the SRC.


Thanks for the reply,

here is what I did now

1. I re-downloaded from the post #[/URL] archive.
2. Re-downloaded fix [URL="https://fileforums.com/showpost.php?p=509868&postcount=1467"] (https://fileforums.com/showpost.php?p=509735&postcount=1465) and replaced the files to source.

got an error while compiling saying setup\checksum.sfv does not exist

could you please share the checksum.sfv.

Thanks in advance.

KaktoR
18-05-2026, 21:08
Try this

cj4u
19-05-2026, 00:06
Try this


Thank you KaktoR. After replacing source with the provided fix, I was able to compile with out any error.

I m currently performing few more testing and will report back if any issues. Thank you.

cj4u
19-05-2026, 16:11
Thank you KaktoR. After replacing source with the provided fix, I was able to compile with out any error.

I m currently performing few more testing and will report back if any issues. Thank you.


I got compiler error unknown identifier at line 2635 in compact mode

settings used

[Settings]
CompactMode=1

[UpdateSettings]
UpdateMode=1

cj4u
19-05-2026, 16:32
Try this

got compiler error with below settings as well


[Settings]
CompactMode=0

[UpdateSettings]
UpdateMode=1

Cesar82
19-05-2026, 17:41
got compiler error with below settings as well


[Settings]
CompactMode=0

[UpdateSettings]
UpdateMode=1

try

cj4u
19-05-2026, 18:03
try


The fix worked, Thank you.

P.S
Please update the repository with the Script fix provided by Cesar82 above @ repo https://fileforums.com/showpost.php?p=509735&postcount=1465

KaktoR
20-05-2026, 10:52
Added

Thanks for reporting.