Link to home
Start Free TrialLog in
Avatar of iglink
iglinkFlag for Australia

asked on

Inno setup 5

Using innosetup5 can anyone help me with the scritpt for the following:

1. To check if MS Access 2000 Runtime, MS Access 2000, 2002 or 2003 are installed

2. To register / install the following if they are not older or already there
MSCAL.OCX
MSCOMCT2.OCX
msvbvm60.dll
ODESTKIT.DLL
oleaut32.dll
olepro32.dll
pdf.ocx
zmousetrap.ocx
ASKER CERTIFIED SOLUTION
Avatar of puppydogbuddy
puppydogbuddy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Scott McDaniel (EE MVE )
Did you also download one of the GUI's for Inno? There are a couple listed on the main Inno page, and they make working with Inno much, much better.

PDB has given you the link to get the info you need; the VB installation routines are what you should look at, as they will be identical to what you need for Access. The installer will handle versioning, and will determine which files should be installed. NOte that you must often select this option, but it should be self-explanatory once you play around with this software for a bit.

It's been a while since I worked with Inno, but with ANY installer the best way to see if Access is installed is to check the registry keys here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\<Access Version Here>\Access\InstallRoot

If you have a value in this key, then Access is installed. Access versions are:

10.0 = 2002
11.0 = 2003
12.0 = 2007