Exception Current context does not contain an instance of... - 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!

MikeMurnane
Posts: 30
Joined: Wed Dec 08, 2010 5:46 pm

Exception Current context does not contain an instance of...

I was in the GUI editing my aip file (removing properties and adding others) ... I just got this exception that I do not see any information about on the forms or the site search ...

Exception Current context does not contain an instance of this component [id caphyon.advinst.msicomp.XmlLocatorElementComponent].

I get this when I navigate to: Media / Build Content
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exception Current context does not contain an instance of...

Hello,

This is caused by a known bug in our Professional and Java project types, version 8.1.1. The fix has been issued and will be available in the next version.

Until then the solution is not to use this tab from Media page in Professional and Java projects.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MikeMurnane
Posts: 30
Joined: Wed Dec 08, 2010 5:46 pm

Re: Exception Current context does not contain an instance of...

Any side-effects or problems with the MSI that is generated?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exception Current context does not contain an instance of...

This is only a GUI bug, so everything else should work fine.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lobbyjones
Posts: 2
Joined: Thu Apr 07, 2011 3:35 am

Re: Exception Current context does not contain an instance of...

I am evaluating the installer and ran into this bug. Any chance it will be fixed before our evaluation runs out? We also cannot build our installer MSI files any longer. The CAB constructor is not failing on every build. :(
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Exception Current context does not contain an instance of...

Hello,

The bug discussed in this thread has been fixed and will be available starting with version 8.1.2 which will be released very soon.
We also cannot build our installer MSI files any longer. The CAB constructor is not failing on every build.
This bug also doesn't have any side effects, it's just a GUI bug so the behavior you are mentioning cannot be related to it. Can you please give us more details about this?

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

Return to “Common Problems”