This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to create a condition of installing one of two files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2010
07:39 PM
How to create a condition of installing one of two files
Hi All,
I need to give an user a choice of selecting one of two options; depending on the choice, it should add either file1 or file2 (the same target directory and same file names).
How can I do this?
I tried using Features, but doesn't give me a choice - either one or another.
Please advise.
Thanks!
I need to give an user a choice of selecting one of two options; depending on the choice, it should add either file1 or file2 (the same target directory and same file names).
How can I do this?
I tried using Features, but doesn't give me a choice - either one or another.
Please advise.
Thanks!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2010
12:38 AM
Add condition in the component level. make the two files as separte component and according to the return value from the user selection add the condition (eg: UserChecked=1)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2010
03:19 PM
andy928,
What type of project are you using? I'm using InstallScript and with that I unselected both Features (separate features for each file) and only selected them (in code) dependent on user interactions. I used this to determine which formated file the user was given...
I can't really help you much if you're using a MSI project...
What type of project are you using? I'm using InstallScript and with that I unselected both Features (separate features for each file) and only selected them (in code) dependent on user interactions. I used this to determine which formated file the user was given...
I can't really help you much if you're using a MSI project...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2010
02:17 AM
Thank you, guys. Sorrry for late replying... I am using MSI project. I will try adding conditions in the component level... should work, I think
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)