Solved

Access 2010 - Package Solution - only install Runtime if needed

Posted on 2013-05-15
2
569 Views
Last Modified: 2013-05-19
I have an Access 2010 database that I bundle up using the Package Solution wizard, for installation by the client.

I tick the option to install Runtime and include it with the bundle.

The client has asked that it only install Runtime if not already installed - seems reasonable to me.  I could provide 2 install options - one with Runtime and one without - but it would nice if the install procedure could detect if Runtime is installed and only install if not.

I did try InnoSetup as an alternative to the Package Solution Wizard, but ...
my database front end reads and writes to some local (front end) tables, so the .accdr file needs read/write permission, therefore can't reside in folder Program Files.  I could not work out how to use InnoSetup to install in alternative folder.
I currently install in a subfolder of the C drive.

Just to complicate further, it must be installed for ALL USERS, not just CURRENT USER and it is a 64 Office file, so Runtime 64 bit is used.

So, is there a way for me to alter the install procedure to stop RUNTIME install if already installed?

Also, is there a way for me uninstall database file if previously installed?
0
Comment
Question by:MonkeyPie
2 Comments
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 500 total points
ID: 39170362
AFAIK, the built-in  deployment package wizard does not check to see if the runtime is already installed.  You have to make two packages like you have already done.

A more powerful installer is needed to do what you want.

This script may help get you started with INNO: Inno Installer Script (Like Sagekey)

You can also purchase a more powerful installer like SageKey's product designed just for Accss found here http://www.sagekey.com/
0
 

Author Closing Comment

by:MonkeyPie
ID: 39179694
Thank you.  I am investigating SageKey's product.  I really got lost with Inno.  I have no idea what to do with that script got pointed me to.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now