I have inherited some WIX code (ie I am a newbie) and have moved the managed
custom action over to DTF (which is very nice BTW).

Previously the CA did something along these lines: 

public class MyInstaller : System.Configuration.Install.Installer
{       
        public override void Install(System.Collections.IDictionary stateSaver)
        {
                base.Install (stateSaver);
                stateSaver.Add(SS_KEY_INSTALLED_PROFILE, AddProfile());
                :                                       
        }
        
        public override void Uninstall(System.Collections.IDictionary 
savedState)
        {
                :
                bool didInstallProfile = 
(bool)savedState[SS_KEY_INSTALLED_PROFILE];
                :
        }
}


Using DTF how can I store a value during the install that I can retrieve in
the uninstall? Note that I am using a deferred custom action so the Database
etc properties of the DTF Session object aren't available.

Out of hope I tried session.CustomActionData but that doesn't seem to
persist.

TIA,

Phil

-- 
View this message in context: 
http://www.nabble.com/DTF%3A-Saving-data-in-deffered-custom-action-tp17858653p17858653.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to