Sunday, July 10, 2005

Adding PATH entries with WiX...

I know I'm going to need this later, so I'm posting it somewhere easy for me to find...


[Component Id='AppendPath' Guid='XXX-XXX-XXX-XXX-XXX']
[Environment Id='AppendPath' Name='PATH' Action='create' System='yes' Part='last' Value='[INSTALLDIR]' /]
[/Component]



And that's how you would append your installation directory to the path statement of the machine your app gets installed on!