Several Product GUIDs are created

Got a problem you cannot solve? Try here.
albainr
Posts: 1
Joined: Thu Apr 24, 2014 4:45 pm

Several Product GUIDs are created

Postby albainr » Tue Jul 29, 2014 5:36 pm

Hello,

Here is my scenario:
A main installer(Installaware based, web-install, EXE with an MSI inside) calls another one(also InstallAware based, single file, MSI instead of EXE).
Basically, the content of the main changes and the second stays pretty much the same or barely changes.
The main installer embeds into his FileBag the second one and other MSIs.

Here are behaviors:
Every time user installs the main one, it checks if there is a version of the second and install/uninstalls it accordingly.
If the second is already installed, the main ask the second to uninstall itself and this is where I have issues.

Issues description:
I got error messages explaining that the second cannot be install because the local temp folder is missing(previous location where the installer was installed from).

My searches:
To isolate the case, I ran the second installer manually (install/uninstall).
I noticed that in HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\<product code> two entries are created for the same product. The correct one(or almost the correct one)
A947671A17337F64CA69CFF459D8270F kind of an anagram of
A176749A337146F7AC96FC4F958D72F0 (This is the correct one recorded inside the Project Properties page)

and another one

3316EE3DF0621BE4EB61AB73D858F38C ????

In windows Install/Uninstall prog and features, There is one entry but internally, the MSI engine detects 2 entries for this product. I checked it with the help of the Microsoft tool MicrosoftFixit.ProgramInstallUninstall.MATSKB.Run.exe available from MS website.

Here are my questions:
1) Please can you let me know why this second GUID is not uninstall properly???
2) What can I do to uninstall the second product properly???


If you need more information on my side or if something is not clear, feel free to let me know.
Thanks

P.S.:
I forgot to mention that under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}, UninstallSource is C:\Users\albainr.DP_CORP\AppData\Local\Temp\mia1\.
There is no UninstallString with the famous "msiexec /x {GUID}". Should I add it or by default it uses InstallSource?

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

Re: Several Product GUIDs are created

Postby FrancescoT » Wed Jul 30, 2014 11:35 am

Dear User,

First of all, if you try to run separately all those installers (the ones currently embedded with your main installer), are them installed correctly?

There is no UninstallString with the famous "msiexec /x {GUID}". Should I add it or by default it uses InstallSource?

The InstallSource string is used .... it is not necessary to add anything else.

Let me know.

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 131 guests