[WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
Hi: I wrote a MSI file to install my application. It can let user select install path through BrowseDlg. But once user changes the default install path, it cannot remove any file which the MSI has installed. I checked the installation log file. I found that it cannot get the correct INSTALLDIR

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Kevin Richardson
ing)" <[EMAIL PROTECTED]> > Subject: [WiX-users] How can I get the correct INSTALLDIR at the > beginning of uninstall? > To: "wix-users@lists.sourceforge.net" > > Message-ID: > <[EMAIL PROTECTED] > > > > Content-T

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
From: "Jianjun An (Person Consulting)" <[EMAIL PROTECTED]> > Subject: [WiX-users] How can I get the correct INSTALLDIR at the > beginning of uninstall? > To: "wix-users@lists.sourceforge.net" > > Message-ID: > <[EMAIL PROTECTED] &

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
-users@lists.sourceforge.net Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall? Thanks, what I did is same as what you suggested. The difference is yours CA has condition but mine is setting the INSTALLDIR property immediately. I checked some sample code of

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Bob Arnson
Jianjun An (Person Consulting) wrote: > How can I do that? I am seeking a way not using registry. > What do you need it for? MSI will automatically remove the components it installs. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Jianjun An (Person Consulting)
The problem is my MSI cannot remove the components if user changed default install path which I did not save it into registry. The context about this problem is in the attachment. Thanks Jianjun An (Person Consulting) wrote: > How can I do that? I am seeking a way not using registry. > What

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Bob Arnson
Jianjun An (Person Consulting) wrote: > The problem is my MSI cannot remove the components if user changed default > install path which I did not save it into registry. > It can. If you need a property value to run a custom action, for example, you need to store it in the registry and use a R

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Kevin Richardson
In that case, something is definitely wrong. Uninstall should work from any install location without your intervention. You had said that we were both doing the same thing, but your directory table is not the same as mine. You have: > > > > > < File

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Rob Mensching
An (Person Consulting) Cc: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall? In that case, something is definitely wrong. Uninstall should work from any install location without your intervention. You had

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Jianjun An (Person Consulting)
PROTECTED] Sent: Tuesday, November 25, 2008 08:54 To: Jianjun An (Person Consulting) Cc: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall? In that case, something is definitely wrong. Uninstall shoul

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-26 Thread Rob Mensching
r XML toolset. Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall? Things *might* also get confused if a CustomAction is modifying the Directory. PS: Directory/@Name="." is the same as not having the Directory/@Name. -Original Message--