Solved

Access 2010 - Package Solution - only install Runtime if needed

Posted on 2013-05-15
2
625 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

730 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