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)

Lord.Freddy 25-07-2023 22:46

Quote:

Originally Posted by ravikant (Post 501702)
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

That "decompressor" folder is just to create a "setup.dll" file, but if you're using DSG, you already have that, got it?

And after that, you need to edit the "settings. ini" file to apply your settings, then just run the "Compile_Script.bat" file to compile the script and move the (Setup.exe, Setup.ico) to the folder containing your archive and "records.ini" and "Setup.dll". :)

ravikant 25-07-2023 22:54

I read in the previous posts that we need to extract setup.dll in decompressor folder

also if i rename my archives[i am using unlimited in diskspan] how do i configure the same for my installer

Lord.Freddy 25-07-2023 23:12

Quote:

Originally Posted by ravikant (Post 501705)
I read in the previous posts that we need to extract setup.dll in decompressor folder

NO need to do this.

Quote:

Originally Posted by ravikant (Post 501705)
also if i rename my archives[i am using unlimited in diskspan] how do i configure the same for my installer

when you create an archive with DSG, it's giving you a file that name is "records.ini" In this file, you can configure your archive name and other settings, for example, you have "Data.bin" file and you rename it to the "Data.bf", if you do that you need change that name in "records.ini" file too.

ravikant 25-07-2023 23:17

Thanks, i was able to test my installer and it is working perfectly

I have one more question

Can i run a crc check for bin file before installation and crc check for output files after installation

Can you also suggest me other diskspan compatible installers which have support from the creator till date

Lord.Freddy 25-07-2023 23:34

Quote:

Originally Posted by ravikant (Post 501707)
Can i run a crc check for bin file before installation and crc check for output files after installation

the crc check is available for the output files, and you need to check and turn it on in the first DSG page ( Also the ( [CRCCheck] ) section in "settings.ini"). crc check for the bin file is not available, and you need to add it yourself. If you don't know how to do this, ask in the (INNO TROUBLESHOOT - Questions Here) section (or here), they will answer you. :)

Quote:

Originally Posted by ravikant (Post 501707)
Can you also suggest me other diskspan compatible installers which have support from the creator till date

See this link

ravikant 26-07-2023 04:29

What is patch.bat in the setup folder of ASIS

KaktoR 26-07-2023 10:01

This is for the [Batch] section, if you want to do tasks after installing, like patching files, repacking files and such.

ravikant 26-07-2023 23:26

Quote:

Originally Posted by KaktoR (Post 501719)
This is for the [Batch] section, if you want to do tasks after installing, like patching files, repacking files and such.

It means i can do a post install hash check also.


Also how do i configure records.ini for optional files

KaktoR 26-07-2023 23:52

Post install hash check is already built-in. Either you can use the hash file created by DSG, or using your own and use quicksfv.

Code:

[CRCCheck]
Enable=                                                | Enable (1) or disable (0) the use of a hash check after installation is finished
                                                          Note that internal hash check is only usable if you used DiskSpan_GUI and created hash files with it.
                                                          If you want to use QuickSFV instead you have to set Enable=1 nevertheless
StartCheck=                                            | If enabled (1) CRC checkbox is enabled by default and Hash checking starts automatically after installation process
QuickSFV=                                              | Enable (1) if you want to use QuickSFV for file checking instead of internal Setup hash check
QuickSFVFile=                                          | Set the hash file to use for the hash check
                                                          It is possible to use sfv, md5, crc, csv and ckz files

For optional files, read "Help\Components and Tasks.txt".

Edit: Here is a example what a Patch.bat could look like. In this example I used "DELZORec_x64" as it will give the best output size on the game "Far Cry 5" last time I checked. First you have to unpack the game files with said tool, after installation you have to repack the files back to original. Note that the batch file will always run from {app} directory as working directory (I have to fix the help file).

Code:

@echo off
setlocal EnableDelayedExpansion EnableExtensions
TITLE Rebuilding game files, please wait...

DELZORec_x64.exe r "data_final\pc\common.unp" "data_final\pc\common.dat" "data_final\pc\common.fat"
del /F "data_final\pc\common.unp"
DELZORec_x64.exe r "data_final\pc\ige.unp" "data_final\pc\ige.dat" "data_final\pc\ige.fat"
del /F "data_final\pc\ige.unp"
DELZORec_x64.exe r "data_final\pc\igepatch.unp" "data_final\pc\igepatch.dat" "data_final\pc\igepatch.fat"
del /F "data_final\pc\igepatch.unp"
DELZORec_x64.exe r "data_final\pc\patch.unp" "data_final\pc\patch.dat" "data_final\pc\patch.fat"
del /F "data_final\pc\patch.unp"
DELZORec_x64.exe r "data_final\pc\patchshadersobj.unp" "data_final\pc\patchshadersobj.dat" "data_final\pc\patchshadersobj.fat"
del /F "data_final\pc\patchshadersobj.unp"
DELZORec_x64.exe r "data_final\pc\shadersobj.unp" "data_final\pc\shadersobj.dat" "data_final\pc\shadersobj.fat"
del /F "data_final\pc\shadersobj.unp"
if exist "data_final\pc\patch_english.unp" DELZORec_x64.exe r "data_final\pc\patch_english.unp" "data_final\pc\patch_english.dat" "data_final\pc\patch_english.fat"
if exist "data_final\pc\patch_english.unp" del /F "data_final\pc\patch_english.unp"
if exist "data_final\pc\patch_german.unp" DELZORec_x64.exe r "data_final\pc\patch_german.unp" "data_final\pc\patch_german.dat" "data_final\pc\patch_german.fat"
if exist "data_final\pc\patch_german.unp" del /F "data_final\pc\patch_german.unp"
if exist "data_final\pc\patch_italian.unp" DELZORec_x64.exe r "data_final\pc\patch_italian.unp" "data_final\pc\patch_italian.dat" "data_final\pc\patch_italian.fat"
if exist "data_final\pc\patch_italian.unp" del /F "data_final\pc\patch_italian.unp"
if exist "data_final\pc\patch_french.unp" DELZORec_x64.exe r "data_final\pc\patch_french.unp" "data_final\pc\patch_french.dat" "data_final\pc\patch_french.fat"
if exist "data_final\pc\patch_french.unp" del /F "data_final\pc\patch_french.unp"
if exist "data_final\pc\patch_spanish.unp" DELZORec_x64.exe r "data_final\pc\patch_spanish.unp" "data_final\pc\patch_spanish.dat" "data_final\pc\patch_spanish.fat"
if exist "data_final\pc\patch_spanish.unp" del /F "data_final\pc\patch_spanish.unp"
if exist "data_final\pc\patch_russian.unp" DELZORec_x64.exe r "data_final\pc\patch_russian.unp" "data_final\pc\patch_russian.dat" "data_final\pc\patch_russian.fat"
if exist "data_final\pc\patch_russian.unp" del /F "data_final\pc\patch_russian.unp"
if exist "data_final\pc\patch_japanese.unp" DELZORec_x64.exe r "data_final\pc\patch_japanese.unp" "data_final\pc\patch_japanese.dat" "data_final\pc\patch_japanese.fat"
if exist "data_final\pc\patch_japanese.unp" del /F "data_final\pc\patch_japanese.unp"
if exist "data_final\pc\patch_brazilian.unp" DELZORec_x64.exe r "data_final\pc\patch_brazilian.unp" "data_final\pc\patch_brazilian.dat" "data_final\pc\patch_brazilian.fat"
if exist "data_final\pc\patch_brazilian.unp" del /F "data_final\pc\patch_brazilian.unp"

DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars.fat"
del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_english.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_english.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_english.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_english.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_english.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_english.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_german.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_german.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_german.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_german.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_german.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_german.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_italian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_italian.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_italian.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_italian.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_italian.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_italian.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_french.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_french.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_french.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_french.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_french.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_french.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_spanish.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_spanish.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_spanish.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_spanish.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_spanish.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_spanish.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_russian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_russian.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_russian.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_russian.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_russian.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_russian.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_japanese.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_japanese.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_japanese.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_japanese.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_japanese.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_japanese.unp"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_brazilian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_mars\dlc_mars_brazilian.unp" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_brazilian.dat" "data_final\pc\downloadcontent\dlc_mars\dlc_mars_brazilian.fat"
if exist "data_final\pc\downloadcontent\dlc_mars\dlc_mars_brazilian.unp" del /F "data_final\pc\downloadcontent\dlc_mars\dlc_mars_brazilian.unp"

DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam.fat"
del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_english.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_english.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_english.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_english.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_english.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_english.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_german.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_german.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_german.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_german.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_german.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_german.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_italian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_italian.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_italian.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_italian.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_italian.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_italian.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_french.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_french.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_french.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_french.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_french.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_french.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_spanish.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_spanish.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_spanish.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_spanish.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_spanish.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_spanish.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_russian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_russian.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_russian.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_russian.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_russian.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_russian.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_japanese.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_japanese.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_japanese.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_japanese.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_japanese.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_japanese.unp"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_brazilian.unp" DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_brazilian.unp" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_brazilian.dat" "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_brazilian.fat"
if exist "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_brazilian.unp" del /F "data_final\pc\downloadcontent\dlc_vietnam\dlc_vietnam_brazilian.unp"

DELZORec_x64.exe r "data_final\pc\downloadcontent\dlc_zombies\dlc_zombies.unp" "data_final\pc\downloadcontent\dlc_zombies\dlc_zombies.dat" "data_final\pc\downloadcontent\dlc_zombies\dlc_zombies.fat"
del /F "data_final\pc\downloadcontent\dlc_zombies\dlc_zombies.unp"

DELZORec_x64.exe r "data_final\pc\ingameeditor\dlcpack0.unp" "data_final\pc\ingameeditor\dlcpack0.dat" "data_final\pc\ingameeditor\dlcpack0.fat"
del /F "data_final\pc\ingameeditor\dlcpack0.unp"
DELZORec_x64.exe r "data_final\pc\ingameeditor\igepack.unp" "data_final\pc\ingameeditor\igepack.dat" "data_final\pc\ingameeditor\igepack.fat"
del /F "data_final\pc\ingameeditor\igepack.unp"

DELZORec_x64.exe r "data_final\pc\worlds\farcry5.unp" "data_final\pc\worlds\farcry5.dat" "data_final\pc\worlds\farcry5.fat"
del /F "data_final\pc\worlds\farcry5.unp"
DELZORec_x64.exe r "data_final\pc\worlds\installpkg.unp" "data_final\pc\worlds\installpkg.dat" "data_final\pc\worlds\installpkg.fat"
del /F "data_final\pc\worlds\installpkg.unp"

if exist "data_final\pc\worlds\farcry5_english.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_english.unp" "data_final\pc\worlds\farcry5_english.dat" "data_final\pc\worlds\farcry5_english.fat"
if exist "data_final\pc\worlds\farcry5_english.unp" del /F "data_final\pc\worlds\farcry5_english.unp"
if exist "data_final\pc\worlds\farcry5_german.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_german.unp" "data_final\pc\worlds\farcry5_german.dat" "data_final\pc\worlds\farcry5_german.fat"
if exist "data_final\pc\worlds\farcry5_german.unp" del /F "data_final\pc\worlds\farcry5_german.unp"
if exist "data_final\pc\worlds\farcry5_italian.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_italian.unp" "data_final\pc\worlds\farcry5_italian.dat" "data_final\pc\worlds\farcry5_italian.fat"
if exist "data_final\pc\worlds\farcry5_italian.unp" del /F "data_final\pc\worlds\farcry5_italian.unp"
if exist "data_final\pc\worlds\farcry5_french.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_french.unp" "data_final\pc\worlds\farcry5_french.dat" "data_final\pc\worlds\farcry5_french.fat"
if exist "data_final\pc\worlds\farcry5_french.unp" del /F "data_final\pc\worlds\farcry5_french.unp"
if exist "data_final\pc\worlds\farcry5_spanish.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_spanish.unp" "data_final\pc\worlds\farcry5_spanish.dat" "data_final\pc\worlds\farcry5_spanish.fat"
if exist "data_final\pc\worlds\farcry5_spanish.unp" del /F "data_final\pc\worlds\farcry5_spanish.unp"
if exist "data_final\pc\worlds\farcry5_russian.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_russian.unp" "data_final\pc\worlds\farcry5_russian.dat" "data_final\pc\worlds\farcry5_russian.fat"
if exist "data_final\pc\worlds\farcry5_russian.unp" del /F "data_final\pc\worlds\farcry5_russian.unp"
if exist "data_final\pc\worlds\farcry5_japanese.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_japanese.unp" "data_final\pc\worlds\farcry5_japanese.dat" "data_final\pc\worlds\farcry5_japanese.fat"
if exist "data_final\pc\worlds\farcry5_japanese.unp" del /F "data_final\pc\worlds\farcry5_japanese.unp"
if exist "data_final\pc\worlds\farcry5_brazilian.unp" DELZORec_x64.exe r "data_final\pc\worlds\farcry5_brazilian.unp" "data_final\pc\worlds\farcry5_brazilian.dat" "data_final\pc\worlds\farcry5_brazilian.fat"
if exist "data_final\pc\worlds\farcry5_brazilian.unp" del /F "data_final\pc\worlds\farcry5_brazilian.unp"

if exist "data_final\pc\worlds\installpkg_english.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_english.unp" "data_final\pc\worlds\installpkg_english.dat" "data_final\pc\worlds\installpkg_english.fat"
if exist "data_final\pc\worlds\installpkg_english.unp" del /F "data_final\pc\worlds\installpkg_english.unp"
if exist "data_final\pc\worlds\installpkg_german.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_german.unp" "data_final\pc\worlds\installpkg_german.dat" "data_final\pc\worlds\installpkg_german.fat"
if exist "data_final\pc\worlds\installpkg_german.unp" del /F "data_final\pc\worlds\installpkg_german.unp"
if exist "data_final\pc\worlds\installpkg_italian.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_italian.unp" "data_final\pc\worlds\installpkg_italian.dat" "data_final\pc\worlds\installpkg_italian.fat"
if exist "data_final\pc\worlds\installpkg_italian.unp" del /F "data_final\pc\worlds\installpkg_italian.unp"
if exist "data_final\pc\worlds\installpkg_french.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_french.unp" "data_final\pc\worlds\installpkg_french.dat" "data_final\pc\worlds\installpkg_french.fat"
if exist "data_final\pc\worlds\installpkg_french.unp" del /F "data_final\pc\worlds\installpkg_french.unp"
if exist "data_final\pc\worlds\installpkg_spanish.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_spanish.unp" "data_final\pc\worlds\installpkg_spanish.dat" "data_final\pc\worlds\installpkg_spanish.fat"
if exist "data_final\pc\worlds\installpkg_spanish.unp" del /F "data_final\pc\worlds\installpkg_spanish.unp"
if exist "data_final\pc\worlds\installpkg_russian.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_russian.unp" "data_final\pc\worlds\installpkg_russian.dat" "data_final\pc\worlds\installpkg_russian.fat"
if exist "data_final\pc\worlds\installpkg_russian.unp" del /F "data_final\pc\worlds\installpkg_russian.unp"
if exist "data_final\pc\worlds\installpkg_japanese.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_japanese.unp" "data_final\pc\worlds\installpkg_japanese.dat" "data_final\pc\worlds\installpkg_japanese.fat"
if exist "data_final\pc\worlds\installpkg_japanese.unp" del /F "data_final\pc\worlds\installpkg_japanese.unp"
if exist "data_final\pc\worlds\installpkg_brazilian.unp" DELZORec_x64.exe r "data_final\pc\worlds\installpkg_brazilian.unp" "data_final\pc\worlds\installpkg_brazilian.dat" "data_final\pc\worlds\installpkg_brazilian.fat"
if exist "data_final\pc\worlds\installpkg_brazilian.unp" del /F "data_final\pc\worlds\installpkg_brazilian.unp"

del /F DELZORec_x64.exe
del /F /S /Q "data_final\pc\*.unp"

DEL "%~f0"
exit /B


ravikant 27-07-2023 04:26

is there any pre-install functionality or i have to use an external batch file

KaktoR 28-07-2023 12:07

What pre-install functionality do you mean exactly?

ravikant 28-07-2023 22:19

Quote:

Originally Posted by KaktoR (Post 501771)
What pre-install functionality do you mean exactly?

CRC check

ravikant 06-08-2023 08:32

The numbering of components inside installer is same as the components numbering in records.ini

Ning 07-08-2023 05:51

Hello, I only need to check the Create uninstaller option during the installation process (but it is checked by default), and the entire folder will be uninstalled immediately after the installation is complete, including the original packaged release and non-packaged files. And the pop-up window did not complete the installation.

Ning 09-08-2023 03:00

It prompts me that the setup.dll file is missing and asks me to put the file next to it, but after I do so, the progress bar of each installation does not scroll, and opening the task manager shows that the installer is not responding.

The error message is as follows: The required Setup.dll file was not found. Add the Setup.dll file next to this executable and try again.It prompts me that the setup.dll file is missing and asks me to put the file next to it, but after I do so, the progress bar of each installation does not scroll, and opening the task manager shows that the installer is not responding.

The error message is as follows: The required Setup.dll file was not found. Add the Setup.dll file next to this executable and try again.

https://i.postimg.cc/QHXV08rF/2023-08-09-164255.png
https://i.postimg.cc/QBfJ7ccn/2023-08-09-174452.png
https://i.postimg.cc/bs0bbQhH/2023-08-09-174508.png

KaktoR 09-08-2023 07:06

Send me Setup.dll + a test archive for unpacking

Ning 09-08-2023 10:38

Quote:

Originally Posted by KaktoR (Post 501918)
Send me Setup.dll + a test archive for unpacking

I'm sorry to trouble you. I have been studying your scripts for a month, but my English is very bad. All the way I read the news and tried to understand the content. Unfortunately, until today, my installation package still doesn't work properly. the whole process. I also send the script together, where is the error, please give me some advice! Thanks!

By the way, a suggestion, if you have time, please record a demo tutorial of your scripted complete installation process and other more specific operation details on YouTube! This will make it easier to understand the script to help more novices. Because I saw that other people in the forum also posted related teaching and demonstrations of repacks.

https://drive.google.com/file/d/1y_0...M7TmTppPN/view

KaktoR 09-08-2023 11:57

Please upload somewhere else, because I have no access to the file.

And I won't make a tutorial for scripting things lol.

Ning 09-08-2023 13:10

1 Attachment(s)
Quote:

Originally Posted by kaktor (Post 501922)
please upload somewhere else, because i have no access to the file.

And i won't make a tutorial for scripting things lol.


Attachment 35049

KaktoR 09-08-2023 13:57

It's working here. Maybe you forgot to use Records.ini, as the file was not present in your package.

https://i.imgur.com/ufcA9Be.mp4

Ning 10-08-2023 05:28

Quote:

Originally Posted by KaktoR (Post 501928)
It's working here. Maybe you forgot to use Records.ini, as the file was not present in your package.

https://i.imgur.com/ufcA9Be.mp4

I supplemented the information in Settings.ini according to your request, but when I tried to install it, it still showed that the program did not respond, and no error was reported. The data.bin archive file is also in the root directory.

https://imgur.com/a/OAr9wah

KaktoR 10-08-2023 07:02

You have to use a external Records.ini file. Do not put the information in Settings.ini.

ROKA1969 20-08-2023 20:05

my problem installer doesn't create program shortcut or unistal folder:

https://i.imgur.com/lzjXZaX.png

KaktoR 21-08-2023 04:07

Send me settings.ini

ROKA1969 21-08-2023 05:28

setting.ini:

https://pixeldrain.com/u/C41MP2t6

KaktoR 21-08-2023 06:24

Works fine here. Did you modified the script in any way?

ROKA1969 21-08-2023 10:07

I didn't modify anything, I think it's something in my system because users install it without a problem

Tmills 26-08-2023 02:50

I am currently using ASIS and want to change the background JPG slideshow to a single GIF image. I have found GifLib.dll but do not know how to adjust the script code and wondered if someone with know-how can do this for me or show me what needs changing. I have no real scripting experience and have tried GPT to help but not able to get it to work.

I have put the GifLib.dll in ASIS.v7.4.4\Resources\Modules\InstallBG folder.

can anyone help me?

KaktoR 15-11-2023 08:03

It has now a github page.

https://github.com/Knabberfee/ASIS

statics 28-12-2023 08:40

Firstly, I would like to thank you for the excellent script, it has helped me a lot!

My question is how do I check if a task is checked?
If the task is checked and installed it will run a .bat

This would help me make collections using individual patch runs for each task.

I'm a beginner at this, I can understand some things, I'd be happy to give me a tip on how to do this

NOTE: Sorry for the English, I'm using a translator to help with communication

KaktoR 28-12-2023 11:10

Not supported this way.

However you could save all actions for different games in a single bat file and use
Code:

if
command.

Open CMD.exe and type
Code:

if /?
to get additional help there.

statics 28-12-2023 12:51

Quote:

Originally Posted by KaktoR (Post 503208)
Not supported this way.

However you could save all actions for different games in a single bat file and use
Code:

if
command.

Open CMD.exe and type
Code:

if /?
to get additional help there.

I did a "Frankenstein" in the script, and I managed to make it work, in a pretty horrible way hahaha
Then I will try to improve the code...
Code:

     
if IsComponentChecked(2) and not IsDoneError then
      begin
        PercentLabel.Hide;
        ElapsedLabel.Hide;
        RemainingLabel.Hide;
        if FileExists(ExpandConstant('{tmp}\xdelta3.exe')) then
        begin
          FileCopy(ExpandConstant('{tmp}\xdelta3.exe'), ExpandConstant('{app}\xdelta3.exe'), False);
          WizardForm.FilenameLabel.Caption := ExpandConstant('{cm:BatchExecution}');
          WizardForm.FilenameLabel.Font.Size := 12;
          WizardForm.FilenameLabel.Left := WizardForm.ProgressGauge.Left;
          WizardForm.FilenameLabel.Top := WizardForm.ProgressGauge.Top;
          WizardForm.FilenameLabel.Width := WizardForm.ProgressGauge.Width;
          WizardForm.FilenameLabel.Height := WizardForm.ProgressGauge.Height;
          WizardForm.ProgressGauge.Hide;
          if FileExists(ExpandConstant('{app}\english.pak.xdelta')) then
          begin
            RenameFile(ExpandConstant('{app}\Game\Localized\english.pak'), ExpandConstant('{app}\Game\Localized\english.pak.tmp'));
            Exec(ExpandConstant('{app}\xdelta3.exe'), ' -d -B536870912 -qfs "Game\Localized\english.pak.tmp" "english.pak.xdelta" "Game\Localized\english.pak"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
            DeleteFile(ExpandConstant('{app}\xdelta3.exe'));
            DeleteFile(ExpandConstant('{app}\english.pak.xdelta'));
          end;
        end;
      end;


ozerune 17-02-2024 12:26

Is it at all possible to use this in combination with DiskSpan in order to make an installer that is split across multiple disks that you can insert one at a time similar to old DOS games?

KaktoR 17-02-2024 12:48

Yes

ozerune 17-02-2024 14:25

Quote:

Originally Posted by KaktoR (Post 503681)
Yes

Would you be able to give me a rough idea of what I would need to do? I understand how to make an installer with the created bin, ini, and dll files when they are in the same directory as the exe, but am not so sure as to where I should start to get ASIS reading off of disc drives.

KaktoR 17-02-2024 14:39

Set disk size in diskspan -> compress files -> create setup.exe -> copy setup.exe to the same folder where bin files are and install

ozerune 17-02-2024 15:29

Quote:

Originally Posted by KaktoR (Post 503684)
Set disk size in diskspan -> compress files -> create setup.exe -> copy setup.exe to the same folder where bin files are and install

I understand that much, but I want to have all of the setup and bin files on separate DVDs inserted one at a time. Say for example I have portal 2 split up into 2 bin files. I want 1 bin file, Setup.dll, Records.ini, and Setup.exe on one DVD. The install process will start as usual, but when the first bin is done extracting, get prompted to remove the DVD and insert Disc 2. Hopefully that example gives a better idea of what I'm asking is possible :)

KaktoR 17-02-2024 16:00

Then just move second bin file to another folder. Setup will ask for that file if first bin file is finished.

ozerune 17-02-2024 19:37

That did it, thank you so much!

wareck 08-04-2024 05:27

execute command during decompress
 
Hello
Can you help me fo this :

I would like to start a command line during decompress
unpack data-1a-01.bin
execute commande like wemtool
continue to unpack data-1b-01.bin

with diskspan , it makes a file record.ini like this

Code:

[Record1]
Type=FreeArc_Original
Source={src}\Data1a-01.bin
Output={app}\
Disk=1
Size=4.005.985.165 bytes

[Record2]
Type=Exec_Command
Source={cmd}
Output=/C "patch.bat"
Disk=1

[Record3]
Type=FreeArc_Original
Source={src}\Data1b-01.bin
Output={app}\
Disk=1
Size=16.231.822 bytes

[InstallerSettings]
SingleDisk=1

ASIS can do this kind of things ?

Best regards


All times are GMT -7. The time now is 08:37.

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