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 10-08-2023 08:49

Quote:

Originally Posted by ravikant (Post 501881)
I am making a repack of an emulated trilogy, one data file for each game and one data file for emulator i want to enable checkbox(which will be disabled for files which are not placed next to the setup) so that even if one game and emulator is present the setup does not look for other game data files and raise an error.

if i have time maybe in the next version i will add this feature. But you will need to use the UNLIMITED tab of the DiskSpan GUI.

ravikant 12-08-2023 04:05

Quote:

Originally Posted by Cesar82 (Post 501937)
if i have time maybe in the next version i will add this feature. But you will need to use the UNLIMITED tab of the DiskSpan GUI.

I have been using unlimited tab since day one

Also can you explain me how to use components and tasks which is disabled by default in the script

Cesar82 23-09-2023 12:18

Light Installer Ultimate (Beta 1)
 
1 Attachment(s)
After a long time I am sharing the beta version of L.I.U.
I ask those interested in the project to test it and inform me of any bugs they find.
The project was developed to have a simple interface and allow all the features of the DiskSpan GUI tool.

nachitoponce1419 20-03-2024 04:45

The uninstallers you create do not uninstall, delete the games when uninstalling it

nachitoponce1419 20-03-2024 10:48

Light Installer Script 1.0.1.4

nachitoponce1419 20-03-2024 15:20

I'm sorry, I'm a newbie, I don't know how to do it.

nachitoponce1419 20-03-2024 15:30

You cannot get an update that has already been corrected

nachitoponce1419 20-03-2024 16:26

Thank you very much, in the end I was able to make the correction and it works.

Cesar82 21-04-2024 13:21

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

- Updated XHashEx.dll library to v1.0.0.0 build 230729 no UPX version.
- Updated SplitLib.dll library to v1.0.0.5 build 240330 (UPX).
- Added support to splash image (IsGsg.dll by South.Tver).
- Added watter efects in all installer images (WaterCtrl.dll by RESTOOL).
- Added suport to skinsharp (SkinH.dll library by Shegorat) with Inno Setup 5.
- Added support to include compressor inside "Setup.exe" file.
  >> Add the compressors to a "DECOMPRESSOR" folder next to the script before compiling to include the desired compressors within "Setup.exe" file.
  >> It also supports using folder structure with desired compressors.
- Added support to new hash algorithms using key Size= of the "Records.ini" file to set algorithm type.
  >> If key Size= exists, LIU will use the "VerifyHashesFromFileEx" function from "XHashEx.dll", otherwise it will use the "VerifyHashesAutoFromFileEx" function.
  >> If you enter the type of algorithm you have 21 algorithm options, otherwise only 5 algorithm options.
  >> If you prefer, you can also enter just the algorithm number from "0" to "21' in the parameter value. 
    ** crc32, md5, sha1, sha256, sha512 (These 5 algorithm are supported in auto mode).
    ** sha512_256, sha3_256, sha3_512, blake2_128, Blake2_256, blake3_256, haval3_128, haval3_256,
    ** ripemd_128, ripemd_256, tiger_128, tiger_192, tiger2_128, tiger2_192, murmurhash_32, xxhash_32
- Fixed some minor bugs.


Lord.Freddy 27-05-2024 03:38

FadeEffect
 
1 Attachment(s)
Hi Cesar82,

A few days ago, I embarked on creating a custom function for the "FadeEffect" feature in my installer script. While I successfully implemented the function, I encountered an issue when attempting to close the installer using the newly added functionality. Specifically, I received an error message. To troubleshoot, I meticulously reviewed my code and made adjustments based on your original script.

The modified version now resides in the file below, and I'm pleased to report that it works seamlessly without requiring any additional lines of code such as WizardForm.Free. However, there are only one remaining challenges:

Minimizing and Maximizing Animation Not Displayed: Despite the improvements, minimizing and maximizing animation doesn't appear as expected.

I kindly request your assistance in resolving these issues. Your expertise would be greatly appreciated.

Cesar82 27-05-2024 11:18

1 Attachment(s)
Quote:

Originally Posted by Lord.Freddy (Post 504651)
Hi Cesar82,

A few days ago, I embarked on creating a custom function for the "FadeEffect" feature in my installer script. While I successfully implemented the function, I encountered an issue when attempting to close the installer using the newly added functionality. Specifically, I received an error message. To troubleshoot, I meticulously reviewed my code and made adjustments based on your original script.

The modified version now resides in the file below, and I'm pleased to report that it works seamlessly without requiring any additional lines of code such as WizardForm.Free. However, there are only one remaining challenges:

Minimizing and Maximizing Animation Not Displayed: Despite the improvements, minimizing and maximizing animation doesn't appear as expected.

I kindly request your assistance in resolving these issues. Your expertise would be greatly appreciated.

I think combining AnimateWindow will not work together with this code.
You could throw AnimateWindow into the WizardForm.OnShow event.
I modified the code a little and added timers for FadeIn/FadeOut (see attachment).

Lord.Freddy 04-06-2024 12:23

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 504654)
I think combining AnimateWindow will not work together with this code.
You could throw AnimateWindow into the WizardForm.OnShow event.
I modified the code a little and added timers for FadeIn/FadeOut (see attachment).

Thank you. It took some time, but it's finally done. This is a gift for you, as a token of my appreciation for your help with the previous post. :)

Cesar82 04-06-2024 14:59

4 Attachment(s)
Quote:

Originally Posted by Lord.Freddy (Post 504693)
Thank you. It took some time, but it's finally done. This is a gift for you, as a token of my appreciation for your help with the previous post. :)

Thanks for sharing.

But I would like to inform you that the VRAM is not reading correctly...
Reading is limited to 32-bit integers.
Should have returned 12 GB of VRAM here (see first image).
Also the windows identification is not being displayed correctly. It is labeled as "Windows 10 Interprise" and is "Windows 10 Pro" (see second image)
I attached a code that detects VRAM above 4 GB in case you want to use part of it for your module (see third image).

EDIT: I think you should use the "Extended" type (not Int64) to make it compatible with previous versions of Inno Setup such as the IS Enhanced 5.51 version that many use due to the excellent programming/debugging interface and extra classes offered in this version.

Lord.Freddy 05-06-2024 00:24

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 504694)
Thanks for sharing.

But I would like to inform you that the VRAM is not reading correctly...
Reading is limited to 32-bit integers.
Should have returned 12 GB of VRAM here (see first image).

alright thanks.

Quote:

Originally Posted by Cesar82 (Post 504694)
Also the windows identification is not being displayed correctly. It is labeled as "Windows 10 Interprise" and is "Windows 10 Pro" (see second image)

well i modified the GetOSName function to work with GetVersionEx api, should work correctly now.

Quote:

Originally Posted by Cesar82 (Post 504694)
EDIT: I think you should use the "Extended" type (not Int64) to make it compatible with previous versions of Inno Setup such as the IS Enhanced 5.51 version that many use due to the excellent programming/debugging interface and extra classes offered in this version.

that`s not possible because the GetPhysicallyInstalledSystemMemory api function will only one work with Int64 type.


well done, i hope this release should work as expected, and also if you have windows 11, please test this release on that machine to see if every things work`s well or no.

Edit: i also modified the GetCPUArchitecture function to work with GetNativeSystemInfo and IsWow64Process api function.

Cesar82 06-06-2024 00:28

2 Attachment(s)
Quote:

Originally Posted by Lord.Freddy (Post 504699)
alright thanks.


well i modified the GetOSName function to work with GetVersionEx api, should work correctly now.


that`s not possible because the GetPhysicallyInstalledSystemMemory api function will only one work with Int64 type.


well done, i hope this release should work as expected, and also if you have windows 11, please test this release on that machine to see if every things work`s well or no.

Edit: i also modified the GetCPUArchitecture function to work with GetNativeSystemInfo and IsWow64Process api function.

INFO:
- Contains a MsgBox in the module's GetCPUArchitecture function.
- Keeps returning "Windows Interprise".
- You cannot use "RoundUp(Round(GetGPUVRAM))" in the example.
You can use RoundUp only after converting to MB.
RoundUp rounds the values ​​to a multiple of 64, because for example if you get 493 MB it would return 512 MB (Which would be a multiple of 64).
You can change the example script to:
Code:

+ 'GPU VRAM: ' + ConvertUnitFormat(GetGPUVRAM, In_Bytes, In_MegaBytes, 0, False) + #13#10
Attached is a solution for compatibility with Inno Setup 5.51.ee2


All times are GMT -7. The time now is 06:10.

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