Videos

Discover the features and functionality of Advanced Installer. Explore and learn how to leverage its powerful GUI.
The VS 2019 Extension is basically dead to me :(
If I try to Add Project Output I get a dialog (as below) sometimes, or VS just freezes and I need to kill it.
---------------------------
Microsoft Visual Studio
---------------------------
Advanced Installer Extension
The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
---------------------------
---------------------------
I just installed the extension so it's the latest. Also updated Advanced Installer to v 17.1.
Using VS 2019 Community v 16.6.0
Unfortunately, I can not say for sure why this happens.
Can you please send us your VS solution (SLN file) and all of the project files it includes (only the project definition files without the source code files) so we can test and investigate this on our end? You can send the resources by e-mail at support at advancedinstaller dot com .
In addition to that, are you able to consistently reproduce this on your end, or it only reproduces sporadically?
Looking forward to hearing from you!
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Adv. Installer version 17.4.1 Professional
Adv. Installer Extension version 17.4
Visual Studio 2019 version 16.7.2
I think Issue may have arisen after a Visual Studio update?
Kind regards
Martin Moesby
Software Architect
Toolapck Solutions

Fri Sep 11, 2020 1:30 pm

Issue is apparently not with Visual Studio, but with the AIP-file.
If creating a new AI project, all the mentioned issues go away...
Just thought Id' mention that, since out AI-project file was created with AI17.1, upgraded to 17.3 and then to 17.4...
Regards,
Martin Moesby

Sat Sep 12, 2020 4:09 pm

Same for me, although after some digging I think I figured out what's ticking it off for me.
AI 17.4.1 Pro, AI Extension 17.4, VS 2019 16.7.3 - project I'm building this for is a .NET Core 3.1 Service
Create a new AI Setup project, when it comes to Add Project Output, selecting Primary and References only - life is good. The moment I include Companion Files (3 1k json files and a 171k exe), the error happens and corrupts the aip indefinitely (going back and unselecting it doesn't get rid of the corruption)
I try to open it in Advanced installer but it fails to open due to a token parse error. I edited the aip file and found that it tried to insert about 20MB of binary data for one of the fields in this section:

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.MsiFeatCompsComponent">
    <ROW Feature_="MainFeature" Component_="APPDIR"/>
    <ROW Feature_="MainFeature" Component_="ProductInformation"/>
    <ROW Feature_="MainFeature" Component_="MyService_PrimaryOutput"/>
    <ROW Feature_="MainFeature" Component_="MyService_References"/>
    <ROW Feature_="MainFeature" Component_="MyService_ContentOutput"/>
    <ROW Feature_="MainFeature" Component_="MyService_ContentOutput_Properties"/>
    <ROW Feature_="MainFeature" Component_="&#0;ႋ좋勿茌Ⴠ .... 20MB more of this crap..."/>
  </COMPONENT>
My work around was to manually attach the companion files. Hope this helps!
B Blessed,
Sorry for the delayed reply on this.
Can you please send us your VS solution (SLN file) and all of the project files it includes (only the project definition files without the source code files) so we can investigate them?
Even better, if you could isolate the issue into a small sample (solution file alongside all the source code files) this will be very useful for us.
All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Hello,
This has been fixed in version 17.5 of Advanced Installer, released on September 22nd, 2020.
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”