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

Got a problem you cannot solve? Try here.
Steve
Posts: 118
Joined: Fri Jun 16, 2006 9:51 pm
Location: Canada eh

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

Postby Steve » 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

GrandChain
Posts: 18
Joined: Thu Mar 01, 2007 10:22 am
Location: Edinburgh, UK

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

Postby GrandChain » Fri Jul 01, 2016 5:33 am

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

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

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

Postby bokkie » Fri Jul 01, 2016 5:41 am

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. :(
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

GrandChain
Posts: 18
Joined: Thu Mar 01, 2007 10:22 am
Location: Edinburgh, UK

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

Postby GrandChain » Fri Jul 01, 2016 6:51 am

If it appeared along with the other GUIDs on the main page, it would be easier to find and correct...


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 191 guests