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)

Masquerade 15-08-2020 06:34

Quote:

Originally Posted by KaktoR (Post 487425)
PS: Please use this file for translation. It has changed a lot since 7.1.7
https://anonfiles.com/f80bXcM9o4/CustomMessages_iss

Alright, I'll give that version from now on - my script is a butchered 7.1.4 version and I haven't upgraded since.

Atakanbasturk 23-08-2020 03:46

Setup.exe suddenly closes itself...
 
1 Attachment(s)
I compressed Spider-Man 3 files with UltraARC.

Config0.ini:

MASK = msc+lzma2

[External compressor:msc]
;Cls library in CIU
header = 0
default = -raw=1 -bmf=9 -bmp=1 -wav=1 -mp3=1
packcmd = "MEDIA\MSC\MSC" c -f -v -mp3=1 InFile OutFile
datafile = InFile
packedfile = OutFile

[External compressor:lzma2,Lzma2]
header = 0
default = :d25:fb=273:mf=bt4:mc=1000000:lc=4:lp=0
packcmd = "7z\7z_x64" a -txz -an -mcrc=0 -m1=lzma2:d1024m:mf=bt4:fb=273:lc=4:lp=0 -mmt=2 -mx9 -si -so <stdin> <stdout>

UltraARC's unpack.exe file can extract final file successfully. But When I use ASIS final version(compile script and run setup.exe), setup.exe closing when it reaches %87,7 everytime.

https://www.youtube. com/watch ?v=FYLmxA3TgvY

NOTE: I tried Spider-Man Web of Shadows and setup.exe successfully extract files.

Script.iss and Setting.ini in attachment.

NOTE 2: My RAMs, processor and SSD are fine. Tested with MemTest+, Aida64 Extreme and Samsung Magician.

Windows 10 pro 64 bit
32 GB DDR4 RAM
İntel i7 6700K

XxAZAxX 23-08-2020 15:27

Hi KaktoR, In the first post there are some old updates and the initial version, I was wondering if one day you would upgrade the updated version that is the whole package, because I have seen several scattered here and there and I would not make mistakes by making some copies paste wrong ... if you ever have the time I hope you will update it in the first post all ASIS package Thanks bro, and hope it's not a nuisance.. that's a really great job!

LordxKinG 24-08-2020 22:27

Why if I create diskpan lzma x4 cannot extract with ASIS Installer, it's always error at 50-70% installation Progress (it say file corupted) and if i tested on CIU v3 i'ts work normaly, any way for fix it?
Thanks and sorry for my bad english :D

Masquerade 28-08-2020 03:51

Hi, is there any possibility of being able to change how the progress bar measures the archives? I know currently it sits at equal length for each archive, so 2 archives = 50% each.

In the cases where I make 1 big archive and 1 small archive, is there a part of the script so I could make it 60/40 or 80/20 instead of 50/50?

KaktoR 28-08-2020 06:43

Yes, but code rework is needed inside procedure UltraArc. Or simply use the example for freearc unpacking for inno setup (isdone example) and replace procedure UltraArc with the example and call it on CurStep ssInstall.

The function you are looking for is ISArcExtract (possibly with a records.inf file, but not needed). I think there are some old scripts here which use this example (or sort of). If I'm not mistaken the old blackbox script use this too.

The records.inf file is only needed if you don't want to edit the script for each archive/size every time (it is like records.ini, but with addition for archive sizes, percentages, etc.).

I don't know if you can use components then, but I don't think so.

KaktoR 28-08-2020 10:25

1 Attachment(s)
Here is a new preview.

Code:

- Updated PrecompX
  > It now use the cls version (hopefully it works lol)
- Updated help file
- Updated VCL viewer source code
- Added UE4 decryption tool
  > Thanks to Razor12911
- Added compatibility with "Tiny Compressor v1.4"

**Known bugs
- "Next Button" on CompactMode is still active on install process
- Radio buttons on LicensePage are misplaced on 125% sclaing and above (the more, the worst it gets lol)


LordxKinG 28-08-2020 20:44

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 487626)
Here is a new preview.

Code:

- Updated PrecompX
  > It now use the cls version (hopefully it works lol)
- Updated help file
- Updated VCL viewer source code
- Added UE4 decryption tool
  > Thanks to Razor12911
- Added compatibility with "Tiny Compressor v1.4"

**Known bugs
- "Next Button" on CompactMode is still active on install process
- Radio buttons on LicensePage are misplaced on 125% sclaing and above (the more, the worst it gets lol)


Hi KaktoR, thanks for release Update,
I want ask how to fix if decompression fails like this? I use Diskspan Tools, Thanks

https://fileforums.com/attachment.ph...1&d=1598672504

XxAZAxX 31-08-2020 09:36

Background changed?
 
1 Attachment(s)
Hello KaktoR, I updated to the latest version you posted a little while ago .. But I found a very trivial problem but I can't solve it .. that is basically the background has changed and I can't understand where I have to change to put it back in its place .. here is a screen to make you understand between the 2 versions ..

The old version was: 7.1.7H2
The new version is: 7.2.0 Update 7
Skin in use: TabletDark.vsf

Thank you very much for helping. :)

KaktoR 31-08-2020 11:38

1 Attachment(s)
No problem here

XxAZAxX 31-08-2020 12:51

Hi bro
 
Quote:

Originally Posted by KaktoR (Post 487686)
No problem here

Problem solved, I had to clear the computer cache... I had messed up the memory all here. Thanks again

lomesmo 02-09-2020 12:49

1 Attachment(s)
Thanks for all the hard work. I have a problem when I tried to do a setup of 32bits or 64bits it give me this error, I change in Settings.ini and that happens

lomesmo 03-09-2020 05:41

Also KaktoR anychance to add suport to the new XTool 2020 (Main Project)? That would be awesome

kocchi96x 07-09-2020 05:15

@KaktoR Have you ever fixed the remaining time for multiple archives?

KaktoR 07-09-2020 08:06

No.

Maybe I will change the time system some day :D

KaktoR 07-09-2020 08:41

Quote:

Originally Posted by lomesmo (Post 487718)
Also KaktoR anychance to add suport to the new XTool 2020 (Main Project)? That would be awesome

I will wait until it's finished.

Nezha 08-10-2020 14:13

What is exactly SREP "new version" and "old version"?
It seems the majority of tools here use the old one (I guess from the ones I've tried, at least) and I can't find anything newer online or any changelog/documentation.

Masquerade 08-10-2020 15:10

Old version: srepinside

A one piece software, cls-srep.dll handled all srep operations. This tool has limited cls options.

New version: cls-srep

A 3 piece software - cls-srep.dll with an x86 and x64 binary accompanying it. This tool has more options + greater stability under larger workloads.

alucard1973 24-10-2020 02:27

how do you uninstall a save folder from a game?
Thanks

KaktoR 24-10-2020 02:42

The installer doesn't do this automatically.

Maybe in next release.

alucard1973 24-10-2020 04:47

Quote:

Originally Posted by KaktoR (Post 488559)
The installer doesn't do this automatically.

Maybe in next release.

thanks

on the other hand there is a problem, when canceling an installation in progress, the installation folder is not deleted

alucard1973 25-10-2020 03:32

Another but important problem, if the components like DLC and Languages ​​of the game have been activated, we cannot check or uncheck

mr_gnar 10-12-2020 08:19

My ASIS is having issues decompressing something with plz4, (Unarc -2) even if ZTool is enabled on the GUI. What can I do to fix this? I tried adding different decompression files for ZTool in the BPK folder so it gets included in the installer, and I get the same issue.

Masquerade 10-12-2020 10:59

@mr_gnar

make sure arc.ini is configured correctly. Unarc -2 is missing decompressor, so it's an error for you, not the installer.

KaktoR 24-12-2020 04:18

1 Attachment(s)
Code:

v7.2.2
_____________________________________________________
- Updated compressors
- On cancelling installation the {app} folder will now be deleted
- Added XTool 2020 support
- Added DiskSpan_GUI support (thanks to Cesar82)

If everything is good I will use this as a final version (finished this script).

rishikrap 24-12-2020 05:37

3 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 489539)
Code:

v7.2.2
_____________________________________________________
- Updated compressors
- On cancelling installation the {app} folder will now be deleted
- Added XTool 2020 support
- Added DiskSpan_GUI support (thanks to Cesar82)

If everything is good I will use this as a final version (finished this script).

Support for xzlib+srep_new+lolz_mtx please some day in the future.
Getting this error for my Rocket League

Attachment 28634

Also, when I try compact installer, I get this error.
Attachment 28635

Basically, it asks for the installation location but there's no next button to click so, it's just stuck there, also, the x button to end it doesn't work, have to end it via task manager.
I also got it in the old version, I thought, you'd have fixed it in this one but it still persists. It could also be my mistake in the settings file, so I'm attaching it here for you to take a look just in case.

Also, I changed the AppName in the script.iss file because I got this error when I compiled the script, it compiled the script after that.
Attachment 28636

KaktoR 24-12-2020 06:02

What Inno Setup version you're using for compile the script? Did you test with Compile_Script.bat file?

rishikrap 24-12-2020 06:45

Quote:

Originally Posted by KaktoR (Post 489543)
What Inno Setup version you're using for compile the script?

Latest, 6.1.2

Quote:

Did you test with Compile_Script.bat file?
Yes.
Here's my output, if you wanna check what's going wrong.
Rocket League xzlib+srep_new+lolz_mtx

KaktoR 24-12-2020 16:21

1 Attachment(s)
Quote:

Originally Posted by rishikrap (Post 489544)
Latest, 6.1.2

Unicode or ANSI?

You said you have changed AppName inside script.iss. Send me your script.iss file please. PS: Only change AppName inside Settings.ini file.

Quote:

Originally Posted by rishikrap (Post 489541)
Also, when I try compact installer, I get this error.
Attachment 28635

I don't have this error here so I can't say for sure. Maybe because of IS version. I will look in next days.

---------------------------------------

Here is a hotfix for the cancel button. I didn't had time to look further (christmas things).

KaktoR 27-12-2020 15:49

1 Attachment(s)
Here is a proper fix for the cancel button along with some other fixes and changes.

L0v3craft 29-12-2020 13:40

Hi, i like this installer but i want adapt it to my ways to compress videogames.

1. I don't want use UltraARC 2900 R9

2. I don't want use COMPRESSOR_GUI

To compress i'm using and old version of the masked compression. It has a .bat file to run the compression, Arc.exe, arc.ini (with methods and commands to compress inside), arc.groups and all the exe of the compressors/tools that i'm using. So to compress i must run the bat file, select the game folder and the compression starts. It is very simple and i can see how are working all the tools. And i can add new tools and commands to compress very simply.

I want that this installer has a folder with all my tools inside, compress all the tools inside the setup.exe (exactly like "Windows Phone Installer" does) and when i run it, it decompress all the tools files inside the temporary folder of windows.

Someone can help me please?

Cesar82 29-12-2020 15:42

Quote:

Originally Posted by L0v3craft (Post 489617)
Hi, i like this installer but i want adapt it to my ways to compress videogames.

1. I don't want use UltraARC 2900 R9

2. I don't want use COMPRESSOR_GUI

To compress i'm using and old version of the masked compression. It has a .bat file to run the compression, Arc.exe, arc.ini (with methods and commands to compress inside), arc.groups and all the exe of the compressors/tools that i'm using. So to compress i must run the bat file, select the game folder and the compression starts. It is very simple and i can see how are working all the tools. And i can add new tools and commands to compress very simply.

I want that this installer has a folder with all my tools inside, compress all the tools inside the setup.exe (exactly like "Windows Phone Installer" does) and when i run it, it decompress all the tools files inside the temporary folder of windows.

Someone can help me please?

You can use an older version of ASIS. Perhaps KaktoR still has earlier versions.
Or make your changes to the current script to include your compressors within setup.exe.

L0v3craft 29-12-2020 16:12

Quote:

Originally Posted by Cesar82 (Post 489618)
You can use an older version of ASIS. Perhaps KaktoR still has earlier versions.
Or make your changes to the current script to include your compressors within setup.exe.

Yes but how to do that exactly? For example the first problem is that the setup checks if is present a "setup.dll" file created from "COMPRESSOR_GUI". And i don't know how to remove that requisite.

Cesar82 29-12-2020 17:05

Quote:

Originally Posted by L0v3craft (Post 489620)
Yes but how to do that exactly? For example the first problem is that the setup checks if is present a "setup.dll" file created from "COMPRESSOR_GUI". And i don't know how to remove that requisite.

I find it easier to use it with the Setup.dll external file.
Otherwise it would take a lot of stretches in the script for you to include your compressors.
Extracting the compressors from the Setup.dll file is much faster than extracting from within setup.exe.
You can create your own Setup.dll with your compressors, just by compressing the contents of your compressor folder with FreeArc using the -m1 method.
Then you can use your bat file to compress your game.
I think that in the UltraArc folder there is a BAT (_Compress Optional DLL) to you drop your compressors folder and Setup.dll will be generated.
Then just move Setup.dll to your Setup.exe.
Setup.dll supports including Arc.ini and CLS.ini with their original names.
You will also need the information of the compressed files in an external file records.ini (you can include Records.ini within Setup.dll).
You can also configure the methods on DiskSpan_GUI. DiskSpan_GUI is 95% configurable. DiskSpan_GUI will soon support freearc masks.

L0v3craft 30-12-2020 09:55

Quote:

Originally Posted by Cesar82 (Post 489621)
I find it easier to use it with the Setup.dll external file.
Otherwise it would take a lot of stretches in the script for you to include your compressors.
Extracting the compressors from the Setup.dll file is much faster than extracting from within setup.exe.
You can create your own Setup.dll with your compressors, just by compressing the contents of your compressor folder with FreeArc using the -m1 method.
Then you can use your bat file to compress your game.
I think that in the UltraArc folder there is a BAT (_Compress Optional DLL) to you drop your compressors folder and Setup.dll will be generated.
Then just move Setup.dll to your Setup.exe.
Setup.dll supports including Arc.ini and CLS.ini with their original names.
You will also need the information of the compressed files in an external file records.ini (you can include Records.ini within Setup.dll).
You can also configure the methods on DiskSpan_GUI. DiskSpan_GUI is 95% configurable. DiskSpan_GUI will soon support freearc masks.

Tested. The problem is that it doesn't decompress my "data.arc" archive. Also the file "records.ini" is present where is the setup, same for the setup.dll (tried also to create it manually with freearc). No errors, simply doesn't install anything.

Cesar82 30-12-2020 18:16

Quote:

Originally Posted by L0v3craft (Post 489629)
Tested. The problem is that it doesn't decompress my "data.arc" archive. Also the file "records.ini" is present where is the setup, same for the setup.dll (tried also to create it manually with freearc). No errors, simply doesn't install anything.

If you want to send me your project (by PM) I can help you more easily (send me the complete project including the compressors).

L0v3craft 31-12-2020 05:11

Quote:

Originally Posted by Cesar82 (Post 489633)
If you want to send me your project (by PM) I can help you more easily (send me the complete project including the compressors).

Incredible, this is the reason:

the original file "records.ini" that comes with ASIS is this:

[Record1]
Type=Freearc_Original
Source={src}\data.arc
Output={app}\
Disk=1

and it doesn't work, works only changing that "Type=Freearc_Original" to "Type=FreeArc_Original".

Infact the code does this check:

if Data[i - 1].Arc[0] = 'FreeArc_Original' then

it is "FreeArc" and not "Freearc".

Ele 31-12-2020 06:07

Quote:

Originally Posted by L0v3craft (Post 489643)
Incredible, this is the reason:

the original file "records.ini" that comes with ASIS is this:

[Record1]
Type=Freearc_Original
Source={src}\data.arc
Output={app}\
Disk=1

and it doesn't work, works only changing that "Type=Freearc_Original" to "Type=FreeArc_Original".

Infact the code does this check:

if Data[i - 1].Arc[0] = 'FreeArc_Original' then

it is "FreeArc" and not "Freearc".

But Inno setup is non case sensitive. isn't?

Cesar82 31-12-2020 08:43

Quote:

Originally Posted by Ele (Post 489644)
But Inno setup is non case sensitive. isn't?

ASIS even has a case sensitive comparison.
In CIU and LIS these options are compared with LowerCase.
You can change the ASIS script in 2 places, just by entering LowerCase.
Code:

if LowerCase(Data[i - 1].Arc[0]) = LowerCase('FreeArc_Original') then

if LowerCase(Data[i - 1].Arc[0]) = LowerCase('FreeArc_Split') then


velanne 31-12-2020 12:21

hi, how to remove create uninstaller?
Thank you
https://nsm09.casimages.com/img/2020...8817193571.png


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

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