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 26-09-2022 09:22

Code:

Hotfix 1:
 - Fixed QuickSFV not reading hash file if path/file name contains spaces
 - Added option to turn off Windows 11 information

https://fileforums.com/showthread.ph...487#post498487

Cesar82 26-09-2022 09:27

@Masquerade see my previou post.

ROKA1969 26-09-2022 10:11

Quote:

Originally Posted by KaktoR (Post 498499)
Comment out languages in "function CreateLangDialog(): Boolean;"

Now I have two languages working. Thank you :)

ROKA1969 26-09-2022 10:41

Quote:

Originally Posted by KaktoR (Post 498510)
Code:

Hotfix 1:
 - Fixed QuickSFV not reading hash file if path/file name contains spaces
 - Added option to turn off Windows 11 information

https://fileforums.com/showthread.ph...487#post498487

Works fine with fix 1. Thank you !!

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

If it was possible to remove the checksums.md5 file from the game folder after verification, I would be happy :)

KaktoR 27-09-2022 02:37

Quote:

Originally Posted by ROKA1969 (Post 498514)
If it was possible to remove the checksums.md5 file from the game folder after verification, I would be happy :)

Edit the following code

Code:

if HashCheckCB.Checked then
  begin
    PercentLabel.Hide;
    ElapsedLabel.Hide;
    RemainingLabel.Hide;
    WizardForm.FilenameLabel.Caption := ExpandConstant('{cm:HashPageTitle}');
    WizardForm.ProgressGauge.Hide;
    FileCopy(ExpandConstant('{tmp}\QuickSFV.exe'), ExpandConstant('{app}\QuickSFV.exe'), False);
    FileCopy(ExpandConstant('{tmp}\{#QuickSFVFile}'), ExpandConstant('{app}\{#QuickSFVFile}'), False);
    ShellExec('open', ExpandConstant('{app}\QuickSFV.exe'), ExpandConstant('"{app}\{#QuickSFVFile}"'), '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
    DeleteFile(ExpandConstant('{app}\QuickSFV.exe'));
    DeleteFile(ExpandConstant('{app}\QuickSFV.ini'));
    DeleteFile(ExpandConstant('{app}\{#QuickSFVFile}'));


ROKA1969 27-09-2022 05:45

1 Attachment(s)
KaktoR thank you :) Reliable as always !!

However, I noticed an error. After selecting the redists in the installer during their installation, windows with the C: \ Windows \ folder open, when I uncheck them, everything works normally. I checked on my script and on a clean script downloaded from here:

https://fileforums.com/showpost.php?...postcount=1237

I am adding my scrypt for inspection

Attachment 32748

KaktoR 02-10-2022 05:21

Quote:

Originally Posted by ROKA1969 (Post 498535)
KaktoR thank you :) Reliable as always !!

However, I noticed an error. After selecting the redists in the installer during their installation, windows with the C: \ Windows \ folder open, when I uncheck them, everything works normally. I checked on my script and on a clean script downloaded from here:

https://fileforums.com/showpost.php?...postcount=1237

I am adding my scrypt for inspection

Attachment 32748

You have some errors in your settings.
  1. Section=[GameSettings]
    You don't have to use brackets here ([]). Inno Setup would assume the INI section would look like this: [[GameSettings]]
  2. For the redist installation you have to fill both Exe32 and Exe64 keys

KaktoR 02-10-2022 05:27

1 Attachment(s)
Code:

v7.4.1
_____________________________________________________
- New option added to delete hash file after file vericifation
- Changed batch execution behavior
  > Batch file will now be executed always from {app} directory (working dir = {app})
  > Because I was asked, theoretically it is possible to execute other files then bat/cmd aswell
    as long as Inno knows how to open them (the script is using ShellExec function with 'open' verb)
  > Batch file has to be in Setup folder
- Updated BASS audio library to v2.4.16.7
- Updated help file


KaktoR 02-10-2022 13:04

Change in Line 86

Code:

#define DeleteHashFile YesNo(ReadIni(Settings, "CRCCheck", "QuickSFVDeleteHashFile", ""))
I have forgot to change it

ROKA1969 04-10-2022 07:45

Users are reporting to me that my installer reports an error:

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

I don't know what's going on, doesn't ASIS support windows x86 version or only x64 versions?

KaktoR 04-10-2022 08:05

It is x64 only.

ROKA1969 04-10-2022 09:43

Is it possible to run it on windows x86?

Masquerade 04-10-2022 09:56

Quote:

Originally Posted by ROKA1969 (Post 498600)
Is it possible to run it on windows x86?

It pays to actually read the reply KaktoR gave you.
Quote:

Originally Posted by KaktoR (Post 498598)
It is x64 only.


KaktoR 04-10-2022 11:25

I wonder what people still use x86 OS, but whatever.

You could try to delete the following lines from [Setup], but I can not guarantee that it will not brake up something and I will not give any support for it. Do at your own risk.

Code:

ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64


Cesar82 04-10-2022 15:10

The installer will run but the decompressors being x64 will not work.


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

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