try somethig like this in a kix script; $ = delvalue("HKCU\Software\Microsoft\Office\11.0\Outlook\setup","First-Run") $ = Writevalue("HKCU\Software\Microsoft\Office\11.0\Outlook\setup","importPRF","c:\Program Files\MIcrosoft Office\Custom11.prf", REG_SZ) $Outlook = CreateObject("Outlook.Application") $NS = $Outlook.GetNamespace("MAPI") ; $Fldr = $NS.GetDefaultFolder(6) ; $Unread = $Fldr.UnReadItemCount $Outlook = 0 On 3/10/06, Landin, Mark <Mark.Landin@xxxxxxxxxxxxxxxx> wrote: > > Hi that was me. :) > > What we had to do was have a login script detect the presence of a .prf > file, and if it did, actually launch Outlook, and specify on the command > line to execute a macro which exited Outlook. This was enough to get the > .prf file "digested". I can post that macro if you need it. Note that > you need to make sure macro security is "low" for Outlook or this won't > work. > > > -----Original Message----- > > From: thin-bounce@xxxxxxxxxxxxx > > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Christian Dady > > Sent: Thursday, March 09, 2006 10:30 AM > > To: thin@xxxxxxxxxxxxx > > Subject: [THIN] Outlook 2003 - import .prf without launching > > > > We have an application on our Citrix farm that we're trying > > to get working with Office 2003. The app requires a MAPI > > profile to exist before it starts, which worked fine with > > Outlook 2000 using NEWPROF.EXE to import a .prf. This wizard > > doesn't exist for Outlook 2003. > > > > We don't want to launch Outlook on the Citrix servers prior > > to the application, since it's not needed. Has anyone found > > a way to import from a .prf for Office 2003 without launching > > Outlook? I found a reference on the list archives about a VB > > script and an .ini file that would work, but the code was not posted. > > > > Thanks for you help. > > > > -Christian > > > > ************************************************ > > For Archives, RSS, to Unsubscribe, Subscribe or set Digest or > > Vacation mode use the below link: > > //www.freelists.org/list/thin > > ************************************************ > > > ************************************************ > For Archives, RSS, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > //www.freelists.org/list/thin > ************************************************ >