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)
{
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.
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.