Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine if Access Runtime installed on target machine

Status
Not open for further replies.

DH

Programmer
Dec 8, 2000
168
Is there an easy way to determine if Access 2000 Runtime is installed on a target machine.

I am creating an installation for an Access 2000 application using Windows Installer 2.0 and would like to determine if Access 2000 runtime is installed on the users machine.

If it is not on the target machine then I would like to call the setup.exe file contained within the redistributable Access Runtime folder.

If it is already on the target machine then I would like to not call the runtime setup.exe and continue with the rest of my Windows Installer setup.

Any suggestions would be appreciated.

Thanks,

DH
 
hmm, not 100% sure, as I dont really deal with this thing, but will try to give you my 2p anyway.

Theres a folder on C: which I presume will be the same across many users PC's (and most likelt O/S's too) called:

C:\Program Files\Common Files\Microsoft Shared\Microsoft Access Runtime

If you were planning to use the msaccess.exe runtime, this is where it is stored, so you could code some sort of check to see if this file is present, and if not, run the runtime setup.

Regards,
John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top