cancel
Showing results for 
Search instead for 
Did you mean: 
cburch
Pilgrim

License denied from Build Sever

I installed ISLE 2015 on my build server and am trying to run the MSBuild that targets it, and I get this error:

C:\Program Files (x86)\MSBuild\InstallShield\2015Limited\InstallShield.targets(108, 3): -7159: The product license has expired or has not yet been initialized.

I have run the setup program and given it my license and it tells me that it is registered.
Tags (1)
0 Kudos
2 Replies
Highlighted

InstallShield in the background (e.g. by build server), error -7159

Same here.
Build server had InstallShield installed and a serial number entered.
The user that the build server runs as can run builds from the command line, interactively.

Only when the build should run in the background, as a service, the license error occurs.

error : -7159: The product license has expired or has not yet been initialized.
0 Kudos
l_fernandez
Pilgrim

Set your Build Service to run with a domain account

It's a known issue. This will happen if your BuildService is running with a local account such as “NT_AUTHORITY\Network Service”. Set your Build Service to run with a domain account and this error will go away.
https://blogs.msdn.microsoft.com/girishp/2014/03/04/installshield-and-team-build-on-tfs/

0 Kudos