Solved

Inno setup 5

Posted on 2007-04-03
2
1,074 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

679 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