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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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?
Answered 01/28/2005 by: Wozik
Orange Belt

Please log in to comment
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.
Answered 01/28/2005 by: janoon
Senior Yellow Belt

Please log in to comment
0
Please let me know how to restart the spooler service in package itself
Answered 01/28/2005 by: Lillude
Senior Purple Belt

Please log in to comment
0
What tool do you use for repackaging?
Answered 01/31/2005 by: Wozik
Orange Belt

Please log in to comment
0
Its wise Packaging stidio 4
Answered 01/31/2005 by: Lillude
Senior Purple Belt

Please log in to comment
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]
Answered 01/31/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
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.
Answered 02/01/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity