Corey
Posts: 13
Joined: Tue Mar 25, 2014 4:54 am

Modify XML during Maintainince

Hi All,
I have an XML config file that is installed and configured with advanced installer. I want to know how I can modify this XML using the Maintenance Install sequence?

I Use install parameters to write the xml on initial install and am setting these install parameters as well on maintenance with no luck

Instlall Parameter
[INSTALLPARAM1] Value null

Published Event Install
Set Installer Property [INSTALLPARAM1] to [PROP1] if [RADIOBUTTON1] = "yes"
Set Installer Property [INSTALLPARAM1] to {} if [RADIOBUTTON1] = "No"

Published Event Maintenance
Set Installer Property [INSTALLPARAM1] to [PROP1_1] if [RADIOBUTTON1_1] = "yes"
Set Installer Property [INSTALLPARAM1] to {} if [RADIOBUTTON1_1] = "No"

XML
XML Attribute: [InstallParam1]
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Modify XML during Maintainince

Hello,

Please take a look on the "Modifying XML Configuration Files During Modify Phase" thread which debates a similar topic.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”