Access 2010 - Package Solution - only install Runtime if needed
Posted on 2013-05-15
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?