View Single Post
  #1  
Old 11-09-2022, 01:14
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
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.

Last edited by pcblizzard; 11-09-2022 at 01:21.
Reply With Quote
Sponsored Links