Install Shield

InstallShield – The product license has expired or has not yet been initialized.

While working on some TFS 2010 Workflow builds I got the following error..

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

After digging about for a bit, it turns out that the user that the build controller runs as, must be added to the Administrators group of the build server. Once this has been done, you must reboot the build server. The next time you run the build, the error should be gone.