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
- :
- How to install an xml component conditionally
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
‎Aug 12, 2008
05:25 AM
How to install an xml component conditionally
(Installshield 2008, Basic-MSI)
My setup installs several xml files. Some xml files should not be installed during an update.
To achieve this, i put a condition on the xml file component: Not Installed.
Problem: The condition is ignored and the xml file is installed during an update.
The Msi-log tells
I don't want to install the xml file during an update because in this case the setup failed and rolled back. (See posts Post1 and Post2).
How can I install an xml component conditionally?
Any help would be greatly appreciated.
H.
My setup installs several xml files. Some xml files should not be installed during an update.
To achieve this, i put a condition on the xml file component: Not Installed.
Problem: The condition is ignored and the xml file is installed during an update.
The Msi-log tells
Action 11:59:16: ISXmlInstall.
InstallShield 11:59:16: Installing 1 XML component(s)
I don't want to install the xml file during an update because in this case the setup failed and rolled back. (See posts Post1 and Post2).
How can I install an xml component conditionally?
Any help would be greatly appreciated.
H.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 12, 2008
07:37 AM
In order to get a condition of a component evaluated during an update, the value of "Reevaluate Condition" has to be "Yes".
Next problem: Now the xml file is removed during an update. But I would prefer to leave it as it is.
How can I prevent a setup to change or remove an xml file during an update?
Any hint is welcome. Thanks.
H.
Next problem: Now the xml file is removed during an update. But I would prefer to leave it as it is.
How can I prevent a setup to change or remove an xml file during an update?
Any hint is welcome. Thanks.
H.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 12, 2008
08:56 AM
A component whose condition evaluates to false during an update is removed provided "Reevaluate condition" is set to "Yes".
Is this right?
I solved my issue by imposing condition "Not Installed" on the ISXmlInstall standard action (install sequence).
Another way would be to store all xml-values in properties at the beginning of the setup by a System Search and to update the xml files using these properties.
Is this right?
I solved my issue by imposing condition "Not Installed" on the ISXmlInstall standard action (install sequence).
Another way would be to store all xml-values in properties at the beginning of the setup by a System Search and to update the xml files using these properties.