smurdock
Posts: 3
Joined: Tue May 11, 2010 2:57 am

exited with code 536805277

I'm trying to use A.I. on a new build box instance. It's a registered copy, newly installed there (version 7.6.1, up from 7.1.3). Both the command line and the GUI both give the code 536805277 error.

From the command line:
Exception - Exception - Could not create cabinet file
C:\CIP Resources\DCS2000-Final-Process.xml(114,3): error MSB3073: The command ""C:\Program Files\Caphyon\Advanced Installer 7.6.1\bin\x86"\AdvancedInstaller.com /build C:\Caphyon\DCS2000_FIX.aip -force" exited with code 536805277.

The GUI doesn't display the error number but says:
Building package (en): C:\Caphyon\DCS2000_FIX.msi
Creating CAB file(s)... error.
Exception - Reason: Exception - Could not create cabinet file

Build finished because an error was encountered.

The other mentions of this error on this board mention non-registered instances (this one is registered) and missing files (the build goes all the way through the file list before it stops).

Any suggestions?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: exited with code 536805277

Hello,

Are you sure you have permissions to build your project to that location?
Please try building from an elevated console or from an elevated instance of Advanced Installer.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
smurdock
Posts: 3
Joined: Tue May 11, 2010 2:57 am

Re: exited with code 536805277

It's a Windows XP virtual machine, and the user has admin privileges -- that's what's confusing. The same user the runs A.I. also removes and recreates subdirectories from SCM and builds a set of binaries from scratch in the prior stage, and this on a system with 20 GB space to spare.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: exited with code 536805277

Hi,

We cannot reproduce this error message on any of our machines, does this error appears on all the
projects created with Advanced Installer on that machine or just for this project?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
smurdock
Posts: 3
Joined: Tue May 11, 2010 2:57 am

Re: exited with code 536805277

It's just happening on this particular virtual machine. The error occurred on a virtual XP machine created from a VMWare template, with a user in possession of admin privileges; A.I. usually works like a top on these machines.

What else can I think of?... We have a license, already being used in 2 other virtual machines.

The machines are currently a ways behind the current version of A.I. They're running 7.1.3. The machine with the problems was initially set up with 7.6.1, and then reinstalled with 7.1.3 to match the aip file already in use.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: exited with code 536805277

Hello,

In your first post:

Code: Select all

From the command line:
Exception - Exception - Could not create cabinet file
C:\CIP Resources\DCS2000-Final-Process.xml(114,3): error MSB3073: The command ""C:\Program Files\Caphyon\Advanced Installer 7.6.1\bin\x86"\AdvancedInstaller.com /build C:\Caphyon\DCS2000_FIX.aip -force" exited with code 536805277.
Note the quote after x86. I am not sure what scripting you are using but perhaps that quote is misplaced there. Try removing it or placing it somewhere appropriate.

If the issue persists, please send your .aip project file to support at advancedinstaller dot com so we can further investigate. Link to this thread in your email.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
gharmon
Posts: 6
Joined: Wed Dec 08, 2010 4:01 pm

Re: exited with code 536805277

Murdock no longer works here and we're getting this error again. Was there ever any resolution to this? It's the exact same problem with a syntax error regarding the quotes.

This process has not changed and has been working for the past 8 months on a daily basis.
To my knowledge, no OS updates were installed last night.
Admin priv's are still in effect.
gharmon
Posts: 6
Joined: Wed Dec 08, 2010 4:01 pm

Re: exited with code 536805277

Found out from tech support that they moved the vm to another data volume. After the move, the machine started spitting out errors to the network server logs:

Type: Error
Source: OCS INVENTORY SERVICE
Event ID: 20
Event Time: 12/08/2010 9:57:16 AM
User: n/a
Computer: <private>
Description:
ERROR: OCS Inventory NG Agent encounter an error, exit code is 4.
gharmon
Posts: 6
Joined: Wed Dec 08, 2010 4:01 pm

Re: exited with code 536805277

The OCS Agent isn't the problem. They moved the vm from one data volume to another. Currently in the process of performing a repair and rerun of the build to see if this fixes the problem. If this does not, I will then uninstall and reinstall A.I.
gharmon
Posts: 6
Joined: Wed Dec 08, 2010 4:01 pm

Re: exited with code 536805277

Repaired - build failed
Uninstall/Reinstalled A.I. - build failed

Used a different .aip on another build machine - built
Copied the different .aip to this build machine - build failed
Attempted 2 other .aip's on this build machine - both failed
Attempted same 2 .aip's on the other build machine - both built

Whatever the problem is, it is local to this machine.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: exited with code 536805277

Hi,

What command line are you using to build your project?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gharmon
Posts: 6
Joined: Wed Dec 08, 2010 4:01 pm

Re: exited with code 536805277

Command Line = DOS
Command Executed = C:\Program Files\Caphyon\Advanced Installer 7.1.3\AdvancedInstaller.com /build C:\Caphyon\DCS2000_FIX.aip -force

It's not a problem with the command, A.I., or the .aip file. I've verified this buy taking the .aip and running it on another machine. Works like a champ, just like it has been. It has something to do with the new data volume the Virtual Machine was moved to.

More than likely, we'll end up re-imaging the machine and go from there. If we find the reason/culprit, I will let you all know though.
fell.soft
Posts: 3
Joined: Tue May 31, 2011 8:19 am

Re: exited with code 536805277

Hi,
I've experienced the same error. Mysteriously, also on a VM build machine running Win XP (Pro).
My issue was fixed after I changed the Cache Folder in the Project Options.

Maybe that helps?

regards
Sebastian
gharmon
Posts: 6
Joined: Wed Dec 08, 2010 4:01 pm

Re: exited with code 536805277

Possible Solutions:

Sol 1. (This resolved the issue for us)
-- From the AIP GUI, select Options --> Auto Updates
-- Select "Do not check for updates automatically"

Sol 2.
-- Load your .aip Project, and from the AIP GUI, select Project --> Options
-- Select tab "Build Caching", and modify/alter/change the path of the Cache Folder (This assumes you have "Speed up builds by caching unchanged archives" checked.)
rtischer8277
Posts: 22
Joined: Fri Nov 30, 2012 2:26 pm

Re: exited with code 536805277

I have this problem too. Here is my error:

1>C:\Hiveware\trunk\Windows\main\HivewareInstaller\Hiveware - Advanced Installer\Hiveware Install debug\Hiveware Install debug.aiproj(47,5):
error MSB3073: The command ""C:\Program Files (x86)\Caphyon\Advanced Installer 9.7\bin\x86\AdvancedInstaller.com" /build "Hiveware Install
debug.aip"" exited with code 536805277.

AI works fine outside of Visual Studio, but when I compile it as a project along with my app inside of VS, it fails with this error.

Is the double quotes the problem? If so, how do I get rid of them?
Attachments
Hiveware Install debug.aip
.aip file that caused the exit error. Works fine, however, when run from AI itself.
(17.56 KiB) Downloaded 1111 times
double quotes error.png
double quotes error.png (14.57 KiB) Viewed 20933 times

Return to “Common Problems”