Hello All: Thank you very much for all your replies.
I managed to get it work. The problem was I was trying to use MsiGetProperty() in a deferred custom action. MsiGetProperty() requires an msi handle and deferred custom actions run in a different session because of which the deferred custom action has access to a limited set of properties and hence "OriginalDatabase" property was not accessible. I had to use "CustomActionData" to pass the value of "OriginalDatabase" to the deferred custom action. Please refer http://www.tramontana.co.hu/wix/lesson3.php#3.6 for more details. And can any one tell me where I can find a good document on how Wix internally works. I mean where do deferred custom actions run, how are custom actions scheduled and stuff. Thanks, Vishnu -- View this message in context: http://www.nabble.com/Name-of-the-msi-with-in-the-install-file-tp15583249p15732699.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users