Error while building package - 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!

chrizmo
Posts: 9
Joined: Tue Jul 17, 2007 1:59 pm

Error while building package

Hello!

After installing AI 6.3.1 I was able to create a package and build it, but after about 30 minutes I got an error in the finishing phases when I tried to build. The error is as follows:
[ DefaultBuild ]
Building package (en): D:\01 Kontorstøtte\MSI pakker\PIA\Pia Staff.exe
Reusing archives from cache... done.
Creating MSI database... done.
Inserting CAB file(s) into MSI... done.
Writing Summary Information... done.
error.
Exception - Reason: File [C:\Programfiler\Caphyon\Advanced Installer 6.3.1\stubs\setup.exe] could not be read.

Build finished because an error was encountered.[
This is probably related to the bootstrapper, because I tried to export another package without prerequsities and got no error. I also tried to start the setup.exe filed mentioned in the error and the error was "This Archive is corrupted".

I have tried to repair the program, removing and re-installing. This was no help, and I'm kind of lost now.
chrizmo
Posts: 9
Joined: Tue Jul 17, 2007 1:59 pm

Re: Error while building package

I fixed it, I just deleted all the files AI created during a build and it worked.
Nico-D
Posts: 63
Joined: Mon Aug 18, 2008 2:34 pm

Re: Error while building package

Hi chrizmo

I had exactly the same problem and fixed it too. The informations I found on this forum were:
- beware of hard-coded paths
- remove the build cache
- remove all build output

None of these solved my problem, but suddenly I noticed that I have a forgotten installer window of this package running somewhere. Closing it solved everything.

So, I am adding to the list the following point:
- be sure you are not testing your package (install/uninstall) somewhere... :wink:

Regards,
-- Nicolas D.

Return to “Common Problems”