FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   ASIS: Advanced Simple Installer Script (https://fileforums.com/showthread.php?t=99481)

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

Quote:

Originally Posted by KaktoR (Post 507446)
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

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

Registry size information
 
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:

Quote:

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

Quote:

Originally Posted by wareck (Post 507894)
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

Quote:

Originally Posted by insertdisc (Post 507896)
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
Code:

CompactMode=1

[ComponentsSettings]
Enable=1

Name=MMPR Ritas Rewind
Size=658.673.664 Bytes


insertdisc 31-05-2025 09:50

CRC Errors
 
Quote:

Originally Posted by mausschieber (Post 507899)
you have to enable these settings in the Settings.ini
Code:

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.
Code:

[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}\movies;Comp:1,3;Lang:EN,DE;Task:3;

Code:

[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

Code:

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

Code:

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

insertdisc 31-05-2025 11:38

Dsg crc
 
I'm using DSG and including the checksum files; just not sure what I'm doing wrong here...

mausschieber 31-05-2025 12:54

Quote:

Originally Posted by insertdisc (Post 507900)
Maybe you could help me with another problem that just popped up.
Code:

[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}\movies;Comp:1,3;Lang:EN,DE;Task:3;

Code:

[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

Code:

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

Code:

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


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

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