Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The wizard uses the run-time files that are included with the release version of Access when you create an installation package for an application in Access 2003 or in Access 2002


View products that this article applies to.

Symptoms

Consider the following scenario. You develop an application in Microsoft Office Access 2003 or in Microsoft Access 2002. You create an installation package for the application by using either the Package Wizard that is included with Microsoft Office Access 2003 Developer Extensions or the Packaging Wizard that is included with Microsoft Office XP Developer Edition. In this scenario, the wizard uses the run-time files that are included with the release version of Access, even though you installed Office service packs and other Office software updates. The wizard does not use the updated files.

↑ Back to the top


Cause

The installation package is always built from the run-time files that are included with the release version of Access and from the setup files that are found on the Office CD or on the Access CD. You must apply the updates to these files after you install the run-time application. You apply the updates on the client computer directly or through the setup script that is described in the "Workaround" section.

↑ Back to the top


Workaround

To work around this behavior, use the following method that corresponds to the version of Access that you are using.

Method 1: Microsoft Office Access 2003

To make sure that the updated files in Access 2003 are used when you create an installation package, follow these steps:
  1. Download and save the latest Microsoft Office 2003 service pack. To obtain Microsoft Office 2003 Service Pack 2 (SP2), visit the following Microsoft Download Center Web site: For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
    119591 How to obtain Microsoft support files from online services
    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
  2. Copy the file that you downloaded in step 1 to the Files folder of the installation package for the application that you developed. For example, copy the Office2003SP2-KB887616-FullFile-ENU.exe file to the Files folder.
  3. In Notepad, open the Setup.ini file from the Files\Setup folder of the application.
  4. Add the following lines of code to the end of the Setup.ini file.
    [ChainedInstall_1]
    ; Chain the installation for Office2003 SP2 Full-File software update
    Path="\Files\Office2003SP2-KB887616-FullFile-ENU.exe"
    TaskType=EXE
    CmdLine=/q:a
    Note If you did not download the Office2003SP2-KB887616-FullFile-ENU.exe file in step 1, replace "Office2003SP2-KB887616-FullFile-ENU.exe" in this code with the name of the file that you downloaded in step 1.
  5. Save the Setup.ini file.

Method 2: Microsoft Access 2002

To make sure that the updated files in Access 2002 are used when you create an installation package, follow these steps:
  1. Download and save the appropriate software updates to a local folder. For example, download the following software updates that correspond to the version of Access that you are using, and then save them to the C:\Updates folder:
  2. Start Notepad, and then create a batch file by typing the following lines in a new text document.
    OfficeXpSp3-kb832671-fullfile-enu.exe /q:a
    Art2002Sp3-kb834693-client-enu.exe /q:a
    officexp-KB904018-FullFile-ENU.exe /q:a
  3. Save this batch file as the InstallART2002Updates.bat file in the C:\Updates folder.
  4. Start the Packaging Wizard, and then click Next.
  5. On the Identify Application and Package page, select the main file for the application.
  6. In the Package name box, type the package name that you want to use, and then click Next.
  7. On the Application information page, type the information that is required about the application, select the language that you want the application to use, and then click Next.
  8. On the Dependencies page, add the updated files to the list of files to install. To do this, follow these steps:
    1. Click Add File, locate the C:\Updates folder, click OfficeXpSp3-kb832671-fullfile-enu.exe, and then click OK.
    2. Repeat step a for the Art2002Sp3-kb834693-client-enu.exe file, for the Officexp-KB904018-FullFile-ENU.exe file, and for the InstallART2002Updates.bat file.
    3. Click to select the check box that is next to each file that you added to the list of dependencies, and then click Next.
  9. On the Modify Installation Locations page, click $(WinPath) as the installation location for the InstallART2002Updates.bat file, and then click Next.
  10. On the Access Runtime page, select the installation options for the Access Runtime that you want to use, and then click Next.
  11. On the Access Runtime Properties page, select the installation options that you want to use for Microsoft SQL Server 2000 Desktop Engine (MSDE) and for Replication Manager, and then click Next.
  12. On the Define Start Menu Shortcuts page, modify the database shortcut properties if changes are required, and then click Next.
  13. On the Run on Complete page, click to select the Run this command when installation is finished check box, type or select the following command line, and then click Next:
    $(WinPath)\InstallART2002Updates.bat
  14. On the Build the Application Package page, click Build the setup program, and then click Finish.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


References

For more information about how to create an installation package by using the Packaging Wizard, visit the following Microsoft Developer Network (MSDN) Web site: For more information about how to create and troubleshoot installation packages, click the following article numbers to view the articles in the Microsoft Knowledge Base:
837150 You may receive error messages when you install an Access 2002 runtime deployment package on a computer that is running Windows XP Service Pack 2 or Windows Server 2003
826762 A batch file or an executable file in a package does not run at the end of the package installation
197147 Command-line switches for IExpress software update packages

↑ Back to the top


Keywords: KB916176, kbprb, kbtshoot, kbupdate, kbdev

↑ Back to the top

Article Info
Article ID : 916176
Revision : 6
Created on : 1/12/2007
Published on : 1/12/2007
Exists online : False
Views : 673