[wix-users] WiX 3.10 - domain

Ondrej Krc-Jediny ondro.krc at gmail.com
Tue Feb 2 03:51:48 PST 2016


I have an installer with managed bootstrapper application (MBA).
Inside the MBA, there is this line of code:

System.DirectoryServices.ActiveDirectory.Domain.GetComputerDomain()

It works fine and returns the domain as expected on all systems when
my installer is built with WiX 3.9.

It behaves the same on all system with WiX 3.10.2, except Windows
Server 2008 (but Windows Server 2008 R2 works fine).
It throws this exception:
Retrieving the COM class factory for component with CLSID {...} failed
due to the following error: 80070057 The parameter is incorrect.
(Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Do you know what change between WiX 3.9 and 3.10 may have caused this
and what can I do to fix it?

Thank you.


More information about the wix-users mailing list