Exception when building project - 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!

radar
Posts: 10
Joined: Tue May 25, 2010 12:06 am

Exception when building project

Hello

OS: Windows 7 (version 6.1 Build 7600)
HW: x64, i7 950
AI: 7.6.1

Up until now, I have had no problems with using the AI. However all of a sudden when attempting a build and exception occurs:
"
[ DefaultBuild ]
Creating MSI database (en)... Exception - Reason: [READ OPERATION] ACCESS_VIOLATION (0xc0000005) at address 0x368980ab6eeb6bbf.

*** Stack Trace (x86) ***

[0x00571663] ---


Build finished because an error was encountered.
"
A similar error is reported when selecting the SAVE control.

I have cleared the project cache and reinstalled AI. The problem continues.
I have attached the project for your review.

Regards
Mark
Attachments
Build Failure Message Screen Capture
Build Failure Message Screen Capture
BuildFailure.png (34.38 KiB) Viewed 4189 times
VR-Studio.aip
AI Project File
(174.78 KiB) Downloaded 412 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception when building project

Hello,

There was an invalid row in your .aip project file. Did you edit it directly, without Advanced Installer?
The problematic row in your .aip project file was:

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.MsiCheckBoxComponent">
    <ROW Value="1"/>
  </COMPONENT>
which I deleted. That fixed the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
radar
Posts: 10
Joined: Tue May 25, 2010 12:06 am

Re: Exception when building project

Hello Gabriel

No I did not. Any changes to the project file were made via the UI.

I was attempting to make changes to the project as discussed in the "Install Selected COMPONENT only if .NET FRAMEWORK installed" issue. When attempting the build, this failure occurred.

Thanks for the help.

Regards
Mark
radar
Posts: 10
Joined: Tue May 25, 2010 12:06 am

Re: Exception when building project

Hello Gabriel

Ok, so I removed the offending lines of code
"
<COMPONENT cid="caphyon.advinst.msicomp.MsiCheckBoxComponent">
<ROW Value="1"/>
</COMPONENT>
"

I made the changes to the project so that I could test the "Install Selected COMPONENT only if .NET FRAMEWORK installed" issue.
I built the project and installed the project.
I noted that my VaultCompatibility component was installed (which it should not have), but then realized I had my logic incorrect (Level set to 0 instead of 1).
I made the change, saved my project and performed a build.
An message was displayed indicating the version could not be set, however it appeared there were not errors displayed in the log.
I then attempted to uninstall the application however was not able to do so as a the installer reported "Control UnistallCleanupCheckBox on doalog VerifyRemoveDlg needs a property linked to it" when selecting REMOVE option from the setup dialog.
I then attempted to inspect the MAINTENANCE|VerifyRemoveDlg dailog and an AV was generated. Refer to attached capture.
Attempting check the "UninstallCleanupCheckBox' produces another AV. See attached.

What I have determined is that these new AV's occur in the project with or without the offending line of code.

Help.

Regards
Mark
Attachments
Attempting check the &quot;UninstallCleanupCheckBox
Attempting check the "UninstallCleanupCheckBox
AVOnCheckVerifyRemoveDialog.png (37.5 KiB) Viewed 4172 times
AV when selecting MAINTENANCE|VerifyRemoveDlg dialog
AV when selecting MAINTENANCE|VerifyRemoveDlg dialog
AVOnVerifyRemoveDialog.png (18.21 KiB) Viewed 4172 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception when building project

Hello,

Assuming the property associated with that checkbox was SOME_PROPERTY, all occurrences of the following text were somehow removed:

Code: Select all

Property="SOME_PROPERTY"
from the project.
I have fixed the project you posted earlier. Please review it and redo any changes you've added to it since then.

Regards,
Gabriel
Attachments
VR-Studio.aip
(174.83 KiB) Downloaded 352 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
radar
Posts: 10
Joined: Tue May 25, 2010 12:06 am

Re: Exception when building project

Hello Gabriel

I have decided to discard the project file due to the errors that have occurred in the file. I was just not very confident in using the file as for some reason lines of code was corrupted in the the project file. So to be safe I have decided to create the project form scratch.

Thank you for the help. The question I guess is how this occurred.

Regards
Mark

Return to “Common Problems”