Solved

Inno setup 5

Posted on 2007-04-03
2
993 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:iglink
2 Comments
 
LVL 38

Accepted Solution

by:
puppydogbuddy earned 500 total points
ID: 18848857
You need to go to Inno's knowledge base, which contains sample scripts.  See this link:
                     http://www.jrsoftware.org/iskb.php?vb

downloadable script to check for and install Runtime97
                    http://donnedwards.openaccess.co.za/2007/03/finally-access97-runtime-installs.html
0
 
LVL 84
ID: 18849624
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


0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

744 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

11 Experts available now in Live!

Get 1:1 Help Now