cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Holger_G
Level 10

Basic MSI: LaunchApplication (in CA) question

Hi.

Basic MSI:
Can I use LaunchApplication (with LAAW_OPTION_USE_SHELLEXECUTE) in a InstallSript CA to raise the UAC prompt for elevated privileges during the UI sequence (with using 'runas' as the lpVerb of SHELLEXECUTEINFO Structure)?

-Nick
Labels (1)
0 Kudos
2 Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

That should work, yes. Are you having difficulty doing so? Be aware that "runas" has a slightly different meaning on pre-Vista, so you may want to conditionalize your code somewhat if you are targeting multiple versions of Windows.
0 Kudos
Holger_G
Level 10

It´s running now. Thanks Michael.
0 Kudos