Solved

Inno setup 5

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
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…

808 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