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-01-2021 11:58

Use external records.ini (or you can include records.ini inside Setup.dll).

XxAZAxX 21-01-2021 13:21

Hi bro
 
Quote:

Originally Posted by KaktoR (Post 489963)
Use external records.ini (or you can include records.ini inside Setup.dll).

Hi KaktoR, you personally which configuration do you recommend to use? "Setup.dll"? if yes, could you show me how to do it? i have never used it differently from my usual do before, thats why i find myself a bit in trouble.. sorry if i waste your time and thanks in advance for all the work you do bro.

(sorry for my bad english)

Cesar82 21-01-2021 13:31

Quote:

Originally Posted by XxAZAxX (Post 489967)
Hi KaktoR, you personally which configuration do you recommend to use? "Setup.dll"? if yes, could you show me how to do it? i have never used it differently from my usual do before, thats why i find myself a bit in trouble.. sorry if i waste your time and thanks in advance for all the work you do bro.

(sorry for my bad english)

From this latest version of ASIS, it works with decompressors stored externally in a file of the same name as the installer with extension ".dll" (Setup.exe/Setup.dll "or Install.exe/Install.dll, etc.).
This DLL file is nothing more than a freeArc (.arc) file and it is necessary to have all the files necessary to do the decompression inside DLL file (Except ISDone.dll and UnArc.dll).
So the current ASIS is being shared with a decompression tool DiskSpan_GUI, which generates the Setup.dll file (with all necessary decompressors) when performing the compression depending on the method chosen to compress.

XxAZAxX 21-01-2021 13:42

Hi bro
 
Quote:

Originally Posted by Cesar82 (Post 489968)
From this latest version of ASIS, it works with decompressors stored externally in a file of the same name as the installer with extension ".dll" (Setup.exe/Setup.dll "or Install.exe/Install.dll, etc.).
This DLL file is nothing more than a freeArc (.arc) file and it is necessary to have all the files necessary to do the decompression inside DLL file (Except ISDone.dll and UnArc.dll).
So the current ASIS is being shared with a decompression tool DiskSpan_GUI, which generates the Setup.dll file (with all necessary decompressors) when performing the compression depending on the method chosen to compress.

Ah here, I've always used only FreeArc with the simple method -m5 ...

I've never used the "DiskSpan_GUI" and I don't know where to put my hands at the moment .. in practice I would like to compress the files of a game (The Godfather) making it become "Data.AZA" is it possible to make it become this way?

ps: it is possible to translate the DiskSpan_GUI? in other language example Italian?

Thanks to much Cesar82

KaktoR 21-01-2021 14:04

1. Create a folder somewhere
2. Inside this folder copy all your tolls/decompressors that you need + arc.ini
3. Select all files and compress them with freearc
4. Rename the freearc file to "Setup.dll" or whatever your Setup.exe is named

It has to look like this structure
https://i.imgur.com/Je8JKbF.png

XxAZAxX 21-01-2021 14:43

Hi bro
 
Quote:

Originally Posted by KaktoR (Post 489971)
1. Create a folder somewhere
2. Inside this folder copy all your tolls/decompressors that you need + arc.ini
3. Select all files and compress them with freearc
4. Rename the freearc file to "Setup.dll" or whatever your Setup.exe is named

It has to look like this structure
https://i.imgur.com/Je8JKbF.png

Thanks for having answered KaktoR, unfortunately even in this way I could not complete the installation, even if it says complete installation it does not actually install anything ... I will try to rebuild the old versions hoping to return to what worked for me before.

Thanks for the time you have given me, and sorry for the inconvenience. :'(

KaktoR 21-01-2021 14:47

Did you changed the records.ini file properly with your archive name?

Code:

[Record1]
Type=FreeArc_Original
Source={src}\YourArchiveName.xyz
Output={app}\
Disk=1


Cesar82 21-01-2021 14:50

Quote:

Originally Posted by XxAZAxX (Post 489969)
Ah here, I've always used only FreeArc with the simple method -m5 ...

I've never used the "DiskSpan_GUI" and I don't know where to put my hands at the moment .. in practice I would like to compress the files of a game (The Godfather) making it become "Data.AZA" is it possible to make it become this way?

ps: it is possible to translate the DiskSpan_GUI? in other language example Italian?

Thanks to much Cesar82

If you use the m5 method you can use it from DiskSpan_GUI to compress your game (see the image below).
You can also just enter "5" in the method Memo.
https://i.imgur.com/V7hKeI4.png
This way, a Setup.dll file will be generated in the output folder.
So if you always use "-m5", you can use this same DLL (In all next projects) together with Setup.exe and you will no longer need DikskSpan_GUI.
You can choose to disable DiskSpan just by entering the GUI config mode and checking the "UltraARC MODE" checkbox, so CLS-DiskSpan.dll will not be included in Setup.dll.

Edit:
The last 3 methods are not working because after adding quotation marks to the methods they no longer work. I'll fix it in the next version of DiskSpan_GUI.

XxAZAxX 21-01-2021 15:41

Hi bro
 
2 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 489973)
Did you changed the records.ini file properly with your archive name?

Code:

[Record1]
Type=FreeArc_Original
Source={src}\YourArchiveName.xyz
Output={app}\
Disk=1


Yes I had already tried to edit here but it didn't work.

__________________________________________________ ____________________________

Quote:

Originally Posted by Cesar82 (Post 489974)
If you use the m5 method you can use it from DiskSpan_GUI to compress your game (see the image below).
You can also just enter "5" in the method Memo.
https://i.imgur.com/V7hKeI4.png
This way, a Setup.dll file will be generated in the output folder.
So if you always use "-m5", you can use this same DLL (In all next projects) together with Setup.exe and you will no longer need DikskSpan_GUI.
You can choose to disable DiskSpan just by entering the GUI config mode and checking the "UltraARC MODE" checkbox, so CLS-DiskSpan.dll will not be included in Setup.dll.

Edit:
The last 3 methods are not working because after adding quotation marks to the methods they no longer work. I'll fix it in the next version of DiskSpan_GUI.

I had already removed the "mask" mode and inserted only that of "UltraARC MODE" but the files that I compress do not go anyway, (it is clear that I myself make something wrong and I do not realize it)

So in order not to waste a lot of time, I decided to take all versions and rebuild the old "script + options" and it went well... I stopped at version "7.2.0 update 7" and it works very well without any problem nowhere.

Sorry if it took me so long to answer, I was sorting out the ASIS script updates :)

Cesar82 23-01-2021 16:07

The ASIS v7.2.2 has an error in the script (Thanks to XxAZAxX)
It is necessary to insert the part highlighted in "Orange" in the script.
Code:

procedure DeinitializeUninstall();
begin
 
#if VCL == "1"
   
if FileExists(ExpandConstant('{tmp}\VclStylesInno.dll')) and FileExists(ExpandConstant('{tmp}\{#VCLName}')) then
     
UnLoadVCLStyles();
  #elif Cjstyles == "1"
   
if FileExists(ExpandConstant('{tmp}\ISSkin.dll')) and FileExists(ExpandConstant('{tmp}\{#CjstylesName}')) then
    begin
     
ShowWindow(0, SW_HIDE);
      UnloadSkin();
    end;
  #endif
end;


XxAZAxX 23-01-2021 16:56

Hi everyone
 
Quote:

Originally Posted by Cesar82 (Post 490031)
The ASIS v7.2.2 has an error in the script (Thanks to XxAZAxX)
It is necessary to insert the part highlighted in "Orange" in the script.
Code:

procedure DeinitializeUninstall();
begin
 
#if VCL == "1"
   
if FileExists(ExpandConstant('{tmp}\VclStylesInno.dll')) and FileExists(ExpandConstant('{tmp}\{#VCLName}')) then
     
UnLoadVCLStyles();
  #elif Cjstyles == "1"
   
if FileExists(ExpandConstant('{tmp}\ISSkin.dll')) and FileExists(ExpandConstant('{tmp}\{#CjstylesName}')) then
    begin
     
ShowWindow(0, SW_HIDE);
      UnloadSkin();
    end;
  #endif
end;


Thanks go to you Cesar82, I just "found" the problem, but you solved it for me! so thank you very much bro. :)

AWildPotato 23-02-2021 06:50

I got the 7.1.7 Update, and I'm getting an error when running Compile_Script.bat:

Line 1408:
Column 20:
Syntax Error.

Any way to fix this?

Masquerade 23-02-2021 13:37

Quote:

Originally Posted by AWildPotato (Post 490497)
I got the 7.1.7 Update, and I'm getting an error when running Compile_Script.bat:

Line 1408:
Column 20:
Syntax Error.

Any way to fix this?

Install inno setup, open the script and press CTRL+F9. Then you see the error line when it compiles.

KaktoR 24-02-2021 01:14

1 Attachment(s)
Here is the latest version. Have not worked on it for a while and probably never will work again on it.

LordxKinG 12-03-2021 22:50

Hi, is Possible ASIS Installer add video at background Installing? thanks


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

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