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)

KaktoR 21-09-2022 10:37

1 Attachment(s)
Code:

v7.3.9
_____________________________________________________
- The script is now compatible with DiskSpan_GUI v2.0.1.2+ (thanks to César)
  > Hash files created with DSG v2.0.1.2+ can be used with ASIS now
  > Note that for QuickSFV you have to create hash file manually and place it in Setup folder (like before)
- Removed RunFromAppFolder setting completely
  > If you use QuickSFV for hash checking, hash file and QuickSFV.exe will now be executed from {app} folder
  > QuickSFV.exe and QuickSFV.ini will be deleted from {app} folder after hash check is finished


fabrieunko 22-09-2022 19:31

Hello, I have just tested ASIS 7.3.9 with the QuickSFV function and I have a small error when the installation is finished and it asks to test the files. here are the screens:

Code:

[CRCCheck]
//----------------------------------------------- Setup\Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=1
QuickSFVFile=checksums.md5

in my setup I have created a file checksums.md5

but when the installer finished. and want to test the files I have:

https://zupimages.net/up/22/38/bypw.png

another problem when the file test starts, this one says:
Control ... directory name / filename.pak (221 GB out of 526 GB) when it should indicate 2.21 and 5.26

https://zupimages.net/up/22/38/ngg0.png

abror 25-09-2022 08:17

anyone please tell me how to remove or hide the "Pause" button

L33THAK0R 25-09-2022 10:17

Quote:

Originally Posted by abror (Post 498480)
anyone please tell me how to remove or hide the "Pause" button

At least for compact mode, just change all entries of
Code:

PauseButton.Show;
to
Code:

PauseButton.Hide;
in your "Script.iss"

abror 25-09-2022 10:42

Quote:

Originally Posted by L33THAK0R (Post 498481)
At least for compact mode, just change all entries of
Code:

PauseButton.Show;
to
Code:

PauseButton.Hide;
in your "Script.iss"

thank you for helping

abror 25-09-2022 10:45

1 Attachment(s)
I want to report a problem with version v7.3.9

If I turn off the crc check an error will occur

Attachment 32715

KaktoR 25-09-2022 11:28

2 Attachment(s)
Code:

v7.4.0
_____________________________________________________
- The script is now compatible with DiskSpan_GUI v2.0.1.3+ (thanks to César)
- Fixed some bugs
Hotfix 1:
 - Fixed QuickSFV not reading hash file if path/file name contains spaces
 - Added option to turn off Windows 11 information


ROKA1969 26-09-2022 04:00

I would like to have only two languages in the language selection window: Polish and English, I removed all entries for other languages in the script, but they are still displayed in the selection window

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

I also deleted the ASIS folder but they keep showing up. Anyone help?

I will add that using QuickSFV also displays the same error as my friend fabrieunko

https://www.zupimages.net/up/22/38/bypw.png

KaktoR 26-09-2022 04:03

Comment out languages in "function CreateLangDialog(): Boolean;"

KaktoR 26-09-2022 04:23

Quote:

Originally Posted by ROKA1969 (Post 498498)
I will add that using QuickSFV also displays the same error as my friend fabrieunko

https://www.zupimages.net/up/22/38/bypw.png

Works here
https://i.imgur.com/dEpPt3O.png

Send me Settings.ini + Script.iss

Cesar82 26-09-2022 08:53

From the messagebox it looks like the filename is empty.

Masquerade 26-09-2022 09:00

Quote:

Originally Posted by ROKA1969 (Post 498498)
I would like to have only two languages in the language selection window: Polish and English, I removed all entries for other languages in the script, but they are still displayed in the selection window

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

I also deleted the ASIS folder but they keep showing up. Anyone help?

I will add that using QuickSFV also displays the same error as my friend fabrieunko

https://www.zupimages.net/up/22/38/bypw.png

QuickSFV will display this error if there are spaces in the file path where the MD5 checksum is stored. The string needs wrapping in quotation marks.

abror 26-09-2022 09:01

1 Attachment(s)
is there a way to get rid of the popup at the start of this install?

Attachment 32723

Masquerade 26-09-2022 09:05

Seconding this, which methods are supposedly not working on Windows 11? I have been making my repacks under Windows 11 for months now and have not encountered any such problems. If there's anything you would like testing, just ask.

Cesar82 26-09-2022 09:09

Quote:

Originally Posted by abror (Post 498505)
is there a way to get rid of the popup at the start of this install?

Attachment 32723

Comment out lines 4219 and 4220 of the script with //
Code:

    //if (FailWinEleven = '') and (MessageBox(WizardForm.Handle, 'Some of the methods used in this compression may not be supported by Windows 11.' + #13#10 + #13#10 + 'Would you like to continue anyway?', SetupMessage(msgSetupAppTitle), MB_ICONQUESTION or MB_YESNO or MB_TASKMODAL) <> IDYES) then
    //  Exit;

But be aware that this is a warning and that installation errors may occur because one of the methods is not supported by Windows 11.

Quote:

Originally Posted by Masquerade (Post 498504)
QuickSFV will display this error if there are spaces in the file path where the MD5 checksum is stored. The string needs wrapping in quotation marks.

Try changing line 5231 of the script as shown below:
Code:

            ShellExec('open', ExpandConstant('{app}\QuickSFV.exe'), AddQuotes(ExpandConstant('{app}\{#QuickSFVFile}')), '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
Quote:

Originally Posted by Masquerade (Post 498507)
Seconding this, which methods are supposedly not working on Windows 11? I have been making my repacks under Windows 11 for months now and have not encountered any such problems. If there's anything you would like testing, just ask.

From what I've understood so far they are: xt_zlib (xzlib), xt_lzo (xlzo), xtool:manvil:lzo, xtool:mfc3, xtool:mfc4, lzorec

For the xt_zlib method (from the old xtool) the old DLL zlibwapi.dll (102 Kb) was replaced by the DLL used with the new XTool (523 Kb) and the problem was fixed (I hope it has the same compression gain).
For errors in the other methods above the incompatible library is lzo2.dll (103 Kb) which does not work with Windows 11.

You can blacklist the DiskSpan GUI new methods that occur extraction errors in windows 11, for this include in the FailWinEleven= key of the [SETTINGS] section of DSG_Methods.ini.
The methods listed if used will show a warning to the user before compression and also during installation.

For errors of this type to occur, it is necessary to compress it on Windows 10 or lower and install it on Windows 11.
Compressing on windows 11 will not show errors even during installation because the libraries will be ignored and there will be no precompression (Ratio 100%).


All times are GMT -7. The time now is 12:59.

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