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?
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/
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.
"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)."
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.)
FOLLOW US
Get the latest news in Application Packaging