|
Toll Free: (866) 407-5279 Direct: (651) 407-5279 |
|
This custom-fix illustrates UN-installing Macromedia Flash Player 8 using the related MSI file.
As with all Custom Fix examples, the purpose is to illustrate what may be possible in your environment.
In order to uninstall Macromedia Flash Player, you need to find the msi command for un-installation by locating the product GUID which in this case is found at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-2445113675-971809378-1318169025-500\Products\DDCF5186D104E184AB88134B57C4B264\InstallProperties
The ModifyPath value is MsiExec.exe /X{6815FCDD-401D-481E-BA88-31B4754C2B46}.
This is the actual MSI un-install command.

Add the following to uninstallflash.bat:
cmd /c MsiExec.exe /q /X{6815FCDD-401D-481E-BA88-31B4754C2B46}
Name the custom-fix and add installflash.bat (which you created)

Select installation tab and select uninstallflash.bat for the process

Select Detection tab, change type to File and click Options > Add and select System Root for "Common Directory:" field.
Enter system32\macromed\flash\Flash8.ocx into the "Followed file path:" field.
Then, change the "Operators:" field to Not Exist.

Do the same steps for:
system32\macromed\flash\GetFlash.exe
system32\macromed\flash\GetFlash.exe.manifest



Click OK, and OK again to finish the custom fix.
Right-click on the custom fix and select Locate…

Locate the files and click OK

Right-click on the custom fix and select Install…

Re-querying the machine should show the custom-fix install icon as green which means none of the files (step 4) exist on the target machine.
