Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-11 Thread Blair Murri
:06 + Subject: Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled After fighting the default OS locations I finally convinced others around here that going with what the OS wants for directory structure is much simpler to do and more stable and takes fewer steps

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Peng Lv
I met with this issue either, my solution is adding a custom action dll to delete all files while uninstall, but this is way too naive. 2013/10/10 Walter Dexter wfdex...@gmail.com I posted this at Stackoverflow as well, but I'm just at a loss for what to even look at, so I'm hoping someone

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Rob Mensching
Log file suggests the files were removed: MSI (s) (60:6C) [16:04:58:163]: Executing op: ActionStart(Name=RemoveFiles,Description=Removing files,Template=File: [1], Directory: [9]) MSI (s) (60:6C) [16:04:58:163]: Executing op: ProgressTotal(Total=10,Type=1,ByteEquivalent=175000) MSI (s) (60:6C)

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Walter Dexter
Yes, I saw that. The logs seemed to me to say they were removed, but the files are in fact still there. Any ideas? I took the Chapter 1 example out of the WiX 3.6 Developer's Guide book, built it and ran it on the same system and it installed and uninstalled properly, so the system isn't

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Nicolás Alvarez
Your CA_SetCDrive is not being run during uninstallation. You'll notice the uninstall log refers to C:\CDrive\ all over the place. I don't understand why you need that custom action at all. Can't you hardcode C:\ into the Name attribute? -- Nicolás 2013/10/10 Walter Dexter wfdex...@gmail.com:

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Walter Dexter
It was my understanding that putting full path into Name wouldn't work. Everything I found online said what I did is the way to do it. I had a similar thought about an hour ago while driving about c_drive not getting redefined properly for the uninstall and will try to validate if that's the

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Nicolás Alvarez
2013/10/10 Walter Dexter wfdex...@gmail.com: It was my understanding that putting full path into Name wouldn't work. Everything I found online said what I did is the way to do it. I had a similar thought about an hour ago while driving about c_drive not getting redefined properly for the

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Edwin Castro
On 10/10/13 11:08 AM, Walter Dexter wrote: I had a similar thought about an hour ago while driving about c_drive not getting redefined properly for the uninstall and will try to validate if that's the problem later this afternoon. I do see it and all the directories getting property changed to

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Walter Dexter
I just tested by copying the installed files to where the log say C_DRIVE would be prior to the redefine (in my case, e:\cdrive) and then ran the uninstall. The installed files were deleted from e:\... rather than c:\... proving this theory. Looks like I need to change when the custom action

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Walter Dexter
Moving the custom actions for setting the C Drive to be After CostFinalized resolved the problem. WiX threw an error when I tried before CostInitialize. Thanks! On Thu, Oct 10, 2013 at 2:20 PM, Walter Dexter wfdex...@gmail.com wrote: I just tested by copying the installed files to where the

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Wheeler, Blaine (DSHS/DCS)
: Walter Dexter [mailto:wfdex...@gmail.com] Sent: Thursday, October 10, 2013 1:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled Moving the custom actions for setting the C Drive to be After

Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-10 Thread Walter Dexter
Installer XML toolset. Subject: Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled Moving the custom actions for setting the C Drive to be After CostFinalized resolved the problem. WiX threw an error when I tried before CostInitialize. Thanks! On Thu, Oct 10, 2013 at 2:20

[WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-09 Thread Walter Dexter
I posted this at Stackoverflow as well, but I'm just at a loss for what to even look at, so I'm hoping someone can point me in a good direction. I have been using WiX to create an installer for my project. It's fairly simple, just drop some files in three different directories and run a VBScript