Create a prf-file with the Office Resource Kit (ORK) or Office Customization
Tool (OCT) and then launch Outlook with that prf-file in order to configure
it automatically.
Your script would be then calling a command similar to this;
installation path\outlook.exe /importprf storage
location\yourprofile.prf
--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more
http://www.msoutlook.info/
Real World Questions, Real World Answers
-----
"Bill Mullen" wrote in message
...
I would like to progmatically create an email account profile for
Outlook 2007 from another application I am writing. I have reviewed
the registry keys
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messageing
Subsystem\Profiles\Outlook2007
and see that I will need to do something vastly different than pre OL
2002 versions.
Thanks