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
- :
- The product license has expired or has not yet been initialized
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 31, 2011
02:40 AM
The product license has expired or has not yet been initialized
We use the InstallShield 2011 and the InstallShield 2011 LE for our Visual Studio 2010 Solutions (instead of the Visual Studio Setup Projects).
The Solutions with an InstallShield 2011 LE project build well in the Visual Studio. But if we build the solution with MSBuild.exe in an automatic build the build fails with the following error message:
C:\Program Files\MSBuild\InstallShield\2011Limited\InstallShield.targets(96,3): error : -7159: The product license has expired or has not yet been initialized.
Same when we build an InstallShield 2011 project with the IsCmdBld.exe:
ISDEV : fatal error -7159: The product license has expired or has not yet been initialized.
We use a domain account with NO admin priviledges to build our applications automatically (Windows Server 2008). But if we start the Visual Studio or the InstallShield 2011 with this account, the builds are successful... Only the automatic build fails. Any solutions? The Flexera support didn't really help... (i would say really poor performance from the support) :mad:
And yes the license is valid!
The Solutions with an InstallShield 2011 LE project build well in the Visual Studio. But if we build the solution with MSBuild.exe in an automatic build the build fails with the following error message:
C:\Program Files\MSBuild\InstallShield\2011Limited\InstallShield.targets(96,3): error : -7159: The product license has expired or has not yet been initialized.
Same when we build an InstallShield 2011 project with the IsCmdBld.exe:
ISDEV : fatal error -7159: The product license has expired or has not yet been initialized.
We use a domain account with NO admin priviledges to build our applications automatically (Windows Server 2008). But if we start the Visual Studio or the InstallShield 2011 with this account, the builds are successful... Only the automatic build fails. Any solutions? The Flexera support didn't really help... (i would say really poor performance from the support) :mad:
And yes the license is valid!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2011
04:22 AM
Additional information: When i start the InstallShield with elevated administrative rights on the "Build Account" and then start MSBuild.exe with the following parameters from the command line:
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" w/t:Build /p:Configuration="Release";Platform="Any CPU" /v:normal /m "W:\Solution.sln"
"Build succeeded"
If i restart the computer and retry the build with the same parameters, the build will fail.
So the MSBuild.exe and the IsCmdBld.exe need administrative priviledges. But this is against our company policy...
@Flexera: Fix this bug, it's very anoying! :mad:
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" w/t:Build /p:Configuration="Release";Platform="Any CPU" /v:normal /m "W:\Solution.sln"
"Build succeeded"
If i restart the computer and retry the build with the same parameters, the build will fail.
So the MSBuild.exe and the IsCmdBld.exe need administrative priviledges. But this is against our company policy...
@Flexera: Fix this bug, it's very anoying! :mad:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 03, 2011
08:27 AM
I was getting the same -7159 error when trying to call IsCmdBld from an InvokeProcess activity in TFS Build 2010. The build agent was running as the local NT AUTHORITY\Network Service account. When that account was changed to a domain account with administrative privileges, the error went away.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2013
12:49 AM
Hi edelweiss0,
May I ask if you found solution to this problem? I also encountering this when I run the automated build script using Hudson. But in actual machine it's working fine.
Please advise.
Thanks,
Lea
May I ask if you found solution to this problem? I also encountering this when I run the automated build script using Hudson. But in actual machine it's working fine.
Please advise.
Thanks,
Lea