This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- TFS Build issue
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2015
01:30 PM
TFS Build issue
Hi,
I have added a setup project in my solution and am able to build setup project on my machine. When I push the build through build server I get following error message:
C:\Program Files (x86)\MSBuild\InstallShield\2013Limited\InstallShield.targets(108,3): error : -7159: The product license has expired or has not yet been initialized.
Initially, build agents were running under NT Authority\Network Service. I changed the user to my account and still received the error. I have also run TSConfig to activate InstallShield.
I also logged on to the build server and created a sample setup project in VS 2012 and was able to build it successfully.
What am I missing? Any ideas/suggestions?
Regards,
I have added a setup project in my solution and am able to build setup project on my machine. When I push the build through build server I get following error message:
C:\Program Files (x86)\MSBuild\InstallShield\2013Limited\InstallShield.targets(108,3): error : -7159: The product license has expired or has not yet been initialized.
Initially, build agents were running under NT Authority\Network Service. I changed the user to my account and still received the error. I have also run TSConfig to activate InstallShield.
I also logged on to the build server and created a sample setup project in VS 2012 and was able to build it successfully.
What am I missing? Any ideas/suggestions?
Regards,
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2015
12:55 PM
When using TFS, this error is known to be thrown if the Build Controller service's configuration is set to run using credentials that do not have administrator privileges, such as the NT AUTHORITY\NetworkService account.
Since you can log in directly with your account and successfully build, but are unable to build when switching the TFS account to your credentials, I would investigate any differences in permissions/access between the two.
Since you can log in directly with your account and successfully build, but are unable to build when switching the TFS account to your credentials, I would investigate any differences in permissions/access between the two.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 05, 2016
12:07 AM
jkell wrote:
When using TFS, this error is known to be thrown if the Build Controller service's configuration is set to run using credentials that do not have administrator privileges, such as the NT AUTHORITY\NetworkService account.
Since you can log in directly with your account and successfully build, but are unable to build when switching the TFS account to your credentials, I would investigate any differences in permissions/access between the two.
Note that we run the build server as a special user. And no, that user doesn't have administrator privileges. Nevertheless, the build works correctly when someone is logged in interactively as that user and runs the build. The build does not work when the build server runs the build as it should, as a service, in the background, as exactly the same user.
"error : -7159: The product license has expired or has not yet been initialized."
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 06, 2016
12:43 AM
barbara.winkler-wolff wrote:
Note that we run the build server as a special user. And no, that user doesn't have administrator privileges. Nevertheless, the build works correctly when someone is logged in interactively as that user and runs the build. The build does not work when the build server runs the build as it should, as a service, in the background, as exactly the same user.
"error : -7159: The product license has expired or has not yet been initialized."
And yes, when then that user has administrative rights, the build can run even if it is run in the background as a service.