Page 1 of 1

Error dialog appears without error details during a setup...

Posted: Wed Sep 05, 2007 2:16 pm
by Steve
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

Re: Error dialog appears without error details during a setup...

Posted: Fri Jul 01, 2016 5:33 am
by GrandChain
Hi Steve,

That's brilliant - thanks. I had exactly the same problem (and probably exactly the same root cause - copying a previous installer project).

BTW, it's enough to just delete the "upgrades product with product code" GUID completely, unless it really is also upgrading an old project.

Cheers,

Ian

Re: Error dialog appears without error details during a setup...

Posted: Fri Jul 01, 2016 5:41 am
by bokkie
Ian, that's more or less the pitfall copying projects to "new" projects. I've done it myself a number of times and my butt has been bitten by an identical GUID. It's the same with plugins as well except there are more GUIDs involved. :(

Re: Error dialog appears without error details during a setup...

Posted: Fri Jul 01, 2016 6:51 am
by GrandChain
If it appeared along with the other GUIDs on the main page, it would be easier to find and correct...