WiX安装程序,每个用户使用Visual C++ Redistributable安装

EL4*_*L45 2 c++ installer redistributable wix

我正在使用Wix为项目生成msi安装程序文件.我正在使用wix来安装Visual C++ Redistributable文件(遵循本指南:http://wix.sourceforge.net/manual-wix3/install_vcredist.htm)

虽然我指定了InstallScope ="perUser",但我的安装程序仍在尝试为所有用户安装.直到我添加可再发行文件才发生这种情况.

我还补充说

<Property Id="ALLUSERS" Secure="yes"/>
Run Code Online (Sandbox Code Playgroud)

没有运气.

似乎VCRedist的合并导致了特权升级的需要.

有没有办法生成一个安装程序,使用Visual C++ Redistributable安装每个用户(即不适用于所有用户)?

Bob*_*son 6

不,Visual C++运行时DLL安装在Windows目录下,因此需要管理员权限才能安装它们.您可以在本地安装DLL,而不需要管理员权限; 例如,请参阅http://msdn.microsoft.com/en-us/library/dd293565.aspx.