Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / June 2007

Tip: Looking for answers? Try searching our database.

Launch condition to detect the presence of Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Jackson - 25 Jun 2007 17:17 GMT
Hello,

I've written an application in Microsoft Access and am now writing a setup
package for it.

This doesn't use the Access runtime, so requires Access to be installed on
the target machine.

Specifically, the installation must check for the presence either of Access
2003 or Access 2007, and abort the installation if it can't find either one.

What would be the best way to do this?

Thanks,

DJ
Mark Rae - 26 Jun 2007 01:33 GMT
> Specifically, the installation must check for the presence either of
> Access 2003 or Access 2007, and abort the installation if it can't find
> either one.

No problem. The following article:
http://www.mztools.com/articles/2006/MZ001.htm describes how to detect for
one or more versions of Visual Studio.NET, and you can use the same
technique to detect version(s) of Access, or of any other application so
long as you know which Registry entries to check.

In the case of Access, you need to look for:

Access.Application.8 - Access 97
Access.Application.9 - Access 2000
Access.Application.10 - Access 2002
Access.Application.11 - Access 2003
Access.Application.12 - Access 2007

Signature

http://www.markrae.net

David Jackson - 26 Jun 2007 10:00 GMT
Hi Mark,

Thanks for the reply.

>> Specifically, the installation must check for the presence either of
>> Access 2003 or Access 2007, and abort the installation if it can't find
[quoted text clipped - 13 lines]
> Access.Application.11 - Access 2003
> Access.Application.12 - Access 2007

That's exactly what I was looking for. Works perfectly!

Thanks very much.

DJ

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.