View Single Post
  #1464  
Old 07-06-2021, 03:59
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 747
Thanks: 168
Thanked 795 Times in 394 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by GaMEr_2077 View Post
is there any option in inno for example if component A is selected then the setup will extract specified file and if selected B then other specified filer
I use a similar feature to what you ask in my installer, to decide whether a user will have a full power installation or limited installation ("Low Resource Mode")

Code:
  if LowResourceCB.Checked then begin
    ExtractTemporaryFile('low_ARC.ini');
    ExtractTemporaryFile('low_CLS.ini');
  end else begin
    ExtractTemporaryFile('ARC.INI');
    ExtractTemporaryFile('CLS.INI');
  end;
Hopefully this helps you out. This code is tied with a checkbox.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
GaMEr_2077 (07-06-2021)