Build finished because an error was encountered (vdproj) - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BGood
Posts: 32
Joined: Thu Apr 19, 2012 4:22 pm

Build finished because an error was encountered (vdproj)

I don't know how to get around this error. After running AI to build my installer, the build process halts with the following error dialog:

Build finished because an error was encountered

Adding "Icon" table rows

Log

[ Debug ]
Building package (en): S:\cds_installer\DataShareAPS\AdvancedInstaller\Debug\DataShareAPS.exe
Creating CAB file(s)... done.
Creating MSI database... error.
File "E:\cdsProject\cdsVS2010\cds\cds_installer.vdproj\asw50.ico" could not be read.

Build finished because an error was encountered.

-------------------------------------------------------------

asw50.ico is a small icon file and cds_installer.vdproj is my setup & deploy project in Visual studio. Why would AI be processing my vdproj file?
BGood
Posts: 32
Joined: Thu Apr 19, 2012 4:22 pm

Re: Build finished because an error was encountered (vdproj)

I don't know if this helps, but I went through the .aip file to see what might be causing this problem and tried removing line 361from the AI project configuration file:

<ROW Name="_6D0ACF7259CA4FCAB53547F869043B2A.exe" SourcePath="E:\cdsProject\cdsVS2010\cds\cds_installer.vdproj\asw50.ico" Index="0"/>

Surprise, surprise! The installer build completes, but I don't know if it works yet. You should also know that this project was imported from the .vdproj setup and deploy project file "cds_installer.vdproj" which AI seems to think is a folder.
BGood
Posts: 32
Joined: Thu Apr 19, 2012 4:22 pm

Re: Build finished because an error was encountered (vdproj)

The installer seems to work. No idea how the rogue line got in there.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Build finished because an error was encountered (vdproj)

Hello,

Can you please send us the vdproj you are trying to import to support at advancedinstaller dot com so we can replicate the issue here and investigate?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”