Solved

Access 2010 - Package Solution - only install Runtime if needed

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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…

839 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