Okie I'm clear about the first part, This is what I'm doing to retain the old INSTALLDIR
<Property Id="INSTALLDIR"> <RegistrySearch Id="Locate_22InstallDir" Root="HKLM" Key="Software\ABC\productName\1.0" Name="InstallPath" Type="raw"/> </Property> <CustomAction Id="SetInstallDir" Property="WIXUI_INSTALLDIR" Value="[INSTALLDIR]" Execute="immediate"/> <InstallUISequence> <Custom Action="SetInstallDir" After="AppSearch" ></Custom> </InstallUISequence> <InstallExecuteSequence> <Custom Action="SetInstallDir" After="Launchconditions" ></Custom> </InstallExecuteSequence> But this doesn't work. Upgrade always installs to the default path. any ideas?? ----- Andy MSI Developer Schneider Electric -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Hide-InstallDirDlg-during-upgrade-tp5014310p5014556.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users