I use one of my main installed folders and go back one level to get the root. All installed folders become public properties (property name the same as folder Id) available also during the uninstall if not in deferred CA.
-----Original Message----- From: Dmitry Berkovich [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 12:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting folder localtion of component during unisntall Hi boB, It happed NOT in defered CA. Dima On Fri, Aug 8, 2008 at 6:44 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Dmitry Berkovich wrote: >> The problem that >> session.Format("[$component]") return me empty string. (on >> installation phase it contain full path to folder where component >> installed). >> >> Question : what can I do that my CA on uninstall stage will receive >> the full path of folder where component installed? >> > > Deferred custom actions cannot access the session. See "Obtaining > Context Information for Deferred Execution Custom Actions" in the MSI SDK. > > -- > sig://boB > http://joyofsetup.com/ > > > > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users