Microsoft KB Archive/236542

= MOD2000: New Package Shortcut Is Invalid If Installed After Access Is Removed =

Article ID: 236542

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition
 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q236542



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
When you install a package that includes Access Run-time and try to run the application, the following alert messages appear:

A message titled Missing Shortcut appears briefly:

Windows is searching for MSACCESS.EXE. To locate it yourself, click Browse.

Next a message titled Problem with Shortcut appears:

The item 'MSACCESS.EXE' that this shortcut refers to has been changed or moved. The nearest match, based on size, date, and type, is ''. Do you want this shortcut to point to this item?



CAUSE
Previously you installed a package that included Microsoft Access 2000 Run-time, then installed the retail version of Microsoft Access 2000, and finally uninstalled the retail version of Access. After this, any new package that includes Access Run-time does not create the correct shortcut. This is because the shortcut points to the location where the retail version of Access was previously installed.



RESOLUTION
If you click Yes on the second message, the package opens and you never see the error message again. However, if you click No, you see the same alerts again when you try to click the shortcut.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) Make two copies of the sample database Northwind.mdb. Name one Northwind1.mdb and the other Northwind2.mdb.
 * 2) Using the Package and Deployment Wizard, create a package with Northwind1.mdb and the Access Run-time component. Name the package Package1.
 * 3) Once more using the Package and Deployment Wizard, create a second package with Northwind2 and the Access Run-time component. Name this package Package2.
 * 4) On a clean Windows computer, install the first package, Package1.
 * 5) Install the retail version of Access 2000.
 * 6) Remove the retail version of Access.
 * 7) Install the second package, Package2.
 * 8) Try to start the package you installed in step 7, Package2.

You see the messages detailed in the "Symptoms" section of this article.

Additional query words: pra solution run time runtime directory alerts windows is searching for msaccess exe

Keywords: kbbug kbpdwizard kbpending KB236542

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.