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 03-08-2022 18:54

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 497857)
What do you mean exactly?

In script you just have to search for "CompactMode" (without ! char. ! char means "not" in ispp). Then you have all parts which belongs to compact mode.

I was talking about the composition on the install/home page, as seen here

Also is there a certain option needed to get the "Setup.dll" to extract during install? I unpacked a generated 7.3.4 executable and can confirm "Setup.dll" is included in the executable.

However the installer doesnt seem to extract the contents of "Setup.dll", as attempting to start the installation skips the target archives and fails immediately.

If you'd be willing to offer any tips I've included my example Setup.dll, Settings/Records .ini & the Script.iss (for 7.3.4).

Thanks again for your continued support and interest in this script, it's really quite a versatile tool!

KaktoR 04-08-2022 00:59

Well I have changed the appereance a bit from previous changes because on some languages some text was cut off.

Setup.dll inclusion and password settings have to be done in script.iss (at the beginning) by removing ; in front of the lines. Make sure you set the same password there as you did for the setup.dll file.

Setup.dll will be extracted as first step as soon as you click the install button. You can check that in tmp folder.

L33THAK0R 04-08-2022 23:02

Ah fair enough, given those reasons can't see any reason for me to further pursue reverting the adjustments.

I was also dead wrong, and you completely right in regards to my issues with using Setup.dll, it turns out the reason nothing was happening was because I forgot to include the "records.ini" in the "Setup.dll" file, I had thought it was also included when placed in the root directory for ASIS, as was the norm with v7.2.0. Seems like I'm getting somewhere now but for some reason attempting to copy over the de-compressors and CLS-related tools from v7.2.0 (ie. CLS-[AFR/BPK/LOLZ/MPZMT/MSC/OGGRE/PZLIB/SREP/UELR), & the CLS-DISKSPAN.dll doesn't seem to work, since I get a fairly basic message after attempting to install the files, reading: "Incompatible version of the "CLS-DiskSpan.dll" library".

Is there a required version of DiskSpan-dll required with the newer versions of ASIS? Apologies for the seemingly never ending stream of queries, seems like I cant catch a break with troubleshooting!

KaktoR 04-08-2022 23:59

Yes. Grab the diskspan cls from diskspan gui tool ;)
However the diskspan cls is only required if you use it actually. You can also just create freearc archives without diskspan cls. They working fine too. If you don't want to use the spanning method.

L33THAK0R 05-08-2022 01:09

Quote:

Originally Posted by KaktoR (Post 497866)
Yes. Grab the diskspan cls from diskspan gui tool ;)
However the diskspan cls is only required if you use it actually. You can also just create freearc archives without diskspan cls. They working fine too. If you don't want to use the spanning method.

Eureka! That's done it! I had tried 3 different versions of the DiskSpan dll, and hadn't thought to try the latest version, finally got a working setup for v7.3.3 now it seems.

I honestly just use the cls versions for some compressors just because I started off with them and it was convenient, thanks again for all the help, can't wait to see what the future holds for ASIS!

fabrieunko 06-08-2022 22:32

Hello, I have a problem with the following game:Dying Light 2 Stay Human
compression and installtion is going very well.

but the icon does not launch the game but just opens the directory

Code:

[Settings]
Name=Dying Light 2
Size=45.2 GB
Creator=UnK
DefaultInstallDir={sd}\Games
UnInstallFolder=_UnInstall
ShowLanguageBox=0
CompactMode=0
UWPGame=0
Savegamefolder=0
UpdateMode=0
//FileCheck=Game\Launcher\MassEffectLauncher.exe


[Executable1]
ShortcutName=Dying Light 2
ExePath=ph\work\bin\x64\DyingLightGame_x64_rwdi.exe
ExeParam=
IconFileName={app}\ph\work\bin\x64\DyingLightGame_x64_rwdi.ico
Component=1

I do not understand why the icon is good (there is the image) but it does not work

When I right click on the icon I get the following properties
"C:\Games\Dying Light 2"

KaktoR 07-08-2022 00:18

Test without IconFileName key

There is no reason to select the very same file for the icon.

Cesar82 07-08-2022 07:17

Quote:

Originally Posted by fabrieunko (Post 497880)
Hello, I have a problem with the following game:Dying Light 2 Stay Human
compression and installtion is going very well.

but the icon does not launch the game but just opens the directory

Code:

[Settings]
Name=Dying Light 2
Size=45.2 GB
Creator=UnK
DefaultInstallDir={sd}\Games
UnInstallFolder=_UnInstall
ShowLanguageBox=0
CompactMode=0
UWPGame=0
Savegamefolder=0
UpdateMode=0
FileCheck=Game\Launcher\MassEffectLauncher.exe


[Executable1]
ShortcutName=Dying Light 2
ExePath=ph\work\bin\x64\DyingLightGame_x64_rwdi.exe
ExeParam=
IconFileName={app}\ph\work\bin\x64\DyingLightGame_x64_rwdi.exe
Component=1

I do not understand why the icon is good (there is the image) but it does not work

When I right click on the icon I get the following properties
"C:\Games\Dying Light 2"

Your config has information about the Mass Effect game in the FileCheck= key, remove this key or include the correct information for this game.

Maybe you need a different path to workdir.
Try changing in workdir shortcut properties to {app} folder path and see if it works.
I don't remember if ASIS has configuration for this in Settings.ini.

pcblizzard 08-08-2022 01:55

Hey,

I have a question: in the "Script.iss" file, there is the "[Files]" section, I would like to copy files / folders, depending on what was selected during setup as a component, which I can define in the "Settings.ini" under "[ComponentsSettings]".

But somehow I'm at a loss and don't know what to specify in the "[Files]" section, in the "Script.iss", so that either only the files from the Update 1 or Update 2 folder are copied.

Script.iss:
Code:

[Files]
Source: "Path to the Update 1-folder\*"; DestDir: "{app}"; Flags: external ignoreversion recursesubdirs createallsubdirs
Source: "Path to the Update 2-folder\*"; DestDir: "{app}"; Flags: external ignoreversion recursesubdirs createallsubdirs

Settings.ini:
Code:

[ComponentsSettings]
Enable=1
FlatPageMode=0
ShowComponentSize=1

;; requires at least two components to enable page.
;; if components is used the global size will be ignored.

Component1.Name=Update 1
Component1.ItemType=RADIO
Component1.Size=2,12 MB
Component1.Level=0
Component1.Checked=1
Component1.Enabled=1

Component2.Name=Update 2
Component2.ItemType=RADIO
Component2.Size=7,34 MB
Component2.Level=0
Component2.Checked=0
Component2.Enabled=1


KR blizz

KaktoR 08-08-2022 02:16

You have to add such tasks with the use of records.ini

Add files to a freearc archive and add this archive to Settings.ini and records.ini

You can do it with either [TasksSettings] or [ComponentsSettings] in Settings.ini. You have to decide which fits better.
Example with [TasksSettings]
Code:

Task1.Name=Updates
Task1.ItemType=GROUP
Task1.Size=0
Task1.Level=0
Task1.Checked=1
Task1.Enabled=1

Task2.Name=Update 1
Task2.ItemType=CHECKBOX
Task2.Size=104.867 b
Task2.Level=1
Task2.Checked=1
Task2.Enabled=1

PS: If you don't want to use a GROUP for sorting items, then delete Task1 and change Task2 to Task1.

---

records.ini
[Record1]
Type=Freearc_Original
Source={src}\Main_Files.bin
Output={app}\
Disk=1
Size=10 GB

[Record2]
Type=Freearc_Original
Source={src}\Update_1.bin
Output={app}\
Disk=1
Size=2.12 MB
Task=2

If you use [ComponentsSettings] then use Components= key in records.ini


KaktoR 08-08-2022 04:07

2 Attachment(s)
I felt the need to further explain the component and task settings, so here is update 7.3.5

Code:

v7.3.5
_____________________________________________________
- Added additional help for components and tasks settings in Help folder
- UpdateMode and FileCheck keys are now in a new settings section [UpdateSettings]


pcblizzard 08-08-2022 07:55

Thank you KaktoR for your help, everything worked!

KaktoR 08-08-2022 08:36

I have added a small fix for the help files to previous post.

Edit: added a new fix. Sorry

fabrieunko 08-08-2022 11:54

I allow myself to give you the translation in French.

Find
Code:

french.SavegameFolder=Do you want to delete savegame folder?
Remplace
Code:

french.SavegameFolder=Voulez-vous supprimer le dossier de sauvegarde?
A small correction or a space is missing

Find
Code:

french.label2={#if CompactMode}Progression générale:{#else}Total des fichiers: %1  Fichiers traités: %2    Ok: %3manquants: %4  mauvais: %5{#endif}
Remplace
Code:

  french.label2={#if CompactMode}Progression générale:{#else}Total des fichiers: %1  Fichiers traités: %2    Ok: %3 manquants: %4  mauvais: %5{#endif}

fabrieunko 09-08-2022 22:16

Quote:

Originally Posted by fabrieunko (Post 497880)
Hello, I have a problem with the following game:Dying Light 2 Stay Human
compression and installtion is going very well.

but the icon does not launch the game but just opens the directory

Code:

[Settings]
Name=Dying Light 2
Size=45.2 GB
Creator=UnK
DefaultInstallDir={sd}\Games
UnInstallFolder=_UnInstall
ShowLanguageBox=0
CompactMode=0
UWPGame=0
Savegamefolder=0
UpdateMode=0
//FileCheck=Game\Launcher\MassEffectLauncher.exe


[Executable1]
ShortcutName=Dying Light 2
ExePath=ph\work\bin\x64\DyingLightGame_x64_rwdi.exe
ExeParam=
IconFileName={app}\ph\work\bin\x64\DyingLightGame_x64_rwdi.ico
Component=1

I do not understand why the icon is good (there is the image) but it does not work

When I right click on the icon I get the following properties
"C:\Games\Dying Light 2"

hello again, so I'm coming back to you because I've done many tests and corrected the ini and nothing has worked the shortcut only opens the game directory but does not launch the game. I even changed the name of the game. exe and rename it and it didn't work.
I will therefore abandon this game because I really do not understand why it does not work


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

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