Could this be the same problem as the bug that was filed on wixtoolset.org?

--
Bruce Cran


-------- Original Message --------
Subject: Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled
Date:   Thu, 10 Oct 2013 15:53:21 -0500
From:   Walter Dexter <wfdex...@gmail.com>
Reply-To: General discussion for Windows Installer XML toolset. <wix-us...@lists.sourceforge.net> To: General discussion for Windows Installer XML toolset. <wix-us...@lists.sourceforge.net>



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 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 triggers. I'll try
before CostInitialize and see what happens since you like it.

I'm very new to both MSI and WiX. (I'm really good at Inno Setup but our
corporate standard says make MSIs. It also says to use WISE which is even
more confusing than WiX for me and my developer brain.)

Thanks a lot!


On Thu, Oct 10, 2013 at 1:33 PM, Edwin Castro <0ptikgh...@gmx.us> wrote:

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 the right path prior to the
> FileRemove entries in the uninstall log, though.

I think your CA_SetCDrive custom action is scheduled too late. I thought
directories needed to be set prior to CostInitialize.

--
Edwin Castro



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from
the latest Intel processors and coprocessors. See abstracts and register >

http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
wix-us...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
wix-us...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to