|
#11
|
|||
|
|||
|
Hey,
I have a question: in the "Script.iss" file, there is the "[Files]" section, I would like to copy files / folders, depending on what was selected during setup as a component, which I can define in the "Settings.ini" under "[ComponentsSettings]". But somehow I'm at a loss and don't know what to specify in the "[Files]" section, in the "Script.iss", so that either only the files from the Update 1 or Update 2 folder are copied. Script.iss: Code:
[Files]
Source: "Path to the Update 1-folder\*"; DestDir: "{app}"; Flags: external ignoreversion recursesubdirs createallsubdirs
Source: "Path to the Update 2-folder\*"; DestDir: "{app}"; Flags: external ignoreversion recursesubdirs createallsubdirs
Code:
[ComponentsSettings] Enable=1 FlatPageMode=0 ShowComponentSize=1 ;; requires at least two components to enable page. ;; if components is used the global size will be ignored. Component1.Name=Update 1 Component1.ItemType=RADIO Component1.Size=2,12 MB Component1.Level=0 Component1.Checked=1 Component1.Enabled=1 Component2.Name=Update 2 Component2.ItemType=RADIO Component2.Size=7,34 MB Component2.Level=0 Component2.Checked=0 Component2.Enabled=1 KR blizz |
|
|
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 |