Question

I'm using Wix to generate an msi installer file for a project. I'm using wix to also install the Visual C++ Redistributable files (Following this guide: http://wix.sourceforge.net/manual-wix3/install_vcredist.htm )

Although I specify InstallScope="perUser", my installer is still trying to install for all users. This wasn't happening until I added the redistributable file.

I have also added

<Property Id="ALLUSERS" Secure="yes"/>

with no luck.

It seems the merge of VCRedist is causing the need for privilege escalation.

Is there any way to generate an installer that installs with Visual C++ Redistributable per user (ie not for all users)?

Was it helpful?

Solution

No, the Visual C++ runtime DLLs are installed under the Windows directory, so administrator privileges are required to install them. You can install the DLLs locally and not require administrator privileges ; for example, see http://msdn.microsoft.com/en-us/library/dd293565.aspx.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top