Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Session variables etc.

$
0
0
Hi

Still I don't get it.

I try to access the property "WixUI_InstallMode" (which I can see being set in the logfile when running in mondo mode) - but it's empty.

I define my managed action like the following (it becomes elevated and by that deferred as I understand it)

, new ManagedAction(@"OnPreInstall", Return.check, When.After, Step.InstallInitialize, Condition.NOT_BeingRemoved)
{
         UsesProperties = "D_WixUI_InstallMode=[WixUI_InstallMode], EVENTLOGNAME=[EVENTLOGNAME], INSTALLDIR=[INSTALLDIR], VERSION=[VERSION],        PRODUCTNAME=[PRODUCTNAME], PRODUCTEXECONFIG=[PRODUCTEXECONFIG], TPCSERVERURL=[TPCSERVERURL], VCPAGENTURL=[VCPAGENTURL], LOCALE=[LOCALE]"
}

No matter what the "D_WixUI_InstallMode" or WixUI_InstallMode is empty - I can accesse all other defined (my own) properties.

What is the rigth way to access variables like WixUI_InstallMode, LicenceAccepted etc.

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>