"The application has failed to start because the application - 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!

mpressprich
Posts: 2
Joined: Thu Sep 18, 2008 4:37 am

"The application has failed to start because the application

Hi, I am evaluating Advanced Installer. I generated a distribution for my C++ project built using VS2008 and QT 4.4. It works on my development machine but on another XP computer I get

"The application has failed to start because the application configuration is incorrect"

when I try to run the app. Do I need to include some merge module or redistributable to get this to work? Any suggestions for figuring out the problem?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: "The application has failed to start because the application

Hi,

I'm not sure why you are encountering this behavior because it is related to your application, not to the installation package. Does the target machine have an appropriate Visual C++ redistributable installed? Please note that you should include in your installation package all the files and merge modules used by your application. Perhaps this will help you:
http://social.msdn.microsoft.com/forums ... 3c86332c1/

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: "The application has failed to start because the application

Hi mpressprich,

consider looking into the Windows event log, it tends to have details on what specifically it is stumbling about. This is in my experience related to the "manifest" stuff (see project settings, linker tool and manifest tool settings), and not at all to Advanced Installer or Windows Installer.

It typically works on the development machine because the Microsoft development tool installer dumps the truckload of (runtime and other) libs in many versions onto the computer. These libs are then missing on other machines.

Note how Advanced Installer takes the right route by shipping the libs it requires along (look at the .exe file's manifest and the "Microsoft.VC90.CRT" folder, note the matching names and version numbers).

We also have cases of VS adding conflicting runtime libs requirements, specifying version abc and version xyz of the exact same lib as a requirement. In this case turning manifest creation off and adding a manually tuned manifest to be added as a post build step (or via a script, calling mt.exe) can solve this.



With best regards

Clemens Anhuth
mpressprich
Posts: 2
Joined: Thu Sep 18, 2008 4:37 am

Re: "The application has failed to start because the application

"Note how Advanced Installer takes the right route by shipping the libs it requires along (look at the .exe file's manifest and the "Microsoft.VC90.CRT" folder, note the matching names and version numbers)."

Where do I find the Microsoft.VC90.CRT folder?
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: "The application has failed to start because the application

In the directory where Advanced Installer is installed. It is just an example of how to package and ship an application, and in my opinion the optimal approach because it leaves the rest of the system alone. (But of course the people who insist to install in the Windows system folder don't care. (Except that Vista makes life much harder for them.)



With best regards

Clemens Anhuth

Return to “Common Problems”