Re: [WiX-users] JScript CA - WMI Interface not Registered

2012-10-03 Thread Alessandro Pilotti
Here's an example to show the behavior described in the previous email. The WiX project contains 2 Custom actions: C++ DLL and Javascript. Both of them perform a simple WMI query. Both work fine on Windows Server 2008 R2 (GUI) Only the C++ one works on Windows Server 2008 R2 (Core) Sources: h

[WiX-users] JScript CA - WMI Interface not Registered

2012-10-02 Thread Alessandro Pilotti
Hi guys, I have an issue with executing WMI queries in Jscript custom actions on Windows Server 2008 R2 Core and Hyper-V 2008 R2. I had no issues on Windows Server 2008 R2 Standard (non core) and Hyper-V 2012. Whenever I try to execute ExecQuery, e.g.: var wmi = GetObject("winmgmts:local