I am trying to upgrade an application with some upgrade code, so I am
uninstalling it. But I want to reinstall my current application into the
same folder, so I need to find out the directory of the previous app.

 

I got an Upgrade table with the correct upgrade ID and that tells me
that I have an application with GUID. Good. Now I want to read the
registry value InstallDir from
HKLM\Software\Microsoft\CurrentVersion\Uninstall\GUID. But
RegistrySearch-es are executed earlier, so I am not sure what the right
way of doing this. I guess I can write a registry custom action... any
better suggestion?

 

Thx

dB.

 

-dB.

dblock.org <http://www.dblock.org/>  / foodcandy.com
<http://www.foodcandy.com/> 

 

-------------------------------------------------------------------------
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

Reply via email to