ODE97: "Always Overwrite" Option Fails When MDB Is in WinPath
ID: Q189412
|
The information in this article applies to:
-
Microsoft Access 97
-
Microsoft Office 97 Developer Edition
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills.
When you use the Microsoft Office Developer Edition Tools to distribute a
custom application and the destination folder for the application file is
set to $WinPath, the Always Overwite option fails when you try to
install a modified version of the application file.
RESOLUTION
To resolve this problem, select $AppPath as the destination folder for the
main application file.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 97.
MORE INFORMATIONSteps to Reproduce Problem
- Start Microsoft Access and open the sample database Northwind.mdb.
- On the Tools menu, click Startup.
- In the Startup dialog box, click the arrow in the Display Form box, select Main Swichboard, and then click OK.
- Close the sample database Northwind.mdb.
- Run the ODE Setup Wizard.
- On the first screen of the wizard, click to select Create a new set of setup options for my application's custom setup program, and then click Next.
- On the next screen of the wizard, add the sample database Northwind.mdb to the List Of Files box.
- Click the arrow in the Destination Folder box, and select $(WinPath). Click the arrow in the Overwrite Existing box, and select Always.
- Click to select Set as Application's main file, and then click Next six times to move to final screen of the Setup Wizard.
- Click to select Network or CD Setup, and then click Finish.
- Click Yes to save the template, and then click Save.
- Install the application that you just created.
- Start Microsoft Access, and open the sample database Northwind.mdb.
- Open the Main SwitchBoard form in Design view.
- On the View menu, click Properties, and then click the All tab.
- Modify the Caption property to read as follows:
Main Switchboard Version 2.0
- Close and save the form.
- Close the database, and run the ODE Setup Wizard.
- On the initial screen of the setup wizard, click to select the Use previously saved setup options... check box, and then click Next.
- Click Open to open the template that you saved in step 11.
- Click Next four times.
- Increase the version number of the application, and click Finish to complete the Setup Wizard.
- When you are asked if you would like to overwrite the setup files,
click Yes.
- When asked if you would like to save the current Setup template, click No.
Note that after you re-install the custom application, the copy of
Northwind residing in the $(WinPath) folder is not the modified copy, but
the original.
Additional query words:
prb
Keywords : kbdta OdeInst
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
|