To earth2308:
You can use the system search to read a registry value. Simply give it a property to place the data in, give it a key to search for, and tell it the format you want returned. You can then create a custom action:
I'll assume that INSTALLDIR has some default value
If MyReturnedPath (this is true if any non-empty value so it read something from the registry)
Set Directory INSTALLDIR (or whatever) to [MyReturnedPath]
End
Place this action after CostFinalize and before InstallValidate.
HtH,
Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-