BUG: Setup Incorrectly Prompts to Overwrite Existing FilesLast reviewed: January 27, 1997Article ID: Q162620 |
The information in this article applies to:
SYMPTOMSWhen you run Setup files that you created with the Visual Basic Application Setup Wizard, the following warnings appear:
Setup is about to replace a pre-existing file(s). This may cause loss of data for an existing application.followed by:
Installing over an existing installation without first removing it may damage that installation or cause future attempts to remove the installation to fail.This warning occurs even when the files are marked as "shared" in the Application Setup Wizard.
CAUSEIf a Template is defined in step 7 (the final step) of the Application Setup Wizard the resulting .lst and .vbz are incorrect for system-shared files that you added manually in step 7.
RESOLUTION
and the .vbz file looks like:File11=E:\vbtemp\MFCANS32.DLL,0,$(WinSysPath),,|32760|,-1,0,0,0,,,0
Modify the .lst file as follows:File5=1,,MFCANS32.DL_,MFCANS32.DLL,$(WinSysPath),,$(Shared),6/21/1995,14950 4,3.2.0.0
and change the .vbz entry to:File11=E:\vbtemp\MFCANS32.DLL,0,$(WinSysPath),,|32760|,-1,-1,0,0,,,0
The Template file (.vbz) should now be correct and generate correct images in the future. STATUSMicrosoft has confirmed this to be a problem in Microsoft Visual Basic version 4.0. Microsoft is researching this problem and will post new information here as it becomes available.
MORE INFORMATIONWhen the Setup Wizard creates the template in step 7, it creates an incorrect .lst and .vbz file for the current images and all future images that use the template (.vbz). Specifically, it does not mark the system files as Shared in the .lst and .vbz files. Thus, when the Application Setup Wizard runs it does not correctly overwrite the system files that are older and it prompts the user with the warnings.
Steps to Reproduce Problem
|
KBCategory: kbsetup kbtool kbbug
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |