Fatal error during installation

Got a problem you cannot solve? Try here.
Matz
Posts: 6
Joined: Sun Nov 02, 2008 12:58 am

Fatal error during installation

Postby Matz » Tue Mar 06, 2012 5:52 am

I cloned IA 2012 install project B from project A (A is well working in many thousand installations).
Now (tested on Win7 32bit an 64bit on different PCs) if have the following problem (seems to be same as posted under "Fatal error during installation on Server 2008." in this forum).

If product A is installed, product B installation fails with fatal error processing "Apply Install (get result into variable SUCCESS)".
If product B is installed, product A can be installed sucessfully.

Error-Case Install-Log-File has following entry:
...
Property(S): UNAUTHORIZEDEXEC_ERROR = Unauthorized to start the MSI installation/uninstallation!
...

"Product Code" is NOT the same.
Localization export/translation/import is processed on both project successfully.

Is there any "hidden MSI installer tag" that can be changed manually to make project B work (when product A is installed) ?

Tks in advance

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Fatal error during installation

Postby FrancescoT » Tue Mar 06, 2012 10:41 am

Dear Metz,

If you use the same Product Code, what happens?

Are you able to reproduce it within two single very simple projects that may can I have a look?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Matz
Posts: 6
Joined: Sun Nov 02, 2008 12:58 am

Re: Fatal error during installation

Postby Matz » Tue Mar 06, 2012 2:20 pm

Using "Product Code" of Project A in Project B will result in: "Previous version uninstallation" - (as expected).

Creating a simple .NET Project A and .NET Project B installing only one different .net exe file does not run into problem. B after A and A after B can be installed without error - as it should be.

Our Project A has lots of custom adjustments: extended dialogs, .NET Dependencies for 32 and 64 bits referenced as web media blocks, german translation, rebranding, installing a windows service, running MS-Redistribution-Install if necessary, no install dir dialog when updating, detecting/terminating running executable before (un)installation, reduced dialog sequence, running pre-uninstall- and post-install administration executable, and so on ...
It was first build with IA6 or 7 I assume and "mirgrated" throught all IA versions.
Many 100-thousand installations was sucessfully processed last 2 years.

Removed service installation in Project B for test - no change.

So Francesco - any idea ?

I thought of building a new Project B and step by step extend all the improvements - lots of work waiting ... So before doing I wanted to be shure, that you dont have a clue or hint for me.

Thks for response and any help !

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Fatal error during installation

Postby FrancescoT » Wed Mar 07, 2012 8:53 am

Dear Metz,

I can really understand your troubles, but as you can see everithings seems fine but of course there is a an issue on your projects somewhere.

From here it is not so easy to help you also because I really do not know what exactly your projects does.

I know that my words do not helps you too much, the only thing that I may suggest to you it is to proceed exactly as you have prefigured ( ... I can understand that is a big work). But if you're lucky maybe you may be able to understand the problem in advance without of having to completely redo step by step your project.

If I were facing your same problem I would be forced to do exactly the same.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Matz
Posts: 6
Joined: Sun Nov 02, 2008 12:58 am

Re: Fatal error during installation

Postby Matz » Wed Mar 07, 2012 9:14 am

Dear Francesco,

many tks for you reply and your estimation.

Thought, that you at Installaware might have had someting in your knowledge-base e.g. due to other topic posted under "Fatal error during installation on Server 2008." in this forum...

Strange thing - there must be some kind of "hidden" tag or id or reference that let MSI-Installer reject project B with "fatal error" if project A is installed...

So we see what I can figure out.

Regards
Matz

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Fatal error during installation

Postby FrancescoT » Wed Mar 07, 2012 1:12 pm

Dear Matz,

let me see if could find anything else ... if any.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tcosta
Posts: 3
Joined: Tue Aug 18, 2020 2:32 pm

Re: Fatal error during installation

Postby tcosta » Wed Aug 26, 2020 10:53 am

I am having the same problem that is described in this issue by Matz.

When I run my setup I see the following error in the log file (attached).

Property(S): UNAUTHORIZEDEXEC_ERROR = Unauthorized to start the MSI installation/uninstallation!

Pattern is the same. Project A is cloned into project B with a new product code. Project A installs fine. Project B installs fine. Additional update of project A fails.

Has any progress been made on this issue?
Attachments
MSIe2d76.LOG
(34.47 KiB) Downloaded 188 times

tcosta
Posts: 3
Joined: Tue Aug 18, 2020 2:32 pm

Re: Fatal error during installation

Postby tcosta » Wed Aug 26, 2020 11:29 am

I have additional information about this issue. In the attached log file from my prior email I see a product code that matches project A.
Property(S): ProductCode = {301AFA9E-6A31-4C10-9ED9-C12067A8007B}

I also see a value for MYAHDOWNGRADE that somehow has the value for the product code of project B which is the project cloned from project A. How is information from project B ending up in an installation log for project A?

Property(S): MYAHDOWNGRADE = {9DB5FE82-BD8A-4810-A897-5BA1103C92A2}

I have attached a picture of the two project code settings for the two projects.

Any idea what is going wrong?
Attachments
ProjectCodes.jpg
ProjectCodes.jpg (87.4 KiB) Viewed 4171 times

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Fatal error during installation

Postby FrancescoT » Wed Aug 26, 2020 12:18 pm

How did you create your new project from your previous one?

I suppose that all your problems are due the fact that your new project is still inheriting references from your original project.

To create a CLONE of a project, you can make a copy of the entire original project folder or use Project Save As as well. Once you copied your new project into your new folder, load the new project in IA, and then update your new project in order to use the correct MAIN script file under the new project folder.

To proceed with: from IA IDE switch to MSI code view, from the left tree pane select the main script file under the Script node, then Right click it and choose "Save script File As" to store it under your new location.
SaveScriptFile.png
SaveScriptFile.png (81.47 KiB) Viewed 4169 times

Finally, assign a new PRODUCTCODE and a new UPGRADECODE to the new project.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tcosta
Posts: 3
Joined: Tue Aug 18, 2020 2:32 pm

Re: Fatal error during installation

Postby tcosta » Thu Aug 27, 2020 7:14 am

You have given me enough information to resolve this issue.

The UPGRADECODE on my cloned project needed to be updated and matched with the new PRODUCTCODE for the new cloned project. Simple fix.

Thank you Francesco.

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Fatal error during installation

Postby FrancescoT » Thu Aug 27, 2020 1:34 pm

I'm happy you solved!
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 49 guests