Setting the 'AllUsers' option on Wix installer does not work

后端 未结 1 869
孤街浪徒
孤街浪徒 2021-01-02 02:09

I am using a WiX to install a service on test machine. But when I do that only the user who installed it on the machine is able to see in the \'Add/Remove Programs\' control

相关标签:
1条回答
  • 2021-01-02 02:36

    Instead of setting ALLUSERS explicitly, try setting the InstallScope of the Package element to perMachine. According to the documentation, this fact:

    Set this value to declare that the package is a per-machine installation and requires elevated privileges to install. Sets the ALLUSERS property to 1.

    So, it should do the required job under the hood.

    0 讨论(0)
提交回复
热议问题