FileForums

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

goponfs 26-03-2026 05:58

Quote:

Originally Posted by Cesar82 (Post 509692)
Open the script and search for {#GameName}
NOTES: Replace only inside the [Code] section of the script.
Code:

{#GameName}
Replace with:
Code:

{#StringChange(GameName, "'", "''")}

Thanks! I replaced the code and now is working. I hope that you will take this in consideration and update the script for the next release.

Cesar82 26-03-2026 16:01

1 Attachment(s)
Quote:

Originally Posted by wrathma (Post 509693)
you can put 2x single quote like this
#define GameName "Clive Barker''s Undying"
and it will be rendered as single quote. you dont have to make any changes to the code section for this.:):)

If you duplicate the quotation marks, they will be duplicated in all texts that use this directive outside the code section, such as the installation path, program group, executable description, and desktop shortcut name.
See the image:

wrathma 27-03-2026 00:02

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 509697)
If you duplicate the quotation marks, they will be duplicated in all texts that use this directive outside the code section, such as the installation path, program group, executable description, and desktop shortcut name.
See the image:

youre right. thats why i use different variables for the title of the installer and install directory. sometimes you get special characters in the name that windows wont allow. Like "Nier:Automata" or "Star Wars Jedi: Survivor".

palievka 01-05-2026 01:04

Hello. Will this be updated for DiskSpan GUI v2.0.2.4 version. Thank you

Cesar82 03-05-2026 19:27

Quote:

Originally Posted by palievka (Post 509983)
Hello. Will this be updated for DiskSpan GUI v2.0.2.4 version. Thank you

Wait until next weekend.

demon964 05-05-2026 10:07

Quote:

Originally Posted by Cesar82 (Post 510005)
Wait until next weekend.

hi. can you add this function? for real time delete files when unpacking

https://github.com/auto-Dog/delete_when_unzip

Masquerade 09-05-2026 12:15

^^
Bad idea, if the installer crashes and the archives are deleted, then what?

Cesar82 10-05-2026 10:58

Light Installer Script 1.0.1.8
 
Added Light Installer Script 1.0.1.8 in first post.
Code:

- Added compatibility with DiskSpan GUI 2.0.2.4+.
- Added data hash page to check integrity of compressed files.
- Fixed some minor bugs.

@demon964, deleting the BIN file during installation is a terrible idea.
However, you can modify your own script by editing "Resources\Includes\DSG\DSG_Module.iss" adding red text part.
But this will only work for BIN files contained on disks such as HDDs/SSDs and for non-splitted BIN files.
Code:

                if (not ISDoneError) and (not ISArcExtract(0, Arcs[I].Pct, CurrArc, Arcs[I].Output, '', Arcs[I].AType = tmArc, Arcs[I].Password, ExpandConstant('{tmp}\Arc.ini'), Arcs[I].Output, False)) then
                  ISDoneError := True
                else
                  DeleteFile(CurrArc);


goponfs 14-05-2026 07:49

Please, consider for the next update to improve ScriptVersion to accept also letters. Currently you can use only numbers. If i put letters, for example "v3" i cannot compile it.

Cesar82 14-05-2026 18:12

1 Attachment(s)
Quote:

Originally Posted by goponfs (Post 510067)
Please, consider for the next update to improve ScriptVersion to accept also letters. Currently you can use only numbers. If i put letters, for example "v3" i cannot compile it.

Done!

goponfs 15-05-2026 12:23

Quote:

Originally Posted by Cesar82 (Post 510068)
Done!

Thanks alot! When you hover the mouse over the Setup file instead of showing "v3" on File version it shows 3.0.0.0 and also if i put in the script just letters it shows 0.0.0.
Another example: if you put 1.072 it shows 1.72.0.0
Ps: in uninstall programs it shows correctly

Cesar82 15-05-2026 17:23

1 Attachment(s)
Quote:

Originally Posted by goponfs (Post 510071)
Thanks alot! When you hover the mouse over the Setup file instead of showing "v3" on File version it shows 3.0.0.0 and also if i put in the script just letters it shows 0.0.0.
Another example: if you put 1.072 it shows 1.72.0.0
Ps: in uninstall programs it shows correctly

The Inno Setup keys VersionInfoProductVersion= and VersionInfoVersion= only support numbers in the format 0.0.0.0

There is no way to display text in any Inno Setup installer; it's a limitation of Inno Setup itself.

palievka 17-05-2026 11:42

When verifying the integrity check and hash, the name of the Verify button changes to Pause and then Resume, and then when I click Resume, the name of the button does not change to Pause anymore. Thanks:)

Cesar82 17-05-2026 12:31

1 Attachment(s)
Quote:

Originally Posted by palievka (Post 510098)
When verifying the integrity check and hash, the name of the Verify button changes to Pause and then Resume, and then when I click Resume, the name of the button does not change to Pause anymore. Thanks:)

Replace attached "DSG_Checksum.iss" inside "...\Resources\Includes\DSG" folder.

palievka 20-05-2026 11:09

1 Attachment(s)
Is it possible to display installation actions in a list like here, but also with time and installation percentage? Thank you:)


All times are GMT -7. The time now is 09:16.

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