This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- resolved
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 05, 2009
11:57 AM
application configuration is incorrect
Hello developers,
My application fails to launch on a clean XP Vista box when I create the deployment in InstallShield.
I create a Basic MSI project. I use the dependency scanner in both the Project Assistant and the Installation Designer, and add all recommended merge modules and objects.
When I install the project on a test machine, I get “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem” error.
So then, I go to the “Program Files” directory that my application is at- instead of just the short cut from the Start Menu, to try and launch the application. I get a similar error that’s a teeny bit more specific “C:\Program Files\CoName\ProductName\ProductName.exe
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
However, when I create my project deployment in Visual Studio, and install with their msi file, that application installs and runs fine. Furthermore, if I install the package created with VS, and then install the package I created with InstallShield, the Install Shield package runs fine as well.:eek:
This tells me that I’m missing some kind of dependency in rolling everything together using InstallShield. Whats the best way to go about troubleshooting this problem?
Thanks
My application fails to launch on a clean XP Vista box when I create the deployment in InstallShield.
I create a Basic MSI project. I use the dependency scanner in both the Project Assistant and the Installation Designer, and add all recommended merge modules and objects.
When I install the project on a test machine, I get “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem” error.
So then, I go to the “Program Files” directory that my application is at- instead of just the short cut from the Start Menu, to try and launch the application. I get a similar error that’s a teeny bit more specific “C:\Program Files\CoName\ProductName\ProductName.exe
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
However, when I create my project deployment in Visual Studio, and install with their msi file, that application installs and runs fine. Furthermore, if I install the package created with VS, and then install the package I created with InstallShield, the Install Shield package runs fine as well.:eek:
This tells me that I’m missing some kind of dependency in rolling everything together using InstallShield. Whats the best way to go about troubleshooting this problem?
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 06, 2009
12:04 PM
one thing to check since you say you can create an installer through another method that works, is to compare the contents of the two directories.
I have most often seen this behavior in applications where the applications config file is missing. The file usually has the same name as your executable with .config at the end. i.e.: ProductName.exe.config. Confirm that this file is being installed and is the same for both installations.
James
I have most often seen this behavior in applications where the applications config file is missing. The file usually has the same name as your executable with .config at the end. i.e.: ProductName.exe.config. Confirm that this file is being installed and is the same for both installations.
James
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 19, 2009
03:48 PM
I threw Microsoft Visual C++ 2008 Redistributable in as a pre-req, and that seemed to fix it.
Thanks
Thanks