View Single Post
  #2  
Old 11-09-2022, 10:08
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Smile

Quote:
Originally Posted by pcblizzard View Post
Funny, that's exactly the problem I'm having right now, and wanted to ask what the problem is. Both “DirectX” and “Microsoft Visual C++ 2015-2022” are simply ignored.

Code:
[Redists]
Enable=1

Redist1.Enable=1
Redist1.Name=Microsoft DirectX
Redist1.Level=0
Redist1.ItemType=CHECK
Redist1.Checked=1
Redist1.Enabled=1
Redist1.Exe32={app}\_redist\directx\DXSETUP.exe
Redist1.Exe64={app}\_redist\directx\DXSETUP.exe
;Redist1.Param=/silent

Redist2.Enable=1
Redist2.Name=Microsoft Visual C++ 2015-2022
Redist2.Level=0
Redist2.ItemType=CHECK
Redist2.Checked=1
Redist2.Enabled=1
Redist2.Exe32={app}\_redist\vc_redist_2015_2022\VC_redist.x86.exe
Redist2.Exe64={app}\_redist\vc_redist_2015_2022\VC_redist.x64.exe
;Redist2.Param=/q /norestart
And is it possible to say in the “settings.ini” that e.g., “Microsoft Visual C++ 2015-2022” is mandatory and the entry is preselected and not deselectable? In the normal Inno setup script [under “Components”] the “Fixed” command works, but not here.
Try with this hotfix (I didn't have time to test).
Attached Files
File Type: rar ASIS 7.36 (Fix Redist).rar (39.7 KB, 12 views)
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Titeuf (19-09-2022)