You are currently offline, waiting for your internet to reconnect

You receive an "Invalid Package Definition File" error message when you try to import a .pdf file in Systems Management Server 2003

This article was previously published under Q322507
SYMPTOMS
When you try to import a Package Definition File (.pdf file) by using the Create Package from Definition Wizard, you may receive the following error message:
The file you have selected is an invalid Package Definition File. Please select a valid file.
CAUSE
This problem may occur when the following conditions are true:
  • The .pdf file contains more than one setup section. Examples of setup sections include the following sections:
    • Typical Setup
    • Complete Setup
    • Laptop Setup
    • Automated Setup
  • The same CommandName entry appears in more than one setup section.
The CommandName entry appears as the program name in the user interface. The CommandName entry can have any text value.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
WORKAROUND
To work around this problem, modify the .pdf file so that the CommandName entry is not duplicated. We recommend that you set the CommandName value to indicate the type of setup. For example, Typical Setup, Automated Setup, and Uninstall Setup. To change the CommandName entry, follow these steps:
  1. Start Notepad, and then open the .pdf file.
  2. Modify the CommandName= entry in each section so that none of the entries are duplicated.
  3. On the File menu, click Save.
  4. In the SMS Administrator console, right-click Packages, point to New, and then click Package From Definition.
  5. Click Next, click Browse, and then import the .pdf file.
MORE INFORMATION
The following example text is from a .pdf file that causes this problem. In this example, the CommandName entry is the same for both the Typical Setup and Automated Setup sections.
[PDF]Version=1.0 [Package Definition]Product=<ProductName>Version=3.0Comment=<ProductComment>SetupVariations=Typical, Automated, Uninstall [Typical Setup]CommandLine=setup.exe /sms /sCommandName=InstallUserInputRequired=FalseSynchronousSystemExitRequired=FalseSupportedPlatforms=Windows NT (x86) [Automated Setup]CommandLine=setup.exe /sms /sCommandName=InstallUserInputRequired=FalseSynchronousSystemExitRequired=FalseSupportedPlatforms=Windows NT (x86) [Uninstall Setup]CommandLine=Uninstall.exeCommandName=UninstallUserInputRequired=FalseSynchronousSystemExitRequired=FalseSupportedPlatforms=Windows NT (x86) [Setup Package for Inventory]InventoryThisPackage=TrueDetection Rule Part 1=file 1[file 1]FILE=<ProgramName>.exeCOLLECT=FALSE
The following example text is from a .pdf whose CommandName entries are correct. In this example, the CommandName entry in the Automated Setup section is changed.
[PDF]Version=1.0 [Package Definition]Product=<ProductName>Version=3.0Comment=<ProductComment>SetupVariations=Typical, Automated, Uninstall [Typical Setup]CommandLine=setup.exe /u /sCommandName=InstallUserInputRequired=FalseSynchronousSystemExitRequired=FalseSupportedPlatforms=Windows NT (x86) [Automated Setup]CommandLine=setup.exe /u /sCommandName=AutoinstallUserInputRequired=FalseSynchronousSystemExitRequired=FalseSupportedPlatforms=Windows NT (x86) [Uninstall Setup]CommandLine=Uninstall.exeCommandName=UninstallUserInputRequired=FalseSynchronousSystemExitRequired=FalseSupportedPlatforms=Windows NT (x86) [Setup Package for Inventory]InventoryThisPackage=TrueDetection Rule Part 1=file 1 [file 1]FILE=<ProgramName>.exeCOLLECT=FALSE
prodsms
Properties

Article ID: 322507 - Last Review: 10/27/2006 15:03:27 - Revision: 1.2

  • Microsoft Systems Management Server 2003
  • kbinterop kbsmsadmin kberrmsg kbsoftwaredist kbmisctools kbnofix kbpackage kbbug KB322507
Feedback