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 / .NET Framework / Setup / July 2005

Tip: Looking for answers? Try searching our database.

Detecting if Excel installed...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Theresa Smallwood - 14 Jul 2005 16:50 GMT
In a Deployment Project in .NET:

What is the best way to detect if Excel is installed on the client machine,
and which version they are using (I am referencing the Excel 10 objects) -
use a Registry search or a Windows Installer Search (which seems to look for
a GUID)? If I use the Windows Installer search, how do I find the GUID for
the Excel application? If using the Registry search, what key should I be
looking for?

Thanks for any help!

Theresa
Torgeir Bakken (MVP) - 14 Jul 2005 17:10 GMT
> In a Deployment Project in .NET:
>
[quoted text clipped - 6 lines]
>
> Thanks for any help!
Hi,

The "App Paths" entry in registry is perfect for this, here is
a VBScript example:

http://groups.google.co.uk/group/microsoft.public.scripting.vbscript/msg/0006fb0
357643ec6?dmode=source&hl=en


Signature

torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Phil Wilson - 14 Jul 2005 20:52 GMT
If you go to this link and scroll down to Search For a Windows Installer
Component, there is an example of a Windows Installer search(this uses Word,
not Excel) and a VBScript that lists the Windows Installer Component Guids
on a system to help you find the Guid for some piece of Excel (such as
Excel.exe that Torgeir suggests using a registry search for). So you'd run
the script on your system with the appropriate version of Excel and that
will tell you the Guid you need to plug in to the search.

http://www.simple-talk.com/2005/04/25/getting-started-with-setup-projects/

Signature

Phil Wilson [MVP Windows Installer]
----

> In a Deployment Project in .NET:
>
[quoted text clipped - 8 lines]
>
> Theresa

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.