To make this MSI, a setup capture was done with Wise. Here are the steps to follow:
- Start a setup capture in Wise
- Change this options during the installation :
- Dont run SnagIt when Windows Starts
- Create shortcuts for all users
- Install all components (SnagIt Studio Annotation editor and SnagIt printer capture driver)
- Enable SnagIt for Words, IE and PowerPoint (if its installed)
- Change the installation to be per-machine withtout reboot
- Remove undesired icon
- Remove Temp folders that remains
- You need to install and uninstall the SnagIt printer by custom action. This part is explained in the next point
Install the Snag It printer and uninstall it :
- Go in Windows Installer Editor MSI Script Execute Immediate. (Execute immediate can be run with the Interface [if specified] and also in silence.)
- Add a condition : if NOT Installed then
- If this previous condition is true, it means that SnagIt is not installed on the machine, so we need to do the next action. This next action is to install the SnagIt printer.
- Add a Execute Installed program (action)
-In Custom Action Name, put Install SnagItPrinter or whatever explicit name you want
- In the Executable File, browse to C:\Program Files\TechSmith\SnagIt6\SnagItPI.exe.
- Under Properties tab, select Synchronous, Ignore exit code
- Put Processing and Always execute in Scheduling options
Note: Its important to put the previous action (and its condition) just after the action InstallFinalize
To uninstall SnagtIt printer :
- Go in Windows Installer Editor MSI Script Execute Immediate. (Execute immediate can be run with the Interface [if specified] and also in silence.)
- Add a condition : if Installed then
- If this previous condition is true, it means that SnagIt is installed on the machine, so we need to uninstall the SnagIt printer by running this the next action . Add a Execute Installed program (action)
- In Custom Action Name, put Uninstall SnagItPrinter or whatever explicit name you want
- In the Executable File, browse to C:\Program Files\TechSmith\SnagIt6\SnagItPI.exe.
- In the Command Line field, add /u (its like if the command line was C:\Program Files\TechSmith\SnagIt6\SnagItPI.exe /u)
- Under Properties tab, select Synchronous, Ignore exit code
- Put Processing and Always execute in Scheduling options
- Put this action (with the condition) before the RemoveFiles action. In this case, I put the action just before the UnregisterComPlus
That's it. Then you install and uninstall your msi in silence and you are sure that the printer is installed during installtion, and uninstall during uninstall.
msiexec /i Snagit.msi /q
To make this MSI, a setup capture was done with Wise. Here are the steps to follow:
- Start a setup capture in Wise
- Change this options during the installation :
- DonÂ’t run SnagIt when Windows Starts
- Create shortcuts for all users
- Install all components (SnagIt Studio Annotation editor and SnagIt printer capture driver)
- Enable SnagIt for Words, IE and PowerPoint (if itÂ’s installed)
- Change the installation to be per-machine withtout reboot
- Remove undesired icon
- Remove Temp folders that remains
- You need to install and uninstall the SnagIt printer by custom action. This part is explained in the next point
Install the Snag It printer and uninstall it :
- Go in Windows Installer Editor – MSI Script – Execute Immediate. (Execute immediate can be run with the Interface [if specified] and also in silence.)
- Add a condition : “if NOT Installed then”
- If this previous condition is true, it means that SnagIt is not installed on the machine, so we need to do the next action. This next action is to install the SnagIt printer.
- Add a Execute Installed program (action)
-In Custom Action Name, put Install SnagItPrinter or whatever explicit name you want
- In the Executable File, browse to C:\Program Files\TechSmith\SnagIt6\SnagItPI.exe.
- Under Properties tab, select Synchronous, Ignore exit code
- Put Processing and Always execute in Scheduling options
Note: ItÂ’s important to put the previous action (and itÂ’s condition) just after the action InstallFinalize
To uninstall SnagtIt printer :
- Go in Windows Installer Editor – MSI Script – Execute Immediate. (Execute immediate can be run with the Interface [if specified] and also in silence.)
- Add a condition : “if Installed then”
- If this previous condition is true, it means that SnagIt is installed on the machine, so we need to uninstall the SnagIt printer by running this the next action . Add a Execute Installed program (action)
- In Custom Action Name, put Uninstall SnagItPrinter or whatever explicit name you want
- In the Executable File, browse to C:\Program Files\TechSmith\SnagIt6\SnagItPI.exe.
- In the Command Line field, add /u (it’s like if the command line was “C:\Program Files\TechSmith\SnagIt6\SnagItPI.exe /u”)
- Under Properties tab, select Synchronous, Ignore exit code
- Put Processing and Always execute in Scheduling options
- Put this action (with the condition) before the RemoveFiles action. In this case, I put the action just before the UnregisterComPlus
That's it. Then you install and uninstall your msi in silence and you are sure that the printer is installed during installtion, and uninstall during uninstall.
msiexec /i Snagit.msi /q
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ