View Full Version : MSBuild Error 125 building Installscript project

08-07-2012, 12:57 PM
My solution currently builds correctly locally using VS2010 on my (32 bit) Windows 2008 Server R1 machine. When I request a build of the same solution on our TFS build server (a Windows 2008 R2 64 bit machine) I get the following error:

C:\Program Files (x86)\MSBuild\InstallShield\2012Spring\InstallShield.targets (68): 125: Unable to load InstallShield Object(s): ...

The object that it is unable to locate is the NTServices Object (Installshield Object for NT Services). It has been installed on our build machine but appears that the standalone build engine cannot locate/use it.

I have installed the NTServices object in the following path on the build machine "C:\Program Files (x86)\InstallShield\2012Spring SAB\ObjectsPro\NT Services Object". Is it possible this is a 32/64 bit issue?

I have also tried to uninstall the object and install it at the following path "C:\Program Files (x86)\InstallShield\2012Spring\ObjectsPro\NT Services Object", but that did not work either.