SnagIt 7.0 - Start/Stop Printer Spooler
Hello,
I'm fighting with SnagIt 7.0. I've repackaged it with WPS, but I still have problem with Printer Spooler which should be stopped during the installation and restarted after the installation.
I've added two custom actions into Administrative Execute Immediate/Deferred. Those actions are "Call VBScript from embedded code" actually. I think that those actions don't work. The printer isn't being installed during the installation. When I stop Printer Spooler manually and launch the installation then and start Printer Spooler manually after the installation - everything is fine. Printer is installed. The point is that I want to do that within the MSI file.
How can I do that?
I'm fighting with SnagIt 7.0. I've repackaged it with WPS, but I still have problem with Printer Spooler which should be stopped during the installation and restarted after the installation.
I've added two custom actions into Administrative Execute Immediate/Deferred. Those actions are "Call VBScript from embedded code" actually. I think that those actions don't work. The printer isn't being installed during the installation. When I stop Printer Spooler manually and launch the installation then and start Printer Spooler manually after the installation - everything is fine. Printer is installed. The point is that I want to do that within the MSI file.
How can I do that?
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
kkaminsk
20 years ago
I had to do this with Acrobat and it's easy once you know the method. Under the services pane in the installation expert mode add a stop servoce control for the spooler and a start service control for the spooler. The default sequences in the MSI will allow for the spooler to be stopped before anything is installed then start the service toward the end of the install. You can tweak the placement of the actions but the default sequence should suffice. Just look for the StopServices and StartServices actions and you can see when they occur.
Posted by:
Wozik
20 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.