Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You don't have to manually create CheckBoxes for that. The standard way to let the user choose what to install is to use the <code>[Types]</code> and <code>[Components]</code> sections of your script file.</p> <p>Take a look at the Componens.iss script located in your iss install folder\examples.</p> <pre><code>; -- Components.iss -- ; Demonstrates a components-based installation. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES! [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program DefaultGroupName=My Program UninstallDisplayIcon={app}\MyProg.exe OutputDir=userdocs:Inno Setup Examples Output [Types] Name: "full"; Description: "Full installation" Name: "compact"; Description: "Compact installation" Name: "custom"; Description: "Custom installation"; Flags: iscustom [Components] Name: "program"; Description: "Program Files"; Types: full compact custom; Flags: fixed Name: "help"; Description: "Help File"; Types: full Name: "readme"; Description: "Readme File"; Types: full Name: "readme\en"; Description: "English"; Flags: exclusive Name: "readme\de"; Description: "German"; Flags: exclusive [Files] Source: "MyProg.exe"; DestDir: "{app}"; Components: program Source: "MyProg.chm"; DestDir: "{app}"; Components: help Source: "Readme.txt"; DestDir: "{app}"; Components: readme\en; Flags: isreadme Source: "Readme-German.txt"; DestName: "Liesmich.txt"; DestDir: "{app}"; Components: readme\de; Flags: isreadme [Icons] Name: "{group}\My Program"; Filename: "{app}\MyProg.exe" </code></pre> <p>At runtime, the installer presents this dialog within the wizard:</p> <p><img src="https://i.stack.imgur.com/Iy1lZ.png" alt="Components dialog"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload