Carlos_TX
Posts: 7
Joined: Fri Oct 25, 2013 7:03 pm

New Visual Studio Project

Advanced Installer will not start Visual Studio 2013 when creating a new Visual Studio Application Project. Please see below error:

Error: Failed to open Visual Studio 2013

[SEH_AV_READ_NULLPTR] ACCESS_VIOLATION (0xc0000005) at address [0x0158292a]

Advanced Installer 10.6 build 53162
*** Stack Trace (x86) ***

[0x0158292a] -----
[0x003e0000] MODULE_BASE_ADDRESS

Thank you.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: New Visual Studio Project

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why you encountered this behavior. In order to get more details about what happens, can you please send us the crash log when this error appears so we can investigate it?

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Carlos_TX
Posts: 7
Joined: Fri Oct 25, 2013 7:03 pm

Re: Creating New Visual Studio Project

Hi,

Thank you for your reply. Attached, please find the steps I've recorded that lead to the problem using Visual Studio 2013. Thank you.
Attachments
AdvancedInstallerMessage.zip
Advanced Installer error report
(388.03 KiB) Downloaded 649 times
AdvancedInstallerError.zip
Recorded steps to reproduce the issue.
(837.2 KiB) Downloaded 653 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: New Visual Studio Project

Hello,

I've tested your scenario but I cannot reproduce it.

Can you please send us the solution and project files (without the sources) to support at advancedinstaller dot com, so we can analyze deeper your scenario?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Carlos_TX
Posts: 7
Joined: Fri Oct 25, 2013 7:03 pm

Re: New Visual Studio Project

Hi Dan,

Here is a simple test project I've created using Visual Studio 2013. To replicate the issue, please run Advance Installer from the desktop and select New - Project Type Installer - Visual Studio Application template as per my previous recorded steps. Thank you.


Update:

Dan, I have tested the attached project on different machines that ONLY had Visual Studio 2013 installed, and in every instance I got the same error; however, when running Advanced Installer on a machine that had Visual Studio 2012 installed as well as Visual Studio 2013, Advanced Installer worked just fine when selecting the test project compiled from either VS2012 or VS2013. This error does not occur on a machine that ONLY has Visual Studio 2012 installed. Once again, Thanks.
Attachments
WindowsApplication1.zip
Test Visual Studio 2013 Project
(127.1 KiB) Downloaded 688 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New Visual Studio Project

Hello,

We've tested your scenario and we were able to reproduce only the first occurring error (Error: Invalid class string). This seems to be an Advanced Installer issue. Thank you for bringing it to our attention. A fix will be available in a future version of Advanced Installer. Until then, as a workaround, you should open into an instance of VS2013 the related VS solution you are trying to import in Advanced Installer and, then try again to import the solution file in Advanced Installer.

Also, regarding the second crash we weren't able to replicate it. We are not sure why this happened. However, can you please try the above workaround
- open solution file in VS2013
- open Advanced Installer and run the Visual Studio Application wizard in order to import the solution file

and see if this crash still appears?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Carlos_TX
Posts: 7
Joined: Fri Oct 25, 2013 7:03 pm

Re: New Visual Studio Project

Hello Daniel,

I tried your workaround; however, that is not working either. Any ideas if a possible hot fix could be available soon? Thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New Visual Studio Project

Hello,
I tried your workaround; however, that is not working either.
I'm not sure why this happens. Did you run the Visual Studio Application wizard from Advanced Installer (in order to import the solution file) while your solution file was opened in an instance of Visual Studio (this had worked for me)? Also, can you test the scenario on multiple machines?
Any ideas if a possible hot fix could be available soon?
Unfortunately, I cannot give you an ETA for this. However, we will notify you when this will be available.

Thank you for your patience and understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Carlos_TX
Posts: 7
Joined: Fri Oct 25, 2013 7:03 pm

Re: New Visual Studio Project

Hello,
I'm not sure why this happens. Did you run the Visual Studio Application wizard from Advanced Installer (in order to import the solution file) while your solution file was opened in an instance of Visual Studio (this had worked for me)? Also, can you test the scenario on multiple machines?
To answer your question, yes I did. I also tried your last suggestion; however, the problem persists . Thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New Visual Studio Project

Hello Carlos,

I'm not sure why this happens. I was able to successfully import your attached solution file in Advanced Installer 10.6 (while the solution file was opened in VS 2013 Ultimate edition). Can you tell us what VS edition you are using and what is your target machine software configuration (operating system version, service pack level, etc.)?

Also, we will investigate this issue further and we'll let you know when a fix will be available.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Carlos_TX
Posts: 7
Joined: Fri Oct 25, 2013 7:03 pm

Re: New Visual Studio Project

Hi Daniel,

I am using VS 2013 Professional edition. The target machine is (OS Windows 7 with latest service pack) AnyCPU (prefer 32-bit), NET Framework 4.5. I have tried Advanced installer with different machine configurations, and the same error occurs. I've also tried with older versions of Advanced Installer with the same result. Thank you.

Best regards,
Carlos
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New Visual Studio Project

Hi Carlos,

I'm not sure why this happens. However, we'll investigate this issue and we will try to add an improvement regarding this as soon as possible. Also, we will notify you when a fix will be available. Until then, as another workaround, you can try to add an Advanced Installer project to your Visual Studio solution and, then you can edit in Advanced Installer the added installation project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New Visual Studio Project

Hello Carlos,

This was fixed in version 10.9 of Advanced Installer released on January 23, 2014.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: New Visual Studio Project

Daniel wrote:Hello Carlos,

This was fixed in version 10.9 of Advanced Installer released on January 23, 2014.

All the best,
Daniel
I'm afraid it isn't, at least not on my system :cry:

The solution was already opened in VS 2012 Ultimate when trying to import the solution file in AI 10.9 => Error message:
"Failed to start Visual Studio. Error: Invalid class string" (= translated from Dutch error message).

Add an advanced installer project to my Visual Studion solution doesn't work either, because only the Name field is shown , but not the Location, Solution and Solution name fields as you can see in the attachments.
VS2012Ultim_AIproject.jpg
VS2012Ultim_AIproject.jpg (82.46 KiB) Viewed 16653 times
VS2012Ultim_SetupAndDepl.jpg
VS2012Ultim_SetupAndDepl.jpg (104.84 KiB) Viewed 16653 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: New Visual Studio Project

Hello,

Indeed, the import of a Visual Studio 2012 Solution issue still persist in the 10.9 version of Advanced Installer. We're sorry for the inconvenience. A fix will be available in the next version of Advanced Installer. However, the import of a Visual Studio 2013 Solution has been fixed in the 10.9 version of Advanced Installer.

While for the Create installer from Visual Studio attached screenshots I've tested your scenario but I cannot replicate it. Can you please try to replicate on another clean machine and see if the behavior still persist?

If it does, please give us a detailed test case so we can investigate this.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”