FileForums

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

Cesar82 23-08-2024 04:11

1 Attachment(s)
Quote:

Originally Posted by Lord.Freddy (Post 505324)
The following issue will occur when applying a 125%+ scale.

Hotfix attached.

Dario06 04-10-2024 03:15

Modern style
 
1 Attachment(s)
he's stoned!

Cesar82 04-10-2024 08:56

2 Attachment(s)
Quote:

Originally Posted by Dario06 (Post 505816)
he's stoned!

Does this happen every time, or was it a random occurrence?
What operating system are you using?

It works fine here, even if you use Windows' display scale above 100% (like 150%).
I tested it by compiling with Inno Setup 5.05 (recommended) and also with Inno Setup 6.32 and this error did not occur even once.
My tests were done on Windows 10 PRO x64

Dario06 04-10-2024 10:48

2 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 505818)
Does this happen every time, or was it a random occurrence?
What operating system are you using?

It works fine here, even if you use Windows' display scale above 100% (like 150%).
I tested it by compiling with Inno Setup 5.05 (recommended) and also with Inno Setup 6.32 and this error did not occur even once.
My tests were done on Windows 10 PRO x64

this system bro...

it's not a problem friend, it was just to test your script, but I like to test new things :)

I used your bat to compile.

Cesar82 11-04-2025 05:28

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

- Added compatibility with DiskSpan GUI 2.0.2.3+.
- Fixed some minor bugs.


Budakgamers9849 11-05-2025 06:43

https://i.imgur.com/TRWDgBm.png
https://i.imgur.com/VOcSp8W.png

Can I change the text in this section? I thought this was a logo image that was in the recourses, but after I changed it, the text didn't change.

Cesar82 11-05-2025 10:14

1 Attachment(s)
Quote:

Originally Posted by Budakgamers9849 (Post 507668)
https://i.imgur.com/TRWDgBm.png
https://i.imgur.com/VOcSp8W.png

Can I change the text in this section? I thought this was a logo image that was in the recourses, but after I changed it, the text didn't change.

You need to recreate the alpha layer of the image.
See attached video.

goponfs 25-03-2026 08:03

You cannot use characters for the GameName
For example you can use
#define GameName "Clive Barkers Undying"
but not #define GameName "Clive Barker's Undying"
Can be possible update the script?

Cesar82 25-03-2026 17:50

Quote:

Originally Posted by goponfs (Post 509686)
You cannot use characters for the GameName
For example you can use
#define GameName "Clive Barkers Undying"
but not #define GameName "Clive Barker's Undying"
Can be possible update the script?

Open the script and search for {#GameName}
NOTES: Replace only inside the [Code] section of the script.
Code:

{#GameName}
Replace with:
Code:

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

wrathma 25-03-2026 22:59

Quote:

Originally Posted by goponfs (Post 509686)
You cannot use characters for the GameName
For example you can use
#define GameName "Clive Barkers Undying"
but not #define GameName "Clive Barker's Undying"
Can be possible update the script?

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

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:)

Cesar82 20-05-2026 17:27

Quote:

Originally Posted by palievka (Post 510129)
Is it possible to display installation actions in a list like here, but also with time and installation percentage? Thank you:)

Yes, it's possible, but it requires quite a bit of code for those changes, which defeats the purpose of being a simple installer.

But I'll include that in the next update.

goponfs 30-05-2026 04:25

Can you enable Pause button by default in the next update? I just needed to pause a big setup because i had to do another job which require alot of resources and i observed the button is grey out. Since the button is already there, please consider to enable it. Thank you for your work. I use your script for my personal old games repacks.

palievka 30-05-2026 05:01

Quote:

Originally Posted by goponfs (Post 510213)
Can you enable Pause button by default in the next update? I just needed to pause a big setup because i had to do another job which require alot of resources and i observed the button is grey out. Since the button is already there, please consider to enable it. Thank you for your work. I use your script for my personal old games repacks.

Find PauseButton.Enabled := False; in the script and change it to PauseButton.Enabled := True;


All times are GMT -7. The time now is 02:54.

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