View Full Version : XML File Changes issue

07-17-2007, 02:42 PM

I have InstallScriptMSI project. I have XML files which needs to be updated with SQLServer name ( selected by user at runtime). So I typed a <SQLSERVERNAME> in Content box of XML element in the Advanced tab.
Then I did TextSubSetValue( "<SQLSERVERNAME>", szServerName, TRUE ) in OnBegin event in the installscrtipt.

The xml file created by setup during runtime have <SQLSERVERNAME> instead of actual server name.

Any ideas?? What I am doing wrong?

07-17-2007, 02:57 PM
Never mind. I got it working. Since I am using InstallshieldMSI project, I have to use Window Installer property instead of string variables