Automation1

I have created a MSI setup.exe which I want to run in the elevate mode in Windows Vista. How can I do that

Thanks.



Re: ClickOnce and Setup & Deployment Projects How to run the MSI installer in the elevated mode

Scott Tucker [MSFT]

Have you created setup.exe or setup.msi

By default Windows Vista will prompt to elevate any application with the word 'setup' 'install' or 'update'. so your application will be elevated unless you have included a windows vista UAC manifest explicitly telling it not to.

You might check out this article on User Account Control in Windows Vista.

http://technet.microsoft.com/en-us/windowsvista/aa905117.aspx

It explains how you can embed a UAC manifest in an application to force the application to run elevated.

-scott