PDA

View Full Version : Basic MSI: LaunchApplication (in CA) question



Holger_G
07-13-2007, 06:17 AM
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

MichaelU
07-13-2007, 10:32 AM
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.

Holger_G
07-16-2007, 03:55 AM
It´s running now. Thanks Michael.