Wix Toolset 4.0 Bundle + MongoDB Community

Hello everyone,

I don’t know if I’m in the right forum, but here’s my request.
I have been trying to install MongoDB on Windows as a Windows service for about a week now. I am using Wix Toolset v4.

The MSI file of MongoDB Community Server is included in the Bundle.wxs and the required parameters are passed via MsiProperty. However, there is a problem with the whole to install MongoDB as WindowsService the ADDLOCAL property must be set, this is not possible because Wix Toolset v4 ADDLOCAL is now marked as reserved and generates an error, with v3 this was previously only a warning. Is there a possibility to run MongoDB as WIndowsService via MSIEXEC in the Wix Bundle?

Version 1: (Bundle.wxs - Bootstrapper Application WIX):

<MsiPackage Id="MongoDb_73"
			            Compressed="yes"
			            SourceFile=".\ThirdParty\mongodb-windows-x86_64-7.0.3-signed.msi"
			            Vital="yes"
			            Visible="yes"
						EnableFeatureSelection="yes"
						bal:DisplayInternalUICondition="yes">
				<MsiProperty Name="ServerService" Value="1"/> -- not working
				<MsiProperty Name="InstallCompassFeature" Value="0"/> -- not working
				<MsiProperty Name="SHOULD_INSTALL_COMPASS" Value="0"/> -- works
			</MsiPackage>

Version 2:

<MsiPackage Id="MongoDb_73"
			            Compressed="yes"
			            SourceFile=".\ThirdParty\mongodb-windows-x86_64-7.0.3-signed.msi"
			            Vital="yes"
			            Visible="yes"
						EnableFeatureSelection="yes"
						bal:DisplayInternalUICondition="yes">
				<MsiProperty Name="ADDLOCAL" Value="ServerService"/>
				<MsiProperty Name="SHOULD_INSTALL_COMPASS" Value="0"/>
			</MsiPackage>
>Bundle.wxs(82): Error WIX0365 : The 'ADDLOCAL' MsiProperty is controlled by the bootstrapper and cannot be authored. (Illegal properties are: 'ACTION', 'ADDLOCAL', 'ADDSOURCE', 'ADDDEFAULT', 'ADVERTISE', 'ALLUSERS', 'REBOOT', 'REINSTALL', 'REINSTALLMODE', or 'REMOVE'.) Remove the MsiProperty element.

the msiexec output log:

MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding SERVERSERVICE property. Its value is '1'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding INSTALLCOMPASSFEATURE property. Its value is '0'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Modifying SHOULD_INSTALL_COMPASS property. Its current value is '1'. Its new value: '0'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding MSIFASTINSTALL property. Its value is '7'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding BURNMSIINSTALL property. Its value is '1'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding REINSTALLMODE property. Its value is 'muso'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding REBOOT property. Its value is 'ReallySuppress'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\WDAGUtilityAccount\Desktop'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding MSICLIENTUSESEXTERNALUI property. Its value is '1'.
MSI (s) (34:F4) [13:55:30:263]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '2856'.
MSI (s) (34:F4) [13:55:30:263]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0