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)

L33THAK0R 21-05-2022 04:17

Quote:

Originally Posted by Cesar82 (Post 496929)
I've been looking at my old source codes here and apparently the current ASIS (v7.3.3) works with the COMPRESSOR_ GUI included in ASIS v7.2.2 (also including the compressor files).

I attached the files referring to the old compressors that worked with the COMPRESSOR_GUI (They must be very outdated).
With this GUI compressor you create the Setup.dll file that can be used with current ASIS (I think).
It must be extracted to the ASIS folder.
P.S: Add the 64BitOnly=0 key in the [Settings] section of the ASIS Settings.ini file so that you can use 32-bit compressors.
To work on 32-bit systems, it is also necessary to remove the lines indicated below from the [Setup] section of the Script.iss of the ASIS v7.3.3 :
Code:

ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64

EDIT: From what you can see it should also work with DislSpan GUI 1.0.0.5, just copy the COMPRESSOR.ini file from the "DiskSpan_GUI\Resources" folder to the COMPRESSOR\Resources folder of DiskSpan GUI 1.0.0.5 and then delete the DiskSpan GUI folder and rename the "COMPRESSOR" folder (DiskSpan GUI 1.0.0.5) to "DiskSpan_GUI" and move the folder into the ASIS folder.

Oh wow this is better than any gift I could possibly receive, thank you so much mate for going to the effort of doing this, this is honestly a lovely surprise to see after a rather long 14hr shift!

Thank you also for the config batch file, I think you had given me some advice on how to do the same a while back but I never managed to get it working.

Thanks again mate, with this I'll definitely be fully migrating to v7.3.3 :)

L33THAK0R 22-05-2022 06:37

Quick question about specifying a file for a given Task/Component, what value determines what file to use in v7.3.3? Had a look through the help documentation as well as the script but can't find any reference of whether something like "Component1.File=" / "Task1.File=" is still used, as in v7.2.0, or whether its put inside the Settings.ini / Records.ini file.

KaktoR 22-05-2022 08:36

Code:

Component1.Name=Game 1
...
...

Code:

[Record1]
...
Component=1

The same with Tasks

Code:

[Record1]
...
Task=#


abror 26-05-2022 07:05

How to change language
 
I've changed english.isl and default.isl after I saved and compile setup. Still no change..

please help me, and sorry for my english because i use google translate

mausschieber 26-05-2022 13:44

Quote:

Originally Posted by abror (Post 496992)
I've changed english.isl and default.isl after I saved and compile setup. Still no change..

please help me, and sorry for my english because i use google translate

Settings.ini
Code:

[Settings]
ShowLanguageBox=1

that should Help you

abror 26-05-2022 20:31

Quote:

Originally Posted by mausschieber (Post 496993)
Settings.ini
Code:

[Settings]
ShowLanguageBox=1

that should Help you

thank you very much for the help, but I mean changing the text in the language.. I have changed the text in english.isl and default.isl but there is no change in the setup.

For example I have changed WelcomeLabel1 with my own typed text

https://imgur.com/a/vDuEA3d

Cesar82 26-05-2022 22:52

Quote:

Originally Posted by abror (Post 496996)
thank you very much for the help, but I mean changing the text in the language.. I have changed the text in english.isl and default.isl but there is no change in the setup.

For example I have changed WelcomeLabel1 with my own typed text

https://imgur.com/a/vDuEA3d

You must edit the language file in the folder: "Resources\IS_Files\Languages"
or edit "Resources\IS_Files\Default.iss" to english language.
You also need to edit the messages contained in the script.iss, in the sections [Messages] and [CustomMessages] for some labels.
After editing you need to compile using the Compile_Script.bat file.

abror 27-05-2022 02:54

Quote:

Originally Posted by Cesar82 (Post 496997)
You must edit the language file in the folder: "Resources\IS_Files\Languages"
or edit "Resources\IS_Files\Default.iss" to english language.
You also need to edit the messages contained in the script.iss, in the sections [Messages] and [CustomMessages] for some labels.
After editing you need to compile using the Compile_Script.bat file.

thanks a lot for the help.. My mistake because compiling using script.iss after using Compile_Script.bat it worked

abror 27-05-2022 07:10

Quote:

Originally Posted by Cesar82 (Post 496997)
You must edit the language file in the folder: "Resources\IS_Files\Languages"
or edit "Resources\IS_Files\Default.iss" to english language.
You also need to edit the messages contained in the script.iss, in the sections [Messages] and [CustomMessages] for some labels.
After editing you need to compile using the Compile_Script.bat file.

Sorry but I want to ask you again.

I added code [Run] to the script and compile it using Compile_Script.bat an error occurred while I used inno setup no error occurred (my Inno setup version 6.2.1)

Even though with my innosetup there is no error but the text I have changed doesn't work..

I checked Compile_Script.bat and it looks like it's using inno setup which is in Resources\IS_Files\Compil32Ex.exe

Can you provide a solution for me so that the welcome text can be changed and I can add [Run] code without error

KaktoR 27-05-2022 09:21

[Run] section will not work.

The welcome text use "msgWelcomeLabel1" and "msgWelcomeLabel2" which you can't edit inside a isl file because they are "hard coded" somewhat (at least I did not found the strings anywhere), but I think maybe you can change the caption of it with "msgWelcomeLabel1.Caption := abc"

Edit: I talk bullshit. I forgot that "msg" before the label name means something which I forgot in the meantime...

The label name which you are looking for is "WelcomeLabel1" and "WelcomeLabel2" in the *.isl files.

Cesar82 27-05-2022 11:50

Quote:

Originally Posted by abror (Post 497002)
Sorry but I want to ask you again.

I added code [Run] to the script and compile it using Compile_Script.bat an error occurred while I used inno setup no error occurred (my Inno setup version 6.2.1)

Even though with my innosetup there is no error but the text I have changed doesn't work..

I checked Compile_Script.bat and it looks like it's using inno setup which is in Resources\IS_Files\Compil32Ex.exe

Can you provide a solution for me so that the welcome text can be changed and I can add [Run] code without error

Edit script.iss in section [Messages].

Code:

[Messages]
//Example to change all languages:
WelcomeLabel1=Welcome to [name]
WelcomeLabel2=Install [name/ver] in your system.%n%nClose others app before continue.

//Example to change one language (in example is english):
english.WelcomeLabel1=Welcome to [name]
english.WelcomeLabel2=Install [name/ver] in your system.%n%nClose others app before continue.

https://i.imgur.com/2exAuvJ.png

abror 27-05-2022 17:33

thanks to both of you

Is there any difference between the inno setup in Resources\IS_Files\Compil32Ex.exe and the one I installed (version 6.2.1)?

I'm confused which one to use

Will compiling using script.iss and using inno setup version 6.2.1 run smoothly?

Cesar82 27-05-2022 17:47

Quote:

Originally Posted by abror (Post 497010)
thanks to both of you

Is there any difference between the inno setup in Resources\IS_Files\Compil32Ex.exe and the one I installed (version 6.2.1)?

I'm confused which one to use

Will compiling using script.iss and using inno setup version 6.2.1 run smoothly?

Yes.. script requirid inno setup 6.05 or newer.

abror 27-05-2022 18:15

do you know how to open the application/website after the installation is complete and the user has clicked Finish without the checkbox

Cesar82 27-05-2022 23:27

Insert something like this in CurStepChanged.
Quote:

Originally Posted by abror (Post 497012)
do you know how to open the application/website after the installation is complete and the user has clicked Finish without the checkbox

Code:

procedure CurStepChanged(CurStep: TSetupStep);
var
 
ResultCode: Integer;
begin
  if
CurStep = ssDone then
  begin
   
ShellExec('open', 'https://www.fileforums.com', '', '', SW_SHOWNORMAL, ewNoWait, ResultCode);
    ShellExec('open', ExpandConstant('{app}\game.exe'), '', '', SW_SHOWNORMAL, ewNoWait, ResultCode);
  end;
end;



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

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