Searched hours but could not find answer, so I have to try here:
I have a dll for the Custom Action, just wonder how can I get the command
line parameters (like /q or /passive) within my dll ? I guess I should use
MsiGetProperty, but what should I use for the property name?
Thanks!
Polaris
"Polaris" <etpo...@hotmail.com> wrote in message
news:evsnMtLk...@TK2MSFTNGP03.phx.gbl...
Looks like it works if I set CustomActionData to [UILevel] and then call
MsiGetProperty (.., "CustomActionData"...).
It did not work if I simply do this: MsiGetProperty (..., "UILevel", ...).
It's a bit strange.
Polaris
"Luke Surace" <luk...@noemail.noemail> wrote in message
news:%23XflCfM...@TK2MSFTNGP05.phx.gbl...
> Looks like it works if I set CustomActionData to [UILevel] and then call
> MsiGetProperty (.., "CustomActionData"...).
>
> It did not work if I simply do this: MsiGetProperty (..., "UILevel", ...).
> It's a bit strange.
Most properties cannot be read in deferred custom actions.
http://msdn.microsoft.com/library/en-us/msi/setup/obtaining_context_information_for_deferred_execution_custom_actions.asp