Universal, Silent uninstaller for Snagit

  • 2
  • Idea
  • Updated 11 months ago
Ticket: 407653
GUIDs fro mTechsmith URL do not match the dependancy GUIDs and uninstall fails.

My test version:
13.0.2.6653 - GUID starts efcd74bf-********
12.4.1.3036 - GUID starts ec29af82-********

My GUID not found in GUID list from TechSmith.
https://support.techsmith.com/hc/en-us/articles/203730858-Snagit-Windows-List-of-Uninstall-GUID-s

Failed Uninstall Commands from .BAT:
REM 13.0.2
MSIEXEC.EXE /uninstall {98426CCE-210A-4416-8578-A0D470A0065A} TSC_DATA_STORE=0 /quiet
REM 12.4.1
MSIEXEC.EXE /uninstall {4FC332FE-CBE3-4AE0-B531-35048FD81912} TSC_DATA_STORE=0 /quiet

We have 27 versions and need universal, silent uninstaller that leaves the user's library in tact before 2018 deploy..

Snagit 10.0.1 10.0.1 1
Snagit 10.0.2 10.0.2 2
Snagit 11 11.0.0 4
Snagit 11 11.0.1 2
Snagit 11 11.2.0 1
Snagit 11 11.4.0 5
Snagit 11 11.4.3 189
Snagit 12 12.0.0.1001 1
Snagit 12 12.4.0.2992 1
Snagit 12 12.4.1 4
Snagit 12 12.4.1.3036 58
Snagit 13 13.0.0 10
Snagit 13 13.0.0.6094 133
Snagit 13 13.0.1 3
Snagit 13 13.0.2 1
Snagit 13 13.0.2.6653 1
Snagit 13 13.0.3 1
Snagit 13 13.0.3.7115 37
Snagit 13 13.1.0 3
Snagit 13 13.1.0.7494 1
Snagit 13 13.1.1 1
Snagit 13 13.1.2 2
Snagit 13 13.1.2.7933 36
Snagit 13 13.1.3 1
Snagit 13 13.1.4 2
Snagit 13 13.1.4.8008 10
Snagit 13 13.1.5 2

I'll write my own, but hard to believe one isn't available already.

Logic:
If (techsmithGUID) exists, does it have dependency, If yes, export dependency GUID and execute silent uninstall, Then execute uninstall with switch 'TSC_DATA_STORE=0 /quiet' on (techsmithGUID)...
Photo of dean.tucker

dean.tucker

  • 2 Posts
  • 2 Reply Likes
  • Disappointed I have to write another uninstaller

Posted 12 months ago

  • 2
Photo of dean.tucker

dean.tucker

  • 2 Posts
  • 2 Reply Likes
So I found my problem. The test uninstaller I was using was in a different location that my deployment .bat and I had included a 'pause' when testing, causing the timeout.

Here's my working uninstaller:

REM 10.0.0
MSIEXEC.EXE /uninstall {5BCC634A-58AD-42F9-B3C6-2EA52F81CF85} TSC_DATA_STORE=0 /quiet
REM 10.0.1
MSIEXEC.EXE /uninstall {22FC7536-BE5C-4E88-8069-C24689D34EC5} TSC_DATA_STORE=0 /quiet
REM 10.0.2
MSIEXEC.EXE /uninstall {92D194E7-AEF9-4A9E-8620-8F3AE712E3F7} TSC_DATA_STORE=0 /quiet
REM 11.0.0
MSIEXEC.EXE /uninstall {7CA5C4DF-8327-4035-AE2B-CA76336A04FD} TSC_DATA_STORE=0 /quiet
REM 11.0.1
MSIEXEC.EXE /uninstall {F8E3C768-71F3-11E1-9DF7-70804824019B} TSC_DATA_STORE=0 /quiet
REM 11.1.0
MSIEXEC.EXE /uninstall {68723B04-57EC-11E1-A6A8-9E2D4824019B} TSC_DATA_STORE=0 /quiet
REM 11.2.0
MSIEXEC.EXE /uninstall {44BD21C2-9132-48DB-B65B-23817E4C6F4B} TSC_DATA_STORE=0 /quiet
REM 11.2.1
MSIEXEC.EXE /uninstall {A56C6348-59D0-433B-A48A-75914858664E} TSC_DATA_STORE=0 /quiet
REM 11.3.0
MSIEXEC.EXE /uninstall {B5C1B474-149D-402F-BAA3-E2A45D136646} TSC_DATA_STORE=0 /quiet
REM 11.4.0
MSIEXEC.EXE /uninstall {5EAF9FAA-C4B6-4741-81B4-74CD81759EAA} TSC_DATA_STORE=0 /quiet
REM 11.4.1
MSIEXEC.EXE /uninstall {E724600B-5568-47C7-ACDF-490D366719E2} TSC_DATA_STORE=0 /quiet
REM 11.4.2
MSIEXEC.EXE /uninstall {1FB78CB6-F4EA-474F-8B0B-100EFACF3558} TSC_DATA_STORE=0 /quiet
REM 11.4.3
MSIEXEC.EXE /uninstall {90D0FC4B-D653-4F49-BB97-A48C74A52E71} TSC_DATA_STORE=0 /quiet
REM 12.0.0
MSIEXEC.EXE /uninstall {B298CE4A-880B-4D6E-8987-2D8A616BF568} TSC_DATA_STORE=0 /quiet
REM 12.1.0
MSIEXEC.EXE /uninstall {A232C484-23B5-4A2E-A317-A70EA1D1230D} TSC_DATA_STORE=0 /quiet
REM 12.2.0
MSIEXEC.EXE /uninstall {FDEC2BE1-5F84-4249-943B-4364251A56BE} TSC_DATA_STORE=0 /quiet
REM 12.2.1
MSIEXEC.EXE /uninstall {8E6DE599-17F0-431F-8D72-EF684397DAD5} TSC_DATA_STORE=0 /quiet
REM 12.2.2
MSIEXEC.EXE /uninstall {979028FC-2DBF-4BB4-A9EC-4627A9D63D50} TSC_DATA_STORE=0 /quiet
REM 12.3.0
MSIEXEC.EXE /uninstall {8E2CE66E-841B-444F-8A98-4B4D98863950} TSC_DATA_STORE=0 /quiet
REM 12.3.1
MSIEXEC.EXE /uninstall {BCD4C446-A778-4B65-B9BC-2360ED5AA5E3} TSC_DATA_STORE=0 /quiet
REM 12.3.2
MSIEXEC.EXE /uninstall {588591F5-74D7-4646-87C5-6A07E526F303} TSC_DATA_STORE=0 /quiet
REM 12.4.0
MSIEXEC.EXE /uninstall {BDFD9ADC-3F97-4A8A-A533-987B21776449} TSC_DATA_STORE=0 /quiet
REM 12.4.1
MSIEXEC.EXE /uninstall {4FC332FE-CBE3-4AE0-B531-35048FD81912} TSC_DATA_STORE=0 /quiet
REM 13.0.0
MSIEXEC.EXE /uninstall {26BE0002-2907-486A-9969-B3F0488C7ADD} TSC_DATA_STORE=0 /quiet
REM 13.0.1
MSIEXEC.EXE /uninstall {DD0F148B-9556-4508-B48E-0EBA13122B0F} TSC_DATA_STORE=0 /quiet
REM 13.0.2
MSIEXEC.EXE /uninstall {98426CCE-210A-4416-8578-A0D470A0065A} TSC_DATA_STORE=0 /quiet
REM 13.0.3
MSIEXEC.EXE /uninstall {2D2045B7-AF91-409C-87F6-99E263CDC13F} TSC_DATA_STORE=0 /quiet
REM 13.1.0
MSIEXEC.EXE /uninstall {35159268-7E2F-47D1-AAF2-A951A61DB5B4} TSC_DATA_STORE=0 /quiet
REM 13.1.1
MSIEXEC.EXE /uninstall {B6369D04-6B02-4C63-85C5-46C09D0787EE} TSC_DATA_STORE=0 /quiet
REM 13.1.2
MSIEXEC.EXE /uninstall {EA84355E-0DCC-4A14-9ADC-FCF9ABF57EA8} TSC_DATA_STORE=0 /quiet
REM 13.1.3
MSIEXEC.EXE /uninstall {F0EE4FB7-90E5-445A-84BD-EA3844994034} TSC_DATA_STORE=0 /quiet
REM 13.1.4
MSIEXEC.EXE /uninstall {EB843DBC-704F-42BB-9FC1-A271A3683C89} TSC_DATA_STORE=0 /quiet
REM 13.1.5
MSIEXEC.EXE /uninstall {6B4ED247-7A7C-499D-8942-79F88F592B57} TSC_DATA_STORE=0 /quiet
REM 2018.0.0
MSIEXEC.EXE /uninstall {4B41B2EC-8221-46AE-A787-AE8737506065} TSC_DATA_STORE=0 /quiet
REM 2018.0.1
MSIEXEC.EXE /uninstall {DEF9DFB5-AE3D-44E2-AEB9-52796F868A55} TSC_DATA_STORE=0 /quiet