Alex, This is exactly what happened, my component was installed and going to be unsiatlled. The problem that my CA need now folder where component was installed. I am looking the way to detect it.
Thanks, Dima On Fri, Aug 8, 2008 at 8:01 PM, Alexander Shevchuk <[EMAIL PROTECTED]> wrote: > Dmitry, > > Does description below applies to your situation (from > http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx)? > > "Note that if a component is already installed, and is not reinstalled, > removed, or moved during the current installation, the action state of the > component is null and the string [$componentkey] evaluates to Null." > > If you experience blank path during complete uninstall make sure that > component is not marked as Permanent. > > Also, make sure your component is not installed to run from source because > your CA might be doing something with the source files, not locally installed > ones. > > Regards, > > Alex Shevchuk > > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry > Berkovich > Sent: Friday, August 08, 2008 1:38 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Getting folder localtion of component during unisntall > > Hi, > I have some CA that executed during uninstall (just before > RemoveFiles action). My custom action need to know folder where > component was installed. 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? > > > Thanks, > Dima > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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