We have a program we have developed in house. We are upgrading to use Visual Studio 2012, and so have to leave the Visual Studio installer project behind. InstallShield LE was giving us problems with shortcuts if the application was already installed. This left me with finally going with WiX.
I have researched this for a few days and read several posts on how to get administrator rights, but none of them seem to work. The Package
element has InstallPrivileges="1" and the following Property
element is present:
<Property Id="MSIUSEREALADMINDETECTION" Value="1" />
It will not request administrator privileges when it starts, and so it fails when it tries to create the program folder in C:Program Files(x86)
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…