/build/static/layout/Breadcrumb_cap_w.png

Add printer

I am packaging one application which adds one printer and new printer can be seen in ADD Printer and Faxes shortcut.
While my package is not able to capture this.

Please let me know what all registries\files I need to add manually in order to add the printer


Thanks,

0 Comments   [ + ] Show comments

Answers (7)

Posted by: Wozik 19 years ago
Orange Belt
0
What do you mean that your package doesn't capture this?

Have you restarted the printer spoooler within your package? Maybe that's the solution?
Posted by: janoon 19 years ago
Senior Yellow Belt
0
Create a Custom Action to run the following command;

rundll32 printui.dll,PrintUIEntry /q /in /ga /n\\ServerName\PrinterName

The switch /ga will ensure that the printer is available to everyone logging onto the machine.
Posted by: Lillude 19 years ago
Senior Purple Belt
0
Please let me know how to restart the spooler service in package itself
Posted by: Wozik 19 years ago
Orange Belt
0
What tool do you use for repackaging?
Posted by: Lillude 19 years ago
Senior Purple Belt
0
Its wise Packaging stidio 4
Posted by: brenthunter2005 19 years ago
Fifth Degree Brown Belt
0
[8D]

Hello Lillude,

Go to the 'Setup Editor' view, and then 'tables' and choose the 'ServiceControl' table.

Create a new row with the following entries:

ServiceControl = Restart_Spooler_Service
Name = Spooler
Event = 3
Wait = 1
Component_ = any valid component in your MSI package.



REMARKS: The Name variable Spooler is the service name in the registry. ie: you can restart any service with MSI packages, not just the ones you are installing.

REMEMBER: The MSI will only start/stop the service when the referenced component is being installed/uninstalled.

[8D] Keep cool. [8D]
Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
You have to make sure you're capturing the relevant "hardware" registry keys too. There's an option in your "snapshot" configuration options. These are not captured by default, in order to avoid novices accidentally overwriting/deleting important system services.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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