Re: [WiX-users] General Installer question

2012-03-02 Thread Rob Mensching
The custom action scans a root directory and adds the necessary RemoveFile/RemoveFolder temporary rows to the MSI (as it is runnin) and the Windows Installer handles deleting folders and rolling back and all that. On Fri, Mar 2, 2012 at 2:36 PM, victorwhiskey wrote: > I've been trying to understa

Re: [WiX-users] General Installer question

2012-03-02 Thread victorwhiskey
I've been trying to understand this, but how would it help if you don't know what's goign to be written upfront? Rob Mensching-7 wrote > > Use the RemoveFile or RemoveFolder element. If you don't know everything > up > front, add temporary rows to those tables. The wix-contrib project on > codep

Re: [WiX-users] General Installer question

2012-02-28 Thread Rob Mensching
Use the RemoveFile or RemoveFolder element. If you don't know everything up front, add temporary rows to those tables. The wix-contrib project on codeplex.com has a custom action that does the latter. Don't try to remove files from non-logged in users. You'll just hose roaming profiles. On Tue, F

Re: [WiX-users] General Installer question

2012-02-28 Thread Wilson, Phil
: [WiX-users] General Installer question Generally: Don't. If it's user data leave it. Not always the most ideal but the best option from installation point of view. On Mon, Feb 27, 2012 at 10:04 PM, victorwhiskey wrote: > What's the opinion on leaving files/directories b

Re: [WiX-users] General Installer question

2012-02-28 Thread victorwhiskey
What's the best way of removing files/directories the installer doesn't know about then? Say, the app writes to /x.log. Also, the uninstall will only remove the user who is uninstalling the app right? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com

Re: [WiX-users] General Installer question

2012-02-28 Thread Rob Mensching
Generally: Don't. If it's user data leave it. Not always the most ideal but the best option from installation point of view. On Mon, Feb 27, 2012 at 10:04 PM, victorwhiskey wrote: > What's the opinion on leaving files/directories behind on uninstall? > Applications write files/directories the ins

[WiX-users] General Installer question

2012-02-27 Thread victorwhiskey
What's the opinion on leaving files/directories behind on uninstall? Applications write files/directories the installer doesn't know about, especially user specific ones. But the installer doesn't know about the files/directories created. What's the best way to go about cleaning them? Enumerating