Are you saving and retrieving ARPINSTALLLOCATION ? If not, you need something like the following. In this example, the product installation directory is called INSTALLDIR.
<Property Id="ARPINSTALLLOCATION"> <RegistrySearch Id="GetARPInstallLocationFromRegistry" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]" Name="InstallLocation" Type="raw"/> </Property> <!-- Write install dir to ARP. --> <CustomAction Id="SetARPINSTALLLOCATION" Property="ARPINSTALLLOCATION" Value="[INSTALLDIR]"/> <!-- Set INSTALLDIR to registry version else default if not found. --> <CustomAction Id="LoadINSTALLDIR" Value="[ARPINSTALLLOCATION]" Property="INSTALLDIR"/> <InstallUISequence> <Custom Action="LoadINSTALLDIR" After="AppSearch">ARPINSTALLLOCATION</Custom> </InstallUISequence> <InstallExecuteSequence> <Custom Action="LoadINSTALLDIR" After="AppSearch">ARPINSTALLLOCATION</Custom> <Custom Action="SetARPINSTALLLOCATION" After="CostFinalize">not Installed</Custom> </InstallExecuteSequence> -----Original Message----- From: CP YEH [mailto:ntde...@gmail.com] Sent: 08 November 2010 18:07 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Path name shows wrong on custom setup when I clicked'change' after install. Hi, I created an installer and it works generally fine but I have one issue that I can't resolve. Here is what happens. After the user installs the program in a different location other than default location and when s/he wants to change something, they go to Add or Remove Programs and there they select my program with 'change'. Then, the installer gives three options: change, repair, or remove. There if the user selects the 'Change', the installer displays Custom Setup page. However, the path it displays on the bottom is not the one that they installer my program but the default path. How can I control this path display to show the actual install location? Any advice will be appreicated. Thank you very much. YEH ------------------------------------------------------------------------ ------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users