Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-04-03 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > That sounds pretty inconvenient if you want to recursively remove every > file in every directory, which I would have guessed was a fairly common > thing to want to do. That's not really an MSI thing -- in MSI, you're carefully controlling and describing the compositi

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-04-03 Thread Chris.Rowland
>RemoveFolder maps to the RemoveFile table, which only removes empty >folders. So you need both RemoveFile and RemoveFolder. That sounds pretty inconvenient if you want to recursively remove every file in every directory, which I would have guessed was a fairly common thing to want to do. Is the

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-04-02 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > If I use the RemoveFolder block, nothing happens. > RemoveFolder maps to the RemoveFile table, which only removes empty folders. So you need both RemoveFile and RemoveFolder. > If I uncomment the Condition element, it fails to delete anything in > either case. I'm

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-04-02 Thread Chris.Rowland
>There's your problem: Without a guid, the component is unmanaged and >never removed. Take a look at a verbose log around the InstallValidate >action to see which components and features are scheduled for >installation/removal. I gotcha, I figured I didn't need a guid because the intent was to

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-04-02 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > > There's your problem: Without a guid, the component is unmanaged and never removed. Take a look at a verbose log around the InstallValidate action to see which components and features are scheduled for installation/removal. -- sig://boB http://bobs.org

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-04-02 Thread Chris.Rowland
31, 2007 2:50 PM To: Rowland, Chris Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Conditional RemoveFiles on Uninstall [EMAIL PROTECTED] wrote: > RemoveAllFiles > You need to use a secure public property so it's passed from the UI sequenc

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-03-31 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > RemoveAllFiles > You need to use a secure public property so it's passed from the UI sequence to the execute sequence. Otherwise, it evaluates as false. -- sig://boB http://bobs.org -

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-03-30 Thread Chris.Rowland
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth at Serif Sent: Thursday, March 29, 2007 1:09 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Conditional RemoveFiles on Uninstall You can probably declare your 'RemoveFile' ines in a component that has a component co

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-03-29 Thread Gareth at Serif
You can probably declare your 'RemoveFile' ines in a component that has a component condition triggered by a property that your user can configure via a checkbox in your UI. I believe that 'RemoveFile' lines work on install and all files will be removed on uninstall so probably won't be the solut

[WiX-users] Conditional RemoveFiles on Uninstall

2007-03-28 Thread Chris Bardon
I have an application that creates some config files that I'd like to conditionally uninstall with the application. It looks like I can just use to get rid of these on uninstall, but I'd like to give the user the option of keeping them in case they reinstall later. I've seen several installers p