The information in this article applies to:
SYMPTOMS
When you try to update the included files in the Package and Deployment
Wizard (PDW) with a newer version of a file (located in a different folder
than the original), you receive the following error message:
The error occurs even if you clear the check box next to the file to be updated before adding the new version of the file. RESOLUTION
To work around the problem, use one of the following five methods.
Method 1: Modify the Project (.vbp) FileIf the file you are attempting to replace in the Included Files screen of the PDW is the project's .exe file, the .vbp file is pointing to the wrong .exe file. This can occur when you make the .exe, saving it to a different location, but do not save the changes to the .vbp afterward.To update the .vbp file to point to the correct .exe, then follow these steps:
Method 2: Copy New File Over Original FileCopy the new version of the file to the location of the original version, and then rerun the PDW.NOTE: Back up the original file to another location first if you want to keep it. Method 3: Copy New File to Redist FolderCopy the new version of the file to the VB98\Wizards\PDWizard\Redist folder, and then run the PDW again. By default, the PDW always looks for the files in the Redist folder first.Method 4: Copy New File to Support Folder and Rebuild CABIf you have previously created a Setup package for this project, you can copy the new version of the file to the package's Support folder and then run the .bat file in the same folder to re-create the Setup package.NOTES:
Q190077 : HOWTO: Set Number of .CAB's in Setup.lst After Repackaging
Method 5: Modify the Script (.pdm) FileYou can manually modify the script (.pdm) file in a text editor, such as NotePad. The .pdm file contains all the scripts for a single project, and it is a recording of all the options you selected when packaging or deploying an application using the PDW.To modify the path to a folder in a script, open the project's .pdm file in a text editor, and modify the path in all references to the file. After saving the changes to the file, rerun the PDW. NOTE:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce Behavior
Keywords : kberrmsg kbAppSetup kbVBp600 kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |