b.biene
Posts: 66
Joined: Thu Nov 08, 2012 4:21 pm

Build Error

Tue Aug 18, 2015 8:36 am

What can cause such an error?

"D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS-Setups.sln" (Standardziel) (1) ->
"D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj.metaproj" (Standardziel) (2) ->
"D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj" (Standardziel) (12) ->
(Build Ziel) ->
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : IsVsixCmd
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : build -buildslist CompactX64
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : Checking builds status... done.
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : Build required. [D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : [D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : [ CompactX64 ] [D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error :
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : Building package (en):
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\build\Setup\Publish\x64\FAS-Compact.exe
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : Creating LZMA archive... done.
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : Creating MSI database... File "C:\Users\Compiler\AppData\Local\Temp\DC1.tmp" could not be read.
[D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(70,5): error : [D:\Jenkins\workspace\FAS\FAS CI-Setup (stable)\fas-setups\FAS\FAS.aiproj]

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

Re: Build Error

Tue Aug 18, 2015 1:22 pm

Hello,

This may happen if the user account under which your build agent runs doesn't have enough permissions to write in the related build location (C:\Users\Compiler\AppData\Local\Temp\).

Can you please check this and see if this helps?

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

b.biene
Posts: 66
Joined: Thu Nov 08, 2012 4:21 pm

Re: Build Error

Tue Aug 18, 2015 1:26 pm

No the error only occures some times.
Do you maybe have a problem if the Project is builded paralell from two diffrend processes?

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

Re: Build Error

Wed Aug 19, 2015 11:51 am

Hello,

Yes, please note that Advanced Installer doesn't have support for simultaneous builds of the same project. So, most probably this is the cause of the related error.

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

b.biene
Posts: 66
Joined: Thu Nov 08, 2012 4:21 pm

Re: Build Error

Wed Aug 19, 2015 11:57 am

Is it possible to fix that?

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

Re: Build Error

Wed Aug 19, 2015 12:41 pm

Considering our current application implementation, I'm afraid not.

Thank you for your understanding.

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

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Build Error

Mon Dec 05, 2016 6:58 pm

Hi Daniel,

We encounter the same problem sometimes when building two different projects at the same time. Seems like both create the file DC1.tmp.
Would this suggest that you can't run multiple compile processes at the same time or normally just not multiple compile processes for the same project?

Thank you very much,
Markus

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

Re: Build Error

Wed Dec 07, 2016 4:29 pm

Hello Markus,

The limitation is only for the same project. You cannot build the same project simultaneously using multiple instances of Advanced Installer.

You should be able to build different projects simultaneously though. I'm not sure why did you get the related error. Did your projects refers the same resources from disk? It will be very useful if you could find any pattern which could help us to replicate this behavior, even with a low replication rate.

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

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Build Error

Mon Dec 12, 2016 6:02 pm

Hi Daniel,

just got around testing it. We are running the install sequence for 2 different versions of our software and get this error on one of the installers:

Code: Select all

Preparing files... done.
Creating LZMA archive... done.
Creating MSI database... File "C:\TEMP\DC1.tmp" could not be read.
Watching the DC1.tmp file it seems like both processes require it but one deletes it before the other one can access it. Should this file not be suffixed with a process id to keep it around?

Cheers
Markus

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

Re: Build Error

Thu Dec 15, 2016 1:41 pm

Hello Markus,

Can you please disable your antivirus program (if any installed) during the projects build and see if this helped?

Also, can you please give me more details about what you mean by "We are running the install sequence for 2 different versions of our software"? Do you mean that you trigger simultaneously two builds for your two versions of the same product setup? Can you please send us to support at advancedinstaller dot com the related AIPs (project files) and give us a step by step test case you perform before this happens?

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

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Build Error

Mon Dec 19, 2016 7:48 pm

Hi Daniel,

the build machine doesn't have anti virus software running.

Our software currently comes in 2 versions: the older 088 and the new 099 with each having their own Upgrade Code. These build are fired off automatically so sometimes they run at the exact same time which results in above mentioned error.

I'm sending the aip files with directions in a separate email to support

Thank you very much!
Markus

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

Re: Build Error

Wed Dec 21, 2016 12:39 pm

Hello Markus,

Thank you for your sent projects. From what I see both of your projects contain folders (in "Files and Folders" page) that are synchronized with the same folders from disk. Therefore they reference the same files from disk. In this case please keep in mind that we cannot guarantee a successful simultaneous build of those projects. When two projects reference the same resource files from disk a simultaneous build cannot be guaranteed by our application.

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

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Build Error

Mon Jan 02, 2017 4:36 pm

Hi Daniel,

that's not quite correct: the Files and Folders are relative to the Installer file, they most definitely do not share any common files.

Again, we have watched it and the above mentioned file DC1.tmp is removed by one installer process before the other can access it. The issue is that both processes try to access the same temporary file.

Cheers and all the best for 2017
Markus

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

Re: Build Error

Wed Jan 04, 2017 2:34 pm

Hello Markus,

Happy New Year!

Can you please open both of your projects and go to "Files and Folders" page. Then, in turn, right click on the following folders:

Code: Select all

Application Folder\bin
Application Folder\Config
Application Folder\Samples
and from their context menu choose "Properties..". Then go to "Synchronization" tab and make sure the sibling folders from the two projects are not synchronized with the same source from your disk. If they are not synchronized with the same sources from disk, then I'm afraid that the only way to further investigate this will be to get a fully buildable sample.

So, if you could isolate the issue in two small sample buildable projects and forward them to us this will be great.

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

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Build Error

Thu Jan 05, 2017 8:24 pm

Hi Daniel,

we are running the 2 installers from different locations (git branches are checked out separately) and all file references are relative.
Probably should have done this earlier, but I send 2 aip files to you which show the aip file after changing all variables via script. Usually after completing a build we checkout the files back to the original template which i have shared with you before.

Thanks for your help!
Best
Markus

Return to “Common Problems”