|
|
|
#1
|
||||
|
||||
|
You can use the folowing for CurStep = ssPostInstall or CurStep = ssDone (like you wish)
Code:
if IsComponentSelectedByName('Game Components\cm:PL') then
{Execute program here (you can use Exec2 function)}
if IsComponentSelectedByName('Game Components\cm:CZ') then
{Execute program here (you can use Exec2 function)}
__________________
Haters gonna hate
|
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Ok, after adding the conditions and trying to compile I've got an error says that a comma is expected. after looking at the end of the line the comma is added but in the 94-th column there should't be a comma. 2019-03-25_09h12_11.png I'm attaching my script. Last edited by Schabik; 25-03-2019 at 00:15. |
| The Following User Says Thank You to Schabik For This Useful Post: | ||
Titeuf (25-03-2019) | ||
|
#3
|
||||
|
||||
|
Quote:
Goto line 4225 and replace in this line end; by #endif Now goto line 3945 and delete this for lines ( 3945, 3946, 3947, 3948 ) and insert: Code:
#if UseComponents == "1"
if (IsComponentSelectedByName('cm:GameLang\cm:PL')) then
begin
WizardForm.ProgressGauge.Hide;
WizardForm.StatusLabel.Caption := ExpandConstant('{cm:PatchingFiles}');
Attached is a way for you to simplify the code of applying the path with xdelta. Only the file names change, so it's more practical to create a loop Last edited by Cesar82; 25-03-2019 at 02:23. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
Titeuf (25-03-2019) | ||
|
#4
|
|||
|
|||
|
Quote:
Nope, still the same ![]() Ok, I've got it now. in: Code:
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#Name}_is1', 'EstimatedSize', Round(InstallationSize / 1024));
my {#Name} constant is "Assassin's Creed", the apostrophe causes the error... Is there a way to replace the apostrophe for the name of the Game to be complete? Unfortunately I think the game's name must be with the apostrophe for registry entries to work
Last edited by Schabik; 25-03-2019 at 02:18. |
|
#5
|
||||
|
||||
|
Quote:
Code:
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#StringChange(Name, "'", "''")}_is1', 'EstimatedSize', Round(InstallationSize / 1024));
|
|
#6
|
|||
|
|||
|
Quote:
Thanks ![]() Ok, About DPICalculator, I think it Does work for 125% Scale but on 100% it does This: 2019-03-25_14h14_37.png and on 150% does this: 2019-03-25_14h15_52.png Last edited by Schabik; 25-03-2019 at 05:17. |
| The Following User Says Thank You to Schabik For This Useful Post: | ||
Cesar82 (25-03-2019) | ||
|
#7
|
||||
|
||||
|
Quote:
Here in Full HD resolution change to 125%, 150% 175% works normal.
|
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
Titeuf (25-03-2019) | ||
![]() |
| Thread Tools | Search this Thread |
| 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 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 |