|
|
|
#1
|
||||
|
||||
|
Thank you guys for Help
i want to combine records.ini to setup and i want to add component archive name and Redists does not work
__________________
Be kind so that people be kind with you Last edited by Spotless; 17-05-2022 at 12:22. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
What'd be the best solution for being able to use a custom directory constant for a component file? I'm interested in looking into using something like the "{sd}" constant for a given component entry.
I know such functionality is supported for specifying the path of an ".ini" file under [INISettings], but I'm not too sure how to implement it. I believe this is the section of the script I should be looking at, with the highlighted text being the value that I THINK indicates the working directory for where the file should be. Code:
ComponentFile := ExpandConstant('{src}\' + GetIniString('ComponentsSettings', 'Component' + IntToStr(CompIndexList[I]) + '.File', '', ExpandConstant('{tmp}\Settings.ini')));
if (ISDoneError = False) and FileExists(ComponentFile) then
if not ISArcExtract(0, 0, ComponentFile, ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
ISDoneError := True;
|
|
#3
|
||||
|
||||
|
Quote:
P.S: The current version you configure directly in the Records.ini file for each component. |
|
#4
|
||||
|
||||
|
I am able to change all components to use a given constant, was hoping though to be able to use a different constant for each component, thanks for the help nonetheless.
All the new functionality in newer versions of the script really have me seriously considering making the move from v7.2.0, honestly though the only thing stopping me is the super convenient "Compressor GUI", its a shame it was phased out after v7.2.0 . |
|
#5
|
||||
|
||||
|
Compressor GUI was eliminated to make way for DiskSpan GUI which has much more features and ease of compression doing everything automatically.
Why don't you use DiskSpan GUI? |
|
#6
|
||||
|
||||
|
Quote:
Sorry if I offended you, DiskSpan GUI is a great tool, just not my personal cup of tea. |
|
#7
|
|||
|
|||
|
hello I would like to add the equalizer if someone can give me a track? thank you in advance
|
|
#8
|
||||
|
||||
|
You don't have to use DiskSpan GUI for ASIS. You can still create your own archive which whatever tool you like. The only thing is you have to create a Setup.dll manualy. All of this is explained in Help folder\Setup.dll.txt
__________________
Haters gonna hate
|
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
Cesar82 (20-05-2022) | ||
|
#9
|
||||
|
||||
|
Ah sick yeah checking out v7.3.3 right now, things seem a lot more streamlined than the last time I checked out a newer revision, think I'll migrate over, the eye-boggling amount of new features/QoL improvements is too good to pass up on, plus being able to aggressively compress all the required compressors into a separate archive is super convenient, very confident this'll save at least a couple GB in space once I've rebuilt all my setup executables that were built using v7.2.0 .
Last edited by L33THAK0R; 20-05-2022 at 10:01. |
|
#10
|
||||
|
||||
|
Quote:
I attached the files referring to the old compressors that worked with the COMPRESSOR_GUI (They must be very outdated). With this GUI compressor you create the Setup.dll file that can be used with current ASIS (I think). It must be extracted to the ASIS folder. P.S: Add the 64BitOnly=0 key in the [Settings] section of the ASIS Settings.ini file so that you can use 32-bit compressors. To work on 32-bit systems, it is also necessary to remove the lines indicated below from the [Setup] section of the Script.iss of the ASIS v7.3.3 : Code:
ArchitecturesInstallIn64BitMode=x64 ArchitecturesAllowed=x64 EDIT: I attached a new file. Extract the COMPRESSOR (DSG) folder to the ASIS 7.3.3 folder. - Added a combobox in the COMPRESSOR_GUI interface to select the method used to compress Setup DLL. Last edited by Cesar82; 24-05-2022 at 14:05. |
|
#11
|
||||
|
||||
|
Quote:
Thank you also for the config batch file, I think you had given me some advice on how to do the same a while back but I never managed to get it working. Thanks again mate, with this I'll definitely be fully migrating to v7.3.3
|
|
#12
|
||||
|
||||
|
Quick question about specifying a file for a given Task/Component, what value determines what file to use in v7.3.3? Had a look through the help documentation as well as the script but can't find any reference of whether something like "Component1.File=" / "Task1.File=" is still used, as in v7.2.0, or whether its put inside the Settings.ini / Records.ini file.
|
|
#13
|
||||
|
||||
|
Code:
Component1.Name=Game 1 ... ... Code:
[Record1] ... Component=1 Code:
[Record1] ... Task=#
__________________
Haters gonna hate
Last edited by KaktoR; 22-05-2022 at 09:07. |
|
#14
|
||||
|
||||
|
[Run] section will not work.
The welcome text use "msgWelcomeLabel1" and "msgWelcomeLabel2" which you can't edit inside a isl file because they are "hard coded" somewhat (at least I did not found the strings anywhere), but I think maybe you can change the caption of it with "msgWelcomeLabel1.Caption := abc" Edit: I talk bullshit. I forgot that "msg" before the label name means something which I forgot in the meantime... The label name which you are looking for is "WelcomeLabel1" and "WelcomeLabel2" in the *.isl files.
__________________
Haters gonna hate
Last edited by KaktoR; 27-05-2022 at 09:34. |
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
abror (27-05-2022) | ||
|
#15
|
||||
|
||||
|
thanks to both of you
Is there any difference between the inno setup in Resources\IS_Files\Compil32Ex.exe and the one I installed (version 6.2.1)? I'm confused which one to use Will compiling using script.iss and using inno setup version 6.2.1 run smoothly? |
![]() |
|
|
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 |