Solved

Inno setup 5

Posted on 2007-04-03
2
1,115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 85
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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.

734 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