Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook Signatures 1

Status
Not open for further replies.

UKmedia

Programmer
Nov 2, 2002
90
Hey All,

I have created a little script that will talk to AD and get certain user information and then generate a htm file and write a few registry keys to store that signature. It is used as part of a login script for all users.

My Problem is we have outlook 2000 & 2003 clients out there and this only works for 2003 at the moment. What I want to do is write a routin that will check the version and then enter in the correct reg keys and create either .htm or .rtf

Outlook 2003 reads .htm for signatures
Outlook 2000 reads .rtf for signatures

I need help on how to find out the version of outlook?

If anyone knows of a scripts out there that already do this please forward them to me, I will share this script once I have finshed as it saves paying crap loads to install some software on Exchange to automatically do this.

UKmedia productions
 
have a look athe Win32 WMI classes, there is a class for Installed SOftware, this should list what you have and you can pull the info out.

quick and dirty would be check for outlook.exe and determine its version...i would go with the WMI query i think
 
Even more quick and dirty, check where outlook.exe is...

c:\Program files\Microsoft Office\Office11\outlook.exe = 2003

I think that Office9 = 2000
and Office10 = XP/2002

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
And share the script, man! :)

Pat Richard, MCSE(2) MCSA:Messaging, CNA(2)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top