![]() |
Quote:
64BitOnly=0 (for x86/x64) 64BitOnly=1 (for x64 only) I dont think its possible to indicate the bit version on the OS section but im not 100% sure. |
It is possible, but you have to add the check for yourself on HW Page
Look in ISSysInfo.iss, there are all possible things Code:
function GetOSArchitecture: Byte; external 'GetOSArchitecture@files:ISSysInfo.dll stdcall delayload'; |
Ok forget that ^^
Thank |
it is not compatible with Inno setup 5.6 U
must have Inno Setup Enhanced Unicode otherwise welcome page is not shown |
Yep, or use included compiler.exe
|
I like this script and am enjoying how it works but their is one thing that bugs me, and thats the records ini is their some way i can get it to work with the setup exe itself without having to keep it in the source directory with it to work. Ive played around with it trying to get it work to no avail.
|
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; |
Quote:
|
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
|
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"Code:
Source: Include\ASIS.png; DestDir: {tmp}; Flags: dontcopy;Code:
ExtractTemporaryFile('Settings.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. |
Quote:
|
Quote:
|
I need some testers for next version (I made some big changes).
PM me if you're interested. |
Sorry Im new to this. Is there a tutorial on how to use this with other games?
|
no tutorial needed everything is handled by settings.ini. Download the archive & look in the setup folder, there you will see the images/names for them. Look in settings.ini for the corresponding line for the image name. Thats all there is to it basically. Edit the ini with the game information it asks for, find images you want to use, make them the same size as those in setup folder.
only change i've made is names... In settings.ini KaktoR has the name of the game before extension, ive just removed the name of the game & left it with just the name. IE: Code:
[Installer] |
| All times are GMT -7. The time now is 13:31. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com