Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Access 2010 - Package Solution - only install Runtime if needed

Posted on 2013-05-15
2
Medium Priority
?
675 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

604 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