Article ID: 322507 - Last Review: October 27, 2006 - Revision: 1.2 You receive an "Invalid Package Definition File" error message when you try to import a .pdf file in Systems Management Server 2003This article was previously published under Q322507 SYMPTOMSWhen 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. CAUSEThis problem may occur when the following conditions are true:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. WORKAROUNDTo 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:
MORE INFORMATIONThe 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.0 Comment=<ProductComment> SetupVariations=Typical, Automated, Uninstall [Typical Setup] CommandLine=setup.exe /sms /s CommandName=Install UserInputRequired=False SynchronousSystemExitRequired=False SupportedPlatforms=Windows NT (x86) [Automated Setup] CommandLine=setup.exe /sms /s CommandName=Install UserInputRequired=False SynchronousSystemExitRequired=False SupportedPlatforms=Windows NT (x86) [Uninstall Setup] CommandLine=Uninstall.exe CommandName=Uninstall UserInputRequired=False SynchronousSystemExitRequired=False SupportedPlatforms=Windows NT (x86) [Setup Package for Inventory] InventoryThisPackage=True Detection Rule Part 1=file 1 [file 1] FILE=<ProgramName>.exe COLLECT=FALSE [PDF] Version=1.0 [Package Definition] Product=<ProductName> Version=3.0 Comment=<ProductComment> SetupVariations=Typical, Automated, Uninstall [Typical Setup] CommandLine=setup.exe /u /s CommandName=Install UserInputRequired=False SynchronousSystemExitRequired=False SupportedPlatforms=Windows NT (x86) [Automated Setup] CommandLine=setup.exe /u /s CommandName=Autoinstall UserInputRequired=False SynchronousSystemExitRequired=False SupportedPlatforms=Windows NT (x86) [Uninstall Setup] CommandLine=Uninstall.exe CommandName=Uninstall UserInputRequired=False SynchronousSystemExitRequired=False SupportedPlatforms=Windows NT (x86) [Setup Package for Inventory] InventoryThisPackage=True Detection Rule Part 1=file 1 [file 1] FILE=<ProgramName>.exe COLLECT=FALSE
| Article Translations
|

Back to the top
