|
|
|
#1
|
||||
|
||||
|
Not without rewriting bunch of code.
I think the fastest "workaround" would be to include records.ini to setup.exe and let it unpack to temp folder (or let setup.exe create a new one instead). Before archive unpacking starts, use SaveStringToFile function and change "Source=" to source dir (from where you install) and "Output=" to target dir (destination of the game or whatever). I have not looked up the code, but all needed info should be in "procedure UltraArc". This way records.ini will be stored and read from %temp% folder instead of source folder (so it's not directly visible to the users). The complicated way is to use ISArcExtract Code:
if not ArcExtract(100,'Archive.arc') then break;
__________________
Haters gonna hate
Last edited by KaktoR; 15-12-2018 at 15:23. |
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
kocchi96x (15-12-2018) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
|
|
#3
|
||||
|
||||
|
Yep, its not so complicated, i had this already done for my setups on asis. Just include the records.ini on the asis script to be copy over to the tmp folder just the same way you include an compressor. Then change on the script the src values to tmp for the records.ini. Works perfect this way
|
|
#4
|
||||
|
||||
|
Here is a detailed way how to add it to asis (in my case i place the records.ini where the settings.ini file is). I add some more code so if someone wants to add it it can be located in easy way
First part on very top of the script: Code:
#define ScriptVersion "7.1.0" #include "Settings.ini" #include "Compressor.ini" #include "Records.ini" Code:
Source: Include\ASIS.png; DestDir: {tmp}; Flags: dontcopy;
Source: Include\ASIS.bmp; DestDir: {tmp}; Flags: dontcopy;
Source: Settings.ini; DestDir: {tmp}; Flags: dontcopy;
Source: Records.ini; DestDir: {tmp}; Flags: dontcopy;
Code:
ExtractTemporaryFile('Settings.ini');
ExtractTemporaryFile('Records.ini');
{src}\records.ini and change them to: {tmp}\records.ini Remember, records.ini should be placed on the root folder of asis this way. |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
Quote:
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Help] need Advanced Installer script with Razor1911's UltraArc module | rez3vil | Conversion Tutorials | 3 | 15-04-2024 02:24 |
| Portable Installer Inno Setup Script | y_thelastknight | Conversion Tutorials | 59 | 23-10-2020 00:02 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Simple Arc Installer | 78372 | Conversion Tutorials | 1 | 15-06-2017 15:37 |
| MSC+Srep+lzma Simple Script Example | gozarck | Conversion Tutorials | 10 | 07-09-2015 16:31 |