Online Demo -- Use Group Policy to remotely install CZ Popup (Download)

 

SUMMARY

 

This step-by-step article describes how to use Group Policy to automatically distribute "CZ Popup" to client computers or users. You can use Group Policy to distribute "CZ Popup" by using the following methods:

Assigning Software

You can assign "CZ Popup" distribution to users or computers. If you assign "CZ Popup" to a user, it is installed when the user logs on to the computer. When the user first runs "CZ Popup", the installation is finalized. If you assign "CZ Popup" to a computer, it is installed when the computer starts, and it is available to all users who log on to the computer. When a user first runs "CZ Popup", the installation is finalized.

Publishing Software

You can publish "CZ Popup" distribution to users. When the user logs on to the computer, the published "CZ Popup" is displayed in the Add or Remove Programs dialog box, and it can be installed from there.

Note Windows Server 2003 / 2008 Group Policy automated-program installation requires client computers that are running Microsoft Windows 2000 or later.

Step 1. Modify CZ Popup_Silent_Install.msi

 

Modify CZ Popup_Silent_Install.msi package to include the name or IP address of the computer where you installed Master Print Release Station, so you don't have to enter it manually when you run CZ Popup the first time on each workstation. CZ Popup will be started automatically when user login next time.

 

 

1.1 Download the orca.msi from http://www.PrinterAdmin.com/download/orca.msi

 

1.2 Double click it to install Orca

 

1.3 Run Orca, click the menu File -> Open to open CZ Popup_Silent_Install.msi

 

1.4 Click menu Edit -> Find, enter CZPRS_IP,

 

1.5 click the value of CZPRS_IP, type the name or IP address of the computer where Master Print Release Station is installed (for example 192.168.2.3).

 

 

1.6 Click the menu File -> Save, then exit Orca.

 

Note: Please save the file as same MSI name (for example: CZ Popup_Silent_Install.msi). Otherwise,  it may cause the following Internal Error when you run MSI.

 

 

Step 2. Create a Distribution Point

To publish or assign "CZ Popup", you must create a distribution point on the publishing server:

1.Log on to the server computer as an administrator.
2.Create a shared network folder in which to place the "CZ Popup_Silent_Install.msi" package that you want to distribute.
3.Set permissions on the share to allow access to the distribution package.
4.Copy "CZ Popup_Silent_Install.msi" to the distribution point.

Step 3. Create a Group Policy Object

To create a Group Policy object (GPO) with which to distribute the software package:

1.Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
2.In the console tree, right-click your domain, and then click Properties.
3.Click the Group Policy tab, and then click New.
4.Type the name that you want to call this policy (for example, CZ Popup distribution), and then press ENTER.
5.Click Properties, and then click the Security tab.
6.Click to clear the Apply Group Policy check box for the security groups that you want to prevent from having this policy applied. Click to select the Apply Group Policy check box for the groups to which you want to apply this policy. When you are finished, click OK.

Step 4. Assign a Package

To assign "CZ Popup" to computers that are running Windows 2000 or later, or to users that are logging on to one of these workstations:

1.Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
2.In the console tree, right-click your domain, and then click Properties.
3.Click the Group Policy tab, select the group policy object that you want, and then click Edit.
4.Under Computer Configuration, expand Software Settings.
5.Right-click Software installation, point to New, and then click Package.
6.In the Open dialog box, type the full Universal Naming Convention (UNC) path to the shared folder that contains "CZ Popup_Silent_Install.msi" package that you want. For example, \\file server\share\CZ Popup_Silent_Install.msi

IMPORTANT: Do not browse to the location. Ensure that you use the UNC path to the shared folder.

7.Click Open.
8.Click Assigned, and then click OK. The package is listed in the right pane of the Group Policy window.
9.Close the Group Policy snap-in, click OK, and then quit the Active Directory Users and Computers snap-in. When the client computer starts, the managed software package is automatically installed.

Step 5. Publish a Package

To publish a package to computer users and make it available for installation from the Add/Remove Programs tool in Control Panel:

1.Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
2.In the console tree, right-click your domain, and then click Properties.
3.Click the Group Policy tab, select the group policy object that you want, and then click Edit.
4.Under User Configuration, expand Software Settings.
5.Right-click Software installation, point to New, and then click Package.
6.In the Open dialog box, type the full UNC path to the shared folder that contains "CZ Popup_Silent_Install.msi" package that you want. For example, \\file server\share\CZ Popup_Silent_Install.msi

IMPORTANT: Do not browse to the location. Ensure that you use the UNC path to the shared folder.
7.Click Open.
8.Click Published, and then click OK. The package is listed in the right pane of the Group Policy window.
9.Close the Group Policy snap-in, click OK, and then quit the Active Directory Users and Computers snap-in.
10.Test the package:
a. Log on to a workstation that is running Windows 2000 Professional or later by using an account to which you published the package.
b. Click Start, point to Settings, and then click Control Panel. In Windows, click Start, and then click Control Panel.
c. Double-click Add/Remove Programs or click Add or Remove Programs), and then click Add New Programs.
d. In the Add programs from your network list, click  "CZ Popup" that you published, and then click Add.  "CZ Popup" is installed.
e. Click OK, and then click Close.

Redeploy a Package

In some cases you may want to redeploy a software package. For example, if you upgrade or modify the package. To redeploy a package:

1.Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
2.In the console tree, right-click your domain, and then click Properties.
3.Click the Group Policy tab, click the group policy object with which you deployed the package, and then click Edit.
4.Expand the Software Settings container that contains the Software installation item with which you deployed the package.
5.Click the Software installation container that contains the package.
6.In the right pane of the Group Policy window, right-click  "CZ Popup", point to All Tasks, and then click Redeploy application. The following message is displayed:
Redeploying this application will reinstall the application everywhere it is already installed. Do you want to continue?
7.Click Yes.
8.Quit the Group Policy snap-in, click OK, and then quit the Active Directory Users and Computers snap-in.

Remove a Package

To remove a published or assigned package:

1.Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
2.In the console tree, right-click your domain, and then click Properties.
3.Click the Group Policy tab, click the group policy object with which you deployed the package, and then click Edit.
4.Expand the Software Settings container that contains the Software installation item with which you deployed the package.
5.Click the Software installation container that contains the package.
6.In the right pane of the Group Policy window, right-click  "CZ Popup", point to All Tasks, and then click Remove.
7.Do one of the following:
 Click Immediately uninstall the software from users and computers, and then click OK.
 Click Allow users to continue to use the software, but prevent new installations, and then click OK.
8.Quit the Group Policy snap-in, click OK, and then quit the Active Directory Users and Computers snap-in.

Troubleshooting

Published Packages Displayed on Client Computer After You Use a Group Policy to Remove Them

This situation can occur when a user has installed  "CZ Popup" but has not used it. When the user first starts the published  "CZ Popup", the installation is finalized. Group Policy then removes  "CZ Popup".