Take a look at the verbose log file. It will show you the state changes of
INSTALLPATH. My bet is that you'll find the Windows Installer is setting
INSTALLPATH to the default during some initialization.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kai Lee
Sent: Thursday, April 24, 2008 15:30
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installer will not preserve the previous installed
location.
Hi,
Now I run into an issue related to the previous selected new location will not
be populated back when I do "change" installation second time. The Feature's
ConfigurableDirectory attribute will only allow me to change the installed
location of the application first time.
<Feature Id="NewSuite" ConfigurableDirectory="INSTALLPATH"
InstallDefault="local" Title="New Suite" Level="1">...
Let say I change the default location "c:\Program File\NewSuite" to
"c:\temp\NewSuite". Then I launch the installation program again and click the
Modify button in the Custom Dialog screen. The "New Suite" feature will show
up with default path "c:\Program File\NewSuite" and the installation program
does not provide me with Browse button. Therefore, when I install some other
features which will force to put into the wrong location, "c:\Program
File\NewSuite", instead of previous installed location "c:\temp\NewSuite".
Then the application stops working.
Do you have any suggestion how to fix it?
Many thanks,
Kai
________________________________
Express yourself wherever you are.
Mobilize!<http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users