Hello, I searched around for this, but couldn't find anything.
I would like to install some files if Feature1 OR Feature2 has been selected. At first I assumed that I could simply get the selected state of each component and use an If to OR them together.
Of course, now I have come to find out that there is no such thing as OR in MSI Code! Is there anything I can do? This doesn't seem like it should be so difficult.
Thanks.
Installing files for multiple components
-
- Posts: 46
- Joined: Tue Aug 22, 2006 9:16 am
- Location: NorthEast, USA
- Contact:
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi Sean,
You can just install the Eval plug-in (available free from the Plug-Ins section of this forum) - that supports complex evaluations, including OR.
If you want to go native, just do something like this in pseudocode:
Whichever one works for you!
You can just install the Eval plug-in (available free from the Plug-Ins section of this forum) - that supports complex evaluations, including OR.
If you want to go native, just do something like this in pseudocode:
Code: Select all
Set COMMONFEATURE to FALSE
If FEATURE1 is SELECTED then COMMONFEATURE = TRUE
If FEATURE2 is SELECTED then COMMONFEATURE = TRUE
Whichever one works for you!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 46
- Joined: Tue Aug 22, 2006 9:16 am
- Location: NorthEast, USA
- Contact:
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi Again,
This isn't an evaluation restriction at all - the evals are fully functional! We don't want to inconvenience you in any way, before or after your purchase (ex: our product activation does not require an Internet connection).
The plug-in was built by the InstallAware community, along with many other helpful plug-ins - which are all available free (and some, including Eval, with source code). So just browse to the plug-ins section of this forum and fortify your InstallAware installation with even more tools and power!
This isn't an evaluation restriction at all - the evals are fully functional! We don't want to inconvenience you in any way, before or after your purchase (ex: our product activation does not require an Internet connection).
The plug-in was built by the InstallAware community, along with many other helpful plug-ins - which are all available free (and some, including Eval, with source code). So just browse to the plug-ins section of this forum and fortify your InstallAware installation with even more tools and power!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 46
- Joined: Tue Aug 22, 2006 9:16 am
- Location: NorthEast, USA
- Contact:
Who is online
Users browsing this forum: No registered users and 179 guests