cancel
Showing results forย 
Showย ย onlyย  | Search instead forย 
Did you mean:ย 
ashish_salunke
Level 2

XML file changes - How to set XML destination file path!!

Hi,

InstallShiled has a functionality to make the XML file changes using the XML file changes view under System configurations. In general tab we are suppose to specify the location of XML file on target machine. Can we set this file path dynamically using installscript.

Actually i have following requirement.
I need to add some tags to web.config of a site which is hosted on IIS on target machine. I am able to locate the absolute physical path of web.config on target machine. I want to set this path in "XML file destination" property of XML file changes view. Is it possble to do so?
Labels (1)
0 Kudos
(1) Reply
ashish_salunke
Level 2

Got it ๐Ÿ™‚

Set the destination property of the component at runtime. Following link illustrates the same.

http://blog.davidroossien.com/softeng/documents/InstallShield%202010,%20InstallScript,%20Directory%20Properties%20and%20Windows%20Environment%20Variables.pdf
0 Kudos