SCCM not able to verify MSI GUID
Categories
(Firefox :: Installer, defect)
Tracking
()
People
(Reporter: wildtyphoon87, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
Download MSI from Mozzila webpage
Build SCCM package using MSI using the following command
msiexec /i "Firefox Setup 67.0.4.msi" /q
Deploy SCCM Firefox 67.0.4 package to test collection
Application installs successfully but fails when it tries to verify installation using the GUID detection method. MSI GUID not found on machine.
Actual results:
Firefox installs successfully however the SCCM verification which looks for the GUID to be installed fails. This is shown in the provided APPenforce.log file. Looking for guid/MSI install code: {1294A4C5-9977-480F-9497-C0EA1E630130}
Zip file attached has mutiple screenshots as well as the local client app depoly.log file.
Expected results:
SCCM should find the GUID installed on the system and note a successful installation.
| Reporter | ||
Comment 1•6 years ago
|
||
To further note that is happening here in this snippet of the log I provided the Guid provided by your MSI is {1294A4C5-9977-480F-9497-C0EA1E630130} however after SCCM installs the application successfully it then checks the list of installed applications on the system via WMI and does not find this guid on the machine. I also do not see a manual registry entry for this GUID it appears that Firefox registers in HKlocal_Machine\Software\Microsoft\Windows\CurrentVersion\Uninstall"Mozilla FireFox 67.0.4"
What's expected is
HKlocal_Machine\Software\Microsoft\Windows\CurrentVersion\Uninstall{1294A4C5-9977-480F-9497-C0EA1E630130}
System AppEnforce 6/21/2019 3:21:00 PM 7224 (0x1C38)
Performing detection of app deployment type Mozilla Firefox 67.0.4(ScopeId_735FAE4E-FBA5-49F3-AD3F-EB3737BD0319/DeploymentType_1ae284e5-fbff-4333-b808-64e88bbf45fc, revision 2) for system. AppEnforce 6/21/2019 3:21:00 PM 7224 (0x1C38)
+++ MSI application not discovered [MSI Product Code: {1294A4C5-9977-480F-9497-C0EA1E630130}, MSI Product version: ] AppEnforce 6/21/2019 3:21:00 PM 7224 (0x1C38)
App enforcement environment:
Context: Machine
Command line: msiexec /i "Firefox Setup 67.0.4.msi" /q
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 1
Content path: C:\Windows\ccmcache\w
Working directory: AppEnforce 6/21/2019 3:21:00 PM 7224 (0x1C38)
| Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Hi wildtyphoon87,
Thanks so much for being so into detail when opening the bug and for the screenshot. Unfortunately, I believe this is a duplicate of bug 1505436. At first sight, it may not seem that way but if you have the time to read the comments, you'll find that they mention the same problem that you did. It's a pretty interesting chain of comment, I totally recommend you to read it. If you've done so but still want to reopen this bug, go ahead and we'll work on this.
Best regards, Flor.
| Reporter | ||
Comment 4•6 years ago
|
||
It actually does appear to be related, the opener is trying to uninstall via the GUID which does not work because FF does not actually create a GUID string registration. This should be reopened, preferably it should install with GUID Preferred, if that is not possible at a minimum the FF documentation should be updated to note how we should be doing a detection for a proper installation. This matters because if you want to use automated software like SCCM to uninstall software without a guid can become more complicated especially if the guid or registry registration changes with every release.
| Reporter | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
I was able to wrap the .exe, which outputs an .msi. The created .msi has it's own detection method. I have always had to do this with FireFox.
Is there any progress on this?
You are practically forcing sysadmins to reinvent the wheel every time there's a need to implement uninstallation or detection for Firefox, as it doesn't follow standard MSI practice and register the application guid into HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
Apparently standard msiexec /x command has been listed as unsupported..
https://support.mozilla.org/en-US/kb/deploy-firefox-msi-installers
Comment 7•5 years ago
|
||
This bug is closed. If there is any progress, it will be visible in bug 1505436. I haven't had the time yet to start working on this, and no one else has been available for installer projects. As I've explained in the other bug, it isn't as simple as just writing a registry entry.
Description
•