Start Menu Shortcut for Deployed MDE

DBL

Registered User.
Local time
Today, 10:37
Joined
Feb 20, 2002
Messages
659
Firstly, I hate the PDW!

I've packaged and deployed a database that installs the database to a folder within the C:\program files. On trying to open the database using the Start Menu shortcut I get the following error:

The command line you used to start Microsoft Access contains an option that Microsoft Access doesn't recognise

The target for the shortcut is:

"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" """$(AppPath)\Show" Database.mde""

If I change the target to

"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\Program Files\Show Database\Show Database.mde"

the shortcut works fine. However, I can't seem to set this as part of the PDW, it only gives me the option to select $(AppPath).

Any ideas?
 
I think you have too may double quotes. Your database name is Show Database.mde, right? If so then try this in your deployment scripts...

"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "$(AppPath)\Show Database.mde""
 
You were right! Too many quotes. Took them out on the setup.lst field and it worked fine. Packaged up a different database today and it worked perfectly. Fickle Access.

Thanks

D
 

Users who are viewing this thread

Back
Top Bottom