Solved

Access 2010 - Package Solution - only install Runtime if needed

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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…

911 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

22 Experts available now in Live!

Get 1:1 Help Now