Re: [WiX-users] Uninstall deleting config file

2009-10-08 Thread Pan.Pantziarka
Thanks, Blair, that makes a lot of sense. Regards, Pan -Original Message- From: Blair [mailto:os...@live.com] Sent: 08 October 2009 12:54 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Uninstall deleting config file If the component is marked perma

Re: [WiX-users] Uninstall deleting config file

2009-10-08 Thread Pan.Pantziarka
Thanks. It doesn't delete now, but still can't remove a node on uninstall... Here's my code for adding an element Blurg, with a node called SonOfBlurg: To remove Blurg on uninstall: It successfully adds the new elements, but uninstall doesn't remove them. I

[WiX-users] Uninstall deleting config file

2009-10-07 Thread Pan.Pantziarka
I have an XML configuration file which is shared across a number of applications. My install appends to the this file OK, but when I uninstall it deletes the config file rather than just removing the elements that were inserted by the install. A snippet of the install code: I've also got the

Re: [WiX-users] Unable to use Xpath expressions

2009-10-07 Thread Pan.Pantziarka
As an aside, is it better to use XmlConfig? Does that use Xpath by default? Thanks. Pan -Original Message- From: Blair [mailto:os...@live.com] Sent: 06 October 2009 22:45 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Unable to use Xpath expressions

Re: [WiX-users] Unable to use Xpath expressions

2009-10-07 Thread Pan.Pantziarka
Thanks, that did the trick OK. -Original Message- From: Blair [mailto:os...@live.com] Sent: 06 October 2009 22:45 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Unable to use Xpath expressions XMLFile uses the msxml3 engine that was released before X

Re: [WiX-users] Unable to use Xpath expressions

2009-10-06 Thread Pan.Pantziarka
It successfully performs the first action and inserts the new element. But it fails the second action. -Original Message- From: Blair Sent: 06 October 2009 19:58 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Unable to use Xpath expressions Is it

[WiX-users] Unable to use Xpath expressions

2009-10-06 Thread Pan.Pantziarka
Hi, I'm new to Wix 3.0 and am trying to use it to insert new elements into a config XML file. The format of the file is something like this: first stuff more stuff I want to add another stuff element to the end of the file and am trying to use XMLFile as follows: