Error dialog appears without error details during a setup...
Posted: Wed Sep 05, 2007 2:16 pm
I have reposted this original problem in hopes that it will be easier for others to find the solution.
Problem:
Error dialog appears during an install with no additional description regarding the cause of the problem.
Scenario
I have two applications... lets call them App1 and App2:
>If I install App2 first and then install App1, everything works as planned.
>However, if I install App1 first and then install App2, I get an error message dialog appearing with the very descriptive word "Error" (and a 'Big Red X').
>This error msg appears almost immediately after the 'Progress' dialog screen appears.
> If I run the installation in debug mode I find that the error dialog appears in the MSI script precisely at the ‘Apply Install’ command.
---------------------------------------------------------------------------
Solution:
The workaround is to generate a new "Upgrades Product with Product Code" GUID for the installation project. After creating a new Upgrades Product with Product Code" GUID, the installations will work correctly.
Just follow these two simple steps:
1. Display the Project Options dialog using CTRL+SHIFT+F11,
2. Enter a new GUID in the field "Upgrades Product with Product Code" under the root Project node of the dialog.
Note: solution provided by Michael Nesmith, InstallAware Technical Support. A full description by Michael can be found at:
http://www.installaware.com/forum/viewtopic.php?t=2893
Cause:
I realize now that the problem was inadvertently caused by copying an existing project and using it as the basis for a new project. The end result of which was that the 'Upgrades Product with Product Code' GUID was the same in both projects.
Once I changed the 'Upgrades Product with Product Code' GUID the problem was resolved.
Hope this summary is of help to others!
Steve
Problem:
Error dialog appears during an install with no additional description regarding the cause of the problem.
Scenario
I have two applications... lets call them App1 and App2:
>If I install App2 first and then install App1, everything works as planned.
>However, if I install App1 first and then install App2, I get an error message dialog appearing with the very descriptive word "Error" (and a 'Big Red X').
>This error msg appears almost immediately after the 'Progress' dialog screen appears.
> If I run the installation in debug mode I find that the error dialog appears in the MSI script precisely at the ‘Apply Install’ command.
---------------------------------------------------------------------------
Solution:
The workaround is to generate a new "Upgrades Product with Product Code" GUID for the installation project. After creating a new Upgrades Product with Product Code" GUID, the installations will work correctly.
Just follow these two simple steps:
1. Display the Project Options dialog using CTRL+SHIFT+F11,
2. Enter a new GUID in the field "Upgrades Product with Product Code" under the root Project node of the dialog.
Note: solution provided by Michael Nesmith, InstallAware Technical Support. A full description by Michael can be found at:
http://www.installaware.com/forum/viewtopic.php?t=2893
Cause:
I realize now that the problem was inadvertently caused by copying an existing project and using it as the basis for a new project. The end result of which was that the 'Upgrades Product with Product Code' GUID was the same in both projects.
Once I changed the 'Upgrades Product with Product Code' GUID the problem was resolved.
Hope this summary is of help to others!
Steve