SMS: Application Group or Icons Not Created in Windows NT 3.51 with Package Command Manager

ID: Q172872


The information in this article applies to:


SUMMARY

Microsoft Systems Management Server provides the functionality to install applications in the background on Windows NT systems using the Package Command Manager (PCM) service. Program groups and icons may or may not be created, depending on the version of Windows NT used and the method used to create them.

Microsoft Systems Management Server Installer offers two methods to create program groups and icons or shortcuts. One method is available for computers running Windows NT 3.5x, and both methods are available for computers running Windows NT 4.0.


MORE INFORMATION

On a computer running Windows NT 3.5x or 4.0, the Package Command Manager service (PCMSVC32) runs software installations under the context of a service account, in the background. One of the limitations of this method of installation is that Dynamic Data Exchange (DDE) communication to the shell (Program Manager in Windows NT 3.51 or Windows NT Explorer in Windows NT 4.0) is not available. Please consider the following when creating software installation packages with the Installer for deployment by means of PCMSVC32:

Two Systems Management Server Installer script actions are available for program group and program icon or shortcut creation:

When developing scripts for deploying applications to Windows NT 4.0, you should always use the Create Shortcut script action. Note that the repackaging/installation expert in the Systems Management Server Installer will handle this automatically because it creates an IF-THEN block to use one of the two methods described above, based on whether the Windows NT Explorer shell (with Windows NT 4.0) is present.

The logic can be summarized as:


   IF
   The Windows 95 (Windows NT 4.0) shell exists

   THEN
   Use the 'Create Shortcut' script action  //This is for Windows NT 4.0
   and works correctly with PCMSVC32// 

   ELSE
   Use 'Add Progman Icons' script action //This is for Windows NT 3.51 and
   fails with PCMSVC32//  

In short, you cannot create program groups or items in Windows NT 3.51 when you are installing the application through PCMSVC32. When developing scripts for deploying applications to Windows NT 3.51 through PCMSVC32, you should create an additional package that runs through Package Command Manager on the desktop (PCMWIN32) to install the program groups and icons. You can make it mandatory and silent, but it must run in the context of the logged on user, in order to communicate with Program Manager and properly create program groups and icons.

Additional query words: prodsms smsinst


Keywords          : kbinterop smspcm 
Version           : WINDOWS:1.0; winnt:1.2
Platform          : WINDOWS winnt 
Issue type        : kbinfo 

Last Reviewed: January 13, 1999