cooltoolsonline
Posts: 13
Joined: Tue Oct 06, 2009 4:50 pm
Location: United Kingdom
Contact: Website

Build Error using TFS

Hi there,

I'm having trouble with TFS and Advanced Installer. I'm using the post build step to make a setup program and I've noticed in the log the following error is printed out (see below).

If I was to run the Advanced Installer program and command line everything is fine (even from within Visual Studio).

What would cause this error?

Thanks,
Simon.

C:\PROGRA~2\Caphyon\ADVANC~1\advancedinstaller.com /build c:\dev\cooltoolsonline\code\apps\passexpro\setup.aip (TaskId:240)
(TaskId:240)
(TaskId:240)
Exception - This type of project requires an Advanced Installer professional license. (TaskId:240)
(TaskId:240)
(TaskId:240)
(TaskId:240)
You may use it for evaluation purpose ONLY, for a trial period of 30 days. (TaskId:240)
(TaskId:240)
After that, the Build operation will stop working. (TaskId:240)
(TaskId:240)
(TaskId:240)
(TaskId:240)
Days left in your trial period: 0. (TaskId:240)
C:\Windows\Microsoft.NET\Framework64\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: The command "C:\PROGRA~2\Caphyon\ADVANC~1\advancedinstaller.com /build c:\dev\cooltoolsonline\code\apps\passexpro\setup.aip" exited with code 536805277. [C:\Dev\Cooltoolsonline\Code\Apps\PassEXPRO\Cooltoolsonline.PassEXPRO.vs2008.csproj]
Done executing task "Exec" -- FAILED. (TaskId:240)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Build Error using TFS

Hello,

I am not sure why this might be happening, but a reason might be that when Advanced Installer is trying to build the project through TFS, it is running on another machine than the one it was licensed for.
It is best if you made sure this is not the case.

Let me know if this helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
cooltoolsonline
Posts: 13
Joined: Tue Oct 06, 2009 4:50 pm
Location: United Kingdom
Contact: Website

Re: Build Error using TFS

Hi there, Thanks for your reply.

The installation is registered on another PC but I was under the impression that Advanced Installer was per developer not per PC:-

'Advanced Installer is licensed per developer. That means you need one license for each developer using the Advanced Installer product. Each developer is allowed to install his license on any computer he is using Advanced Installer on.'

Does this mean I cant use TFS to run the command line program as part of the build process?

Thanks,
Simon.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Build Error using TFS

Hi Simon,

A.I is per developer, yes. You'll simply have to activate it on that machine too. For this, you would have to run A.I with full UI on that machine, and register it from the Help->Register wizard.

Let me know if this helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
cooltoolsonline
Posts: 13
Joined: Tue Oct 06, 2009 4:50 pm
Location: United Kingdom
Contact: Website

Re: Build Error using TFS

Hi there,

I've registered AI using the UI and that worked. When I create a build using the UI it creates the setup exe without issue.

When I use TFS 2010 and it produces the setup executable. But when I run this it displays an additional warning message about being created with an evaluation copy of AI.

The exact message is 'This package was created with a trial version of Advanced Installer. You may use it for Evaluation Purposes only."

Is there anyway to remove this message like when created using the UI.

Cheers,
Simon.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Build Error using TFS

Hi,

Since Advanced Installer is licensed per-developer, the application is registered per-user. This means that the build process should run under the user account for which you registered it. Is this the case for your TFS build process?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”