#1351
|
||||
|
||||
Not supported this way.
However you could save all actions for different games in a single bat file and use Code:
if Open CMD.exe and type Code:
if /?
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
statics (28-12-2023) |
Sponsored Links |
#1352
|
|||
|
|||
Quote:
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; |
#1353
|
|||
|
|||
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?
|
#1354
|
||||
|
||||
Yes
__________________
Haters gonna hate
|
#1355
|
|||
|
|||
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.
|
#1356
|
||||
|
||||
Set disk size in diskspan -> compress files -> create setup.exe -> copy setup.exe to the same folder where bin files are and install
__________________
Haters gonna hate
|
#1357
|
|||
|
|||
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
|
#1358
|
||||
|
||||
Then just move second bin file to another folder. Setup will ask for that file if first bin file is finished.
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
ozerune (17-02-2024) |
#1359
|
|||
|
|||
That did it, thank you so much!
|
#1360
|
|||
|
|||
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 Best regards |
#1361
|
||||
|
||||
Use Settings.ini for this
Code:
[Batch] Enable=1 BatchFile=Patch.bat Code:
@echo off setlocal EnableDelayedExpansion EnableExtensions "WemTool.exe" -d endlocal del "%~f0"
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
Cesar82 (08-04-2024) |
#1362
|
|||
|
|||
Hello, in Registry.iss what do I have to write in ValueType for the registry type REG_BINARY and REG_DWORD? Or is string the only ValueType that works?
|
#1363
|
||||
|
||||
Use InnoSetup help
Code:
ValueType The data type of the value. This must be one of the following: none string expandsz multisz dword qword binary If none (the default setting) is specified, Setup will create the key but not a value. In this case the ValueData parameter is ignored. If string is specified, Setup will create a string (REG_SZ) value. If expandsz is specified, Setup will create an expand-string (REG_EXPAND_SZ) value. If multisz is specified, Setup will create an multi-string (REG_MULTI_SZ) value. If dword is specified, Setup will create a 32-bit integer (REG_DWORD) value. If qword is specified, Setup will create a 64-bit integer (REG_QWORD) value. If binary is specified, Setup will create a binary (REG_BINARY) value.
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
Tigru (14-05-2024) |
#1364
|
||||
|
||||
A large number of users report this error:
RUNNING INSTALLER WITH SELECTED LANGUAGE FAILED. Code:5 What's the problem? |
#1365
|
||||
|
||||
^^
The setup is blocked by windows defender / windows smartscreen. Click the unblock button in the properties of the setup. |
The Following User Says Thank You to Masquerade For This Useful Post: | ||
Titeuf (19-05-2024) |
Thread Tools | |
Display Modes | |
|
|
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 03:24 |
Portable Installer Inno Setup Script | y_thelastknight | Conversion Tutorials | 59 | 23-10-2020 01:02 |
INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 03:05 |
Simple Arc Installer | 78372 | Conversion Tutorials | 1 | 15-06-2017 16:37 |
MSC+Srep+lzma Simple Script Example | gozarck | Conversion Tutorials | 10 | 07-09-2015 17:31 |