The application ran into a problem that it couldn't handle. Sorry for the inconvenience. - Advanced Installer Community
czeshirecat
Posts: 19
Joined: Sun Sep 11, 2016 11:15 am

The application ran into a problem that it couldn't handle. Sorry for the inconvenience.

Hi.
I'm trying to find a product to replace an old Visual Studio windows setup project. I'm still running VS2010 and want to upgrade our solution to a newer version but I'm stuck because of the setup project.
It's a moderately complex setup that installs several Windows desktop dotnet executables, two service applications, third party control sets and class libraries, a non dotnet dll. There's 4 possible configurations for the final installation. There's also a custom action that runs after installation that sets up a data directory structure with permissions and other similar tasks so that the main app doesn't need to run with elevated permissions.
Within the solution itself, which has been developed over about 10yrs or so, there's several applications which come as part of the main app plus some helper projects and apps for testing, generating resources etc etc which are not selected as part of the setup.

When I generate a test Advanced Installer project, I use the default settings in the AI dialogs as I'm just testing it's capabilities.
As AI analyses the solution, it displays a small dialog giving me the option to import one or more of the four old setup projects that my solution contains. I select the main setup project and press the Next button.
A window titled "Importing" is displayed with a progress bar. After a few seconds the message "The application ran into a problem that it couldn't handle. Sorry for the inconvenience. " is displayed and the import fails. The same thing happens if I try to import the solution rather than converting the setup project.

I tested AI on another application elsewhere and that worked ok. So I'm guessing there's something in my solution that AI doesn't like. I even tried an demo Installshield import and that didn't work either. Or Wix. I need to find a product where i can import the solution and the product will automatically analyse all files needed plus pull files from the correct locations, just as the great little utility that Microsoft used to provide. I've already seen that the original setup pulls files from all sorts of places that I wouldn't know where to search if I tried writing my own hellish script.

How do I track down the problem? Is there a log file somewhere? No files or folders were generated at the time of failure.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: The application ran into a problem that it couldn't handle. Sorry for the inconvenience.

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Just to be sure, you are not using an Express edition of Visual Studio? I ask this because we do not support importing projects created with the Express editions, limitation from Microsoft.

If this is not your case, can you please send us to support at advancedinstaller dot com your VS project files (solution and the projects without the resource files) so we can test and investigate on our side? If it contains confidential information you can send us a small test project which reproduce this behavior. It would be very useful if you could isolate the behavior in a detailed step by step test case which we can follow on our side to replicate the issue.

Unfortunately, the only way to further investigate this is to be able to replicate the behavior on our side. So, if you find any useful insights that could lead to a pattern or test case which can help us to replicate the issue please let us know.

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

Return to “Common Problems”