开发者

Admin required for Visual Studio 2008 Setup Project

开发者 https://www.devze.com 2023-01-03 12:26 出处:网络
I have a VS 2008 Setup Project that is installing a very simple application in t开发者_JS百科he local user\'s App Folder.When the Setup Project runs, it is requiring the Admin to login to run it.How c

I have a VS 2008 Setup Project that is installing a very simple application in t开发者_JS百科he local user's App Folder. When the Setup Project runs, it is requiring the Admin to login to run it. How can I allow a Standard User to run the installation. There are no Prerequisites. The MSI file is the only file to be run (no Setup.exe). I have signed the msi with a certificate that is installed on the user's machine as Trusted. I just can't get rid of the Admin login requirement.


Do you have a manifest on the setup.exe that says "please run me asInvoker?" If not, heuristics apply based on the file name. If you rename tetris.exe to setup99.exe it will ask to elevate when you run it.

If you have no manifest, add one - either embedded (VS 2008 should be able to do that for you) or external (just put the manifest in the same folder as the exe.) If you can't or won't do that, rename the exe to something that doesn't include setup, patch, or update in its name. I prefer the manifest myself.

0

精彩评论

暂无评论...
验证码 换一张
取 消