TechSmith Deployment Tool - Snagit not honoring uninstall

  • 1
  • Question
  • Updated 2 months ago
Working in a Windows 10 corporate environment. Trying to install Snagit 20.0.2.

Built a transform file using the TechSmith Deployment Tool. Most devices we'll be targeting for the install will have Snagit 2019 installed.

Desired behavior is to uninstall all previous versions of Snagit and install the new version.
However, the uninstall of the previous version doesn't happen.

Attaching a screen shot of the setting from the Deployment Tool that shows I've selected "Uninstall all previous versions".



MSI install string I'm using is pretty standard:
msiexec /i snagit.msi TRANSFORMS=snagit.mst /qb!- /l*v "C:\foo\snagit.log"

Any recommendations? Thank you.

Photo of RON.WORTZ

RON.WORTZ

  • 3 Posts
  • 0 Reply Likes

Posted 2 months ago

  • 1
Photo of Stacy

Stacy, Employee

  • 52 Posts
  • 8 Reply Likes
When the Deployment tool generates the MST and BAT files, it also extracts the UnininstallerTool.exe. If you look at the BAT file, you will see that the first line calls the uninstaller tool to uninstall previous versions.
Example:
   UninstallerTool.exe -product Snagit 
   msiexec.exe /I "Snagit20_0_0_x64_Released.msi" TRANSFORMS="Snagit20_RemoveAll.mst" /quiet

 After that, the BAT file calls msiexec to install the new version. If you are not using the batch file when deploying, then you will need to be sure to call the uninstaller tool yourself before calling msiexec. You can find the documentation for the UninstallerTool.exe options on page 37 of the Deployment tool guide here: https://assets.techsmith.com/Docs/Snagit-2020-Deployment-Tool-Guide.pdf
(Edited)
Photo of RON.WORTZ

RON.WORTZ

  • 3 Posts
  • 0 Reply Likes
Thanks for that info. Wasn't aware of the Deployment Tool Guide PDF. 

Have the install working now. One additional question to confirm:

In testing, if the target device doesn't have a previous version of Snagit installed, the snagit.bat batch file runs, triggering the uninstall tool, which doesn't find any previous versions, and then the batch file exits without running the Snagit (new version) install.

Does that sound like the correct behavior?
Photo of Stacy

Stacy, Employee

  • 52 Posts
  • 8 Reply Likes
No, it should run the installer if there are no previous versions found on the target system. Here is a screenshot of my test on a clean VM without having any version of Snagit installed:


You do need to run the batch file using an elevated command prompt.
If you cannot get that to work, please contact our Technical Support (https://support.techsmith.com/hc/en-us) and specify the version of Snagit that you are deploying (32/64bit) and provide them with the BAT and MST file. 
(Edited)
Photo of RON.WORTZ

RON.WORTZ

  • 3 Posts
  • 0 Reply Likes
I'm chalking up the failed install to a one-time glitch. We're deploying this via Configuration Manager and it's worked every other time I've tested, so all is well. Thanks again for the assistance.