DOCUMENT:Q191092 07-AUG-1998 [vbwin] TITLE :PRB: PDW Appends Script Information to Existing PDM File PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS:WINDOWS KEYWORDS:kbVBp600 kbAppSetup ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0 --------------------------------------------------------------------- SYMPTOMS ======== If a Package and Deployment Wizard (PDW) script is saved over an existing script file (.pdm), the new information is written at the beginning of the existing file, instead of replacing the entire contents. CAUSE ===== The PDW will assume if an existing .pdm file exists in the same directory as the Visual Basic Project file (.vbp) that the .pdm file is for that project and will write information to this file. STATUS ====== This behavior is by design. MORE INFORMATION ================ The PDW can save package and deployment information for each application processed by the wizard. This information is stored in a .pdm file in the project directory and with the same name as the project. For example, if the project was named Project1.vbp, the PDW will create a Project1.pdm in the same directory as Project1.vbp. A .pdm file is a text file containing one or more scripts with all information as to the packaging and/or deployment of an application, including all necessary files, installation locations, and the name of the script. Since a project can be distributed several different ways, several deployment packages can be created for a project, and all of the package/deployment scripts are stored in the same .pdm file. New scripts are added to the beginning of the projects .pdm file. REFERENCES ========== For additional information, please consult the Scripts keyword under Package and Deployment Wizard in MSDN. Additional query words: ====================================================================== Keywords : kbVBp600 kbAppSetup Version : WINDOWS:6.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.