Should ALLUSERS property be specified in the .wxs file which produce Windows merge modules (*.msm)?

StackOverflow https://stackoverflow.com/questions/16075541

  •  04-04-2022
  •  | 
  •  

Вопрос

We are developing a Windows Installer installer (MSI) using WiX 3.5, and we have used merge modules in our MSI.

In the MSI, we have specified ALLUSERS property value=1. Will the Windows merge modules (*.msm) use this property or should we also specify the ALLUSERS property in the .wxs file which produces *.msm files?

Это было полезно?

Решение

First, it's the ALLUSERS property. Spelling and capitalization is critical. Second, no, the MSI should set ALLUSERS=1 not the MSM. This is an installer decision not a merge module concern.

If the components in the merge module require a per-machine installation you could consider scheduling an error custom action that enforces this.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top