[英]Visual Studio Setup Project: Run the msi installer without administrator rights
I created an installer with Visual Studio Setup Project and now I have a problem.我使用 Visual Studio 安装项目创建了一个安装程序,现在遇到了问题。 To run the installer i always need admin rights, but i want to run the installer silently without admin rights.
要运行安装程序,我总是需要管理员权限,但我想在没有管理员权限的情况下静默运行安装程序。
My Default Installlocation is:[LocalAppDataFolder][Manufacturer][ProductName]我的默认安装位置是:[LocalAppDataFolder][Manufacturer][ProductName]
Make sure you correctly set ALLUSERS and MSIINSTALLPERUSER properties .确保正确设置ALLUSERS 和 MSIINSTALLPERUSER 属性。 These control the installation context (per user or per machine) for your package.
这些控制包的安装上下文(每个用户或每个机器)。
It is not enough to just change the install path to a per user location.仅将安装路径更改为每个用户的位置是不够的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.