Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to run the MSI installer in the elevated mode
 

How to run the MSI installer in the elevated mode

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.

Automation1  Tuesday, July 17, 2007 9:05 PM

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

Scott Tucker [MSFT]2  Tuesday, July 17, 2007 10:27 PM

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

Scott Tucker [MSFT]2  Tuesday, July 17, 2007 10:27 PM

You can use google to search for other answers

Custom Search

More Threads

• automating setup.exe -url
• Embedding MSDE 2000, .NET Framework, MDAC, Internet Explorer
• .net3 prequisit
• Error when modifying clickonce manifest
• Windows does not recongize that i just insatlled a new program.
• .deploy file shows up as XML instead of installing when opened from the webbrowser
• ClickOnce falied to copy setup.exe - already exists
• ClickOnce error: “Value does not fall within the expected rangeâ€
• Using the Windows installer project to activate a executable at the end of the installation
• Client exe from IE - suppressing popups