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)

MojoW 01-12-2022 18:21

1 Attachment(s)
Available VRAM is only showing half of what is actually available for me.

KaktoR 02-12-2022 01:52

Well seems like it's a bug in ISSysInfo then. Maybe I have to switch to a different plugin :(

fabrieunko 03-12-2022 12:11

Hello, can you tell me how to change the resolution of the installer? it is in 600 x 379 I would like to put it in 900 x 509

KaktoR 03-12-2022 12:41

Code:

GrowWizard(ScaleX(103), ScaleY(66));

WizardForm.ClientWidth  := ScaleX(600);
WizardForm.ClientHeight := ScaleY(429);

Good luck in reformating the complete installer :D

fabrieunko 03-12-2022 21:03

hello I come back to you because I changed all 600 to 900 but there is a problem...


https://i.ibb.co/3kH5chv/Capture.png

KaktoR 04-12-2022 01:53

Yes and I told you "good luck" :)

You have to figure out on your own, no support from me.

fabrieunko 04-12-2022 09:12

hello, I'm not going to pollute your topic just to say that I'm progressing little by little. I have to find how to move the text to the left... thank you for your fabulous installer. I use it for all my repacks.

http://image.noelshack.com/minis/202...06-capture.png

KaktoR 04-12-2022 11:18

1 Attachment(s)
Quote:

Originally Posted by MojoW (Post 499269)
Available VRAM is only showing half of what is actually available for me.

Please test this if it shows correct GPU VRam

MojoW 04-12-2022 11:32

Quote:

Originally Posted by KaktoR (Post 499310)
Please test this if it shows correct GPU VRam

Yep this shows it correctly!

KaktoR 04-12-2022 12:33

Code:

v7.4.3
_____________________________________________________
- Added SysInfo library by BLACKFIRE69 temporary to detect correct GPU VRAM for newer GPUs
  > This might be changed again in a future update
- Fixed CRC check issues

first post

KaktoR 08-12-2022 05:17

Code:

v7.4.3a
_____________________________________________________
- Updated xHashEx.dll and SplitLib.dll libraries to fix some issues with DiskSpan_GUI hash list feature

first post

ROKA1969 09-12-2022 02:14

how can i add a password to a compressed file for the installer to install this file normally

KaktoR 11-12-2022 08:11

Set password in Records.ini

Code:

[Record#]
...
...
Password=Your password

Include records.ini in Setup.dll and set a password for Setup.dll
Set password for Setup.dll in script.iss
Code:

#define PasswordDLL "Your password"
However full encryption is not possible this way. People can still read the password from %temp% folder. You have to use a custom arc.exe to fully encrypt the files (this requires some script editing I guess, not sure).

Masquerade 11-12-2022 11:15

If you use ProFrager's FAProtect to generate custom FreeArc binaries so others cannot open them, all you'd need to do is swap the unarc.dll from the ASIS package with your custom generated unarc.dll to decompress the archives.

This does not encrypt the archives per-se, because if you open them with a hex editor you will still be able to see magic numbers of compressors that you used when making the archive, so you will be easily be able to tell at LEAST the final compressor used if not more. That is, unless, you add encryption to the archive in FA cmdline which I have no idea about. It'll probably just slow unpacking down. If all you want to do is stop people from easily looking at what your methods are, just use FAProtect. Then only skilled people will know ;)

KaktoR 23-12-2022 09:43

Code:

v7.4.4
_____________________________________________________
- Updated BASS audio library to v2.4.17
- Fixed a minor issue with some labels in CompactMode installer step

This is the last update and the project is finished (closed) now.

pcblizzard 04-01-2023 01:45

1 Attachment(s)
In case the project is continued at some point: I discovered another small bug that is reproducible if you use the “Compact”-Mode (Settings.ini), the “UpdateMode” is set to “1” (Settings.ini) and have CRC-Check selected (Installer).

The button that should say “Exit” is not visible, because it is mostly covered by the button with the question mark.


KR blizz

Cesar82 04-01-2023 04:18

1 Attachment(s)
Quote:

Originally Posted by pcblizzard (Post 499657)
In case the project is continued at some point: I discovered another small bug that is reproducible if you use the “Compact”-Mode (Settings.ini), the “UpdateMode” is set to “1” (Settings.ini) and have CRC-Check selected (Installer).

The button that should say “Exit” is not visible, because it is mostly covered by the button with the question mark.


KR blizz

Despite the project being closed, but as it is a bug fix and not design changes, I will share a fix with you.

pcblizzard 05-01-2023 00:49

I can only thank you very much for your commitment!

LinkSystem 07-03-2023 04:50

My friends, I apologize in advance for my English ..
There is a problem - when installing the game there is an error in the console:
Found 0 files to register in RestartManager.
I've been suffering for 2 days, nothing comes out. tried everything. I looked through all the pages of the forum but the problem remained.

The installer doesn't see the unpack archives at all before unpacking my basket should start - this error comes up and the installer hangs completely until it detects the process manually (via the task manager). What could it be?

Proxson 21-04-2023 16:46

Just a small typo fix in the script at lines 6172, 6215. Hint... reuirements ;)

Code:

{#if UseSystemReq}english.Hardware50=Your system does partially meet the hardware reuirements.{#endif}
proper...

Code:

{#if UseSystemReq}english.Hardware50=Your system does partially meet the hardware requirements.{#endif}

Iztac 23-04-2023 11:28

hi, your installer is awesome, but

how can i do to put a Message BOX at the launch before splashscreen and Language selector and another when click finish button ?

thank you

ROKA1969 30-04-2023 22:33

How can I set two things?

1. I installed two games and made a collection out of them by throwing them into one folder. There are two separate folders with saves in the Documents folder. How do I set the Settings.ini file to uninstall both folders?

2. I added the Patch.bat file to the installer, it works properly, but after installing the game, it appears in the game folder. What should I do to make it not there? In previous updates, everything was fine.

Thank you for all suggestions.

Bondpotter 18-05-2023 05:19

This is really cool and simple installer.

I want to know is there a way that if a game is already installed then installing it again will give the prompt to uninstall the game with message "game is already installed"?

Also is it possible to set game version?

Enluaphelis 03-07-2023 23:32

Quote:

Originally Posted by KaktoR (Post 499529)
Code:

v7.4.4
_____________________________________________________
- Updated BASS audio library to v2.4.17
- Fixed a minor issue with some labels in CompactMode installer step

This is the last update and the project is finished (closed) now.

Hello again!
I did everything just as you told me in another thread about how to combine Setup.dll and Records.ini into one Setup.exe file, but now I have an error after clicking on install.
https://imgur.com/a/m1rzePe
But this error does not happen when installing with Setup.dll and Records.ini being present in the folder, it installed game and it worked. (https://imgur.com/a/yHQKAB0)
But when using only Setup.exe with those .dll and .ini merged altogether into setup it says that method is unsupported, but it then why it worked and installed with those files being present? How to fix that? I want to only data and exe files to be present in the folder.
I used these settings in DiskSpan when compressing: https://imgur.com/a/5MPStJb

Also, why after compressing I got a normal Data01.bin file and weird Data02.bin.001 fie? And these files are in one DISK folder. It should've split them in DISK1 and DISK2 and they should've been Data01.bin and Data02.bin, isn't it?
https://imgur.com/a/FZOVsEz

Please check my settings, if I did something wrong so it crashes tell me what to fix please, I'd appreciate your help:)

Cesar82 04-07-2023 03:30

Quote:

Originally Posted by Enluaphelis (Post 501477)
Hello again!
I did everything just as you told me in another thread about how to combine Setup.dll and Records.ini into one Setup.exe file, but now I have an error after clicking on install.
https://imgur.com/a/m1rzePe
But this error does not happen when installing with Setup.dll and Records.ini being present in the folder, it installed game and it worked. (https://imgur.com/a/yHQKAB0)
But when using only Setup.exe with those .dll and .ini merged altogether into setup it says that method is unsupported, but it then why it worked and installed with those files being present? How to fix that? I want to only data and exe files to be present in the folder.
I used these settings in DiskSpan when compressing: https://imgur.com/a/5MPStJb

Also, why after compressing I got a normal Data01.bin file and weird Data02.bin.001 fie? And these files are in one DISK folder. It should've split them in DISK1 and DISK2 and they should've been Data01.bin and Data02.bin, isn't it?
https://imgur.com/a/FZOVsEz

Please check my settings, if I did something wrong so it crashes tell me what to fix please, I'd appreciate your help:)

Use names Data1-01.bin to Data1 e Data2-01.bin to Data2 to hide .001 extension

Enluaphelis 04-07-2023 03:39

Quote:

Originally Posted by Cesar82 (Post 501482)
Use names Data1-01.bin to Data1 e Data2-01.bin to Data2 to hide .001 extension

Okay, thanks. Also, can I rename them to something like Data01 or etc. afterwards? Also with changing it in Records.ini? Will it break the installation?

KaktoR 04-07-2023 06:47

From what I remember, it is not possible to rename the archives afterwards if you used diskspan method. If you checked the "Unlimited" tab in DSG or used the "Split mode", it should be possible though.

Cesar82 04-07-2023 08:45

Quote:

Originally Posted by Enluaphelis (Post 501483)
Okay, thanks. Also, can I rename them to something like Data01 or etc. afterwards? Also with changing it in Records.ini? Will it break the installation?

As KaktoR has already answered, the Span mode (CLS-DiskSpan.dll) requires the original creation data naming.
After kaktoR's comment, I remembered that you can use Data1.bin, Data2.bin, Data3.bin, but when compressing you must choose the UNLIMITED tab (Do not check the customization checkboxes). This way the CLS-DiskSpan.dll library will not be used so it will allow names Data1.bin, Data2.bin, etc.
https://i.imgur.com/vrhKyD0.png

INFO: Currently the "SPLIT" mode allows you to change the name in the Records.ini file, but in the next version of DiskSpan GUI the SplitLib.dll library that is used to split and merge the files will be updated and will probably require original names generated in the creation of the split file.

Enluaphelis 04-07-2023 20:59

Quote:

Originally Posted by KaktoR (Post 501487)
From what I remember, it is not possible to rename the archives afterwards if you used diskspan method. If you checked the "Unlimited" tab in DSG or used the "Split mode", it should be possible though.

I got it, thx. But I still have an error after merging Setup.dll and Records.ini into one Setup.exe. Setup process simply crashes with that error: https://imgur.com/a/m1rzePe

This does not happen and installation works when Setup.dll and Records.ini being present. I want it to work with merged Setup.exe. Please help me:)

KaktoR 04-07-2023 23:23

The folder structure has to look like this
https://i.imgur.com/NhRe98I.png
https://i.imgur.com/NhRe98I.png

Enluaphelis 05-07-2023 00:15

Quote:

Originally Posted by KaktoR (Post 501493)
The folder structure has to look like this
https://i.imgur.com/NhRe98I.png
https://i.imgur.com/NhRe98I.png

Oh, so that is the reason why it did not work?
But DECOMPRESSOR folder in ASIS is empty. It was empty by default.

From where do I have to move this files into this folder?

And which ones do I have to move? For example in this repack I use msc+srep and srep+lolz

UPD: I threw everything in "Resources" folder of DiskSpan into DECOMPRESSOR folder and it still doesn't work, also tried with the same files on your screenshot :(

KaktoR 05-07-2023 00:50

You have two choices:
1. Rename Setup.dll (which DSG creates) to Setup.arc and extract the file into DECOMPRESSOR folder with FreeArc.
2. In DiskSpan_GUI folder, go to "Resources\INSTALLER" and pick the files you need and copy them to DECOMPRESSOR folder.

For the second choice you have to pay attention to some things:
1. If you used precompressors like XTool, you have to create a folder with the same name in DECOMPRESSOR folder like the precompressor you used.
2. ARC_*.ini and CLS_*.ini are required in any case.

In your methods srep+msc and srep+lolz you have to copy the following files:
"Resources\INSTALLER\ARC\*" (all files here)
"Resources\INSTALLER\LOLZ\*" (all files)
"Resources\INSTALLER\MSC\CLS-MSC_TAK.dll"
"Resources\INSTALLER\SREP\CLS-SREP_NEW*.*"

However I recommend to follow the first choice, as it is the simpliest way.

Enluaphelis 05-07-2023 00:59

Quote:

Originally Posted by KaktoR (Post 501495)
You have two choices:
1. Rename Setup.dll (which DSG creates) to Setup.arc and extract the file into DECOMPRESSOR folder with FreeArc.
2. In DiskSpan_GUI folder, go to "Resources\INSTALLER" and pick the files you need and copy them to DECOMPRESSOR folder.

For the second choice you have to pay attention to some things:
1. If you used precompressors like XTool, you have to create a folder with the same name in DECOMPRESSOR folder like the precompressor you used.
2. ARC_*.ini and CLS_*.ini are required in any case.

In your methods srep+msc and srep+lolz you have to copy the following files:
"Resources\INSTALLER\ARC\*" (all files here)
"Resources\INSTALLER\LOLZ\*" (all files)
"Resources\INSTALLER\MSC\CLS-MSC_TAK.dll"
"Resources\INSTALLER\SREP\CLS-SREP_NEW*.*"

However I recommend to follow the first choice, as it is the simpliest way.

I agree with the 1st choice, I renamed it to .arc but how do I extract it? How do I use FreeArc? When I open Arc.exe it just closes. Sorry for stupid questions, I'm a newbie :)

Cesar82 05-07-2023 03:33

Quote:

Originally Posted by Enluaphelis (Post 501496)
I agree with the 1st choice, I renamed it to .arc but how do I extract it? How do I use FreeArc? When I open Arc.exe it just closes. Sorry for stupid questions, I'm a newbie :)

If you are using DiskSpan GUI to compress and want to create Setup.dll before compression you can use the TOOLS button, "Setup DLL" tab.
Choose the "MAKE" subtab and paste a method line on each line of the memo and click "Make DLL".
If you are in doubt about the method lines used, you can generate them by searching for the method in another instance of DiskSpan GUI or in DSG_Settings.ini in the "Resources" folder (if you have already configured your methods in Developer mode).

Enluaphelis 05-07-2023 03:48

Quote:

Originally Posted by Cesar82 (Post 501498)
If you are using DiskSpan GUI to compress and want to create Setup.dll before compression you can use the TOOLS button, "Setup DLL" tab.
Choose the "MAKE" subtab and paste a method line on each line of the memo and click "Make DLL".
If you are in doubt about the method lines used, you can generate them by searching for the method in another instance of DiskSpan GUI or in DSG_Settings.ini in the "Resources" folder (if you have already configured your methods in Developer mode).

It worked! Thank you!
So in this case I don't have to put stock Setup.dll from DSG into DECOMPRESSOR when doing final Setup.dll? Only put decompressed files from .dll and records.ini, right?

Enluaphelis 05-07-2023 04:11

Any way I can change colors of the button hover, selection and progress bar?
https://imgur.com/a/73NZvTb

KaktoR 05-07-2023 05:21

The color is part of the skin file. Unfortunatelly you cannot change it.

Cesar82 05-07-2023 08:22

Quote:

Originally Posted by Enluaphelis (Post 501500)
It worked! Thank you!
So in this case I don't have to put stock Setup.dll from DSG into DECOMPRESSOR when doing final Setup.dll? Only put decompressed files from .dll and records.ini, right?

you will only need to merge records.ini.
For that you can use the "Records" tab in the same tool tab group as the DSG.

LinkSystem 12-07-2023 10:36

Hello brothers! I want to apologize right away for English (I use Google translator). Please make someone an archive for an example - put all the necessary files (data-1.bin, data-2.bin ... + ready-made files setup.dll , Records.ini ...). I need this to understand how everything works in more detail using an example. To the archives of the game (data-1.bin, data-2.bin) you can put any small files, this is just for example. The main thing is that everything is installed from this archive, as if this is the game. Thank you in advance! Have a nice day!

ravikant 25-07-2023 21:29

I have two bins created by diskspan, i want to use ASIS for my installer but i don't know how to use it

The decompressors folder is empty, i am using xtool srep and lolz as my compression method

Can you give me steps so that i can make a clean installer for my created files


All times are GMT -7. The time now is 09:54.

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