Error on Team Foundation Server build - Advanced Installer Community
StevePPO
Posts: 4
Joined: Mon Feb 15, 2016 3:06 pm

Error on Team Foundation Server build

Hello

I'm unable to make advanced installer run within a TFS build. We bought the product to run it within a build process and get MSI generated automatically.

I continuously have the following error:

1 error(s), 0 warning(s)
$/DEV.Sample Agile 2013.5/WindowsFormsApplication1/WindowsFormsApplication1.sln - 1 error(s), 0 warning(s), View Log File
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets (70):
$/DEV.Sample Agile 2013.5/WindowsFormsApplication1/WindowsFormsApplication1.sln compiled
No Test Results
No Code Coverage Results
Other Errors and Warnings
1 error(s), 0 warning(s)
Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateException)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

I have no clue what means:
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets (70)

There are no more information in log file that this line.

Can you help me understand what I did wrong?

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error on Team Foundation Server build

Hello and welcome to our forums,

This may happen if the "MSBuild Platform" parameter of your build definition is not set to "x86". Also, please make sure you fulfill our TFS Build Server Minimum Requirements.

Also, do you replicate the error using our latest version (12.7.1) of Advanced Installer?

All the bets,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
StevePPO
Posts: 4
Joined: Mon Feb 15, 2016 3:06 pm

Re: Error on Team Foundation Server build

I have the error with the version 12.7.1

I will give a try to the parameter you mention

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error on Team Foundation Server build

You're welcome.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
StevePPO
Posts: 4
Joined: Mon Feb 15, 2016 3:06 pm

Re: Error on Team Foundation Server build

It works, I have been able to generate a MSI with properties:
Output Location: "AsConfigured"
MSBuild Platform X86

I have now to understand how to output it in a drop folder, but this is TFS issue exclusively.

Thanks for the answer
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error on Team Foundation Server build

You're always welcome Steve. I'm glad you got this working.

Maybe the "Select a staging location and set up a drop folder" article will be useful too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”