[THIN] Re: Profile Generator for Office XP

  • From: "Ron Oglesby" <roglesby@xxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 13 Jan 2003 18:16:09 -0600

Or you can use the importprf key in the registry to do this also.



Ron Oglesby
Senior Technical Architect
=20
RapidApp
Office 312.372.7188
Mobile 312.961.2380
email roglesby@xxxxxxxxxxxx
=20

-----Original Message-----
From: Michael [mailto:indy019@xxxxxxxxx]=20
Sent: Monday, January 13, 2003 5:00 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Profile Generator for Office XP


I founda  way around this by using the start command
with Outlook command line switch.

(there may be needless wrapping)
-------------------------
rem @echo off

ECHO Generating Outlook Profile

IF "%USERNAME%" =3D=3D "Administrator" GOTO END

IF EXIST H:\Windows\outlook.prf GOTO END

copy %LOGONSERVER%\NETLOGON\outlook.prf=20
H:\windows\outlook.prf

start "C:\Program Files\Microsoft
Office\Office10\outlook.exe" /importPRF
"H:\windows\outlook.prf"

:end
-------------------------

I hope this helps.

Michael Saul

--- "Barnes, Kim" <Kim.Barnes@xxxxxxxxxx> wrote:
> Is anyone using the Office XP Profile Generator?=20
> PRF files are now
> executables in Outlook XP.  I need the PRF file to
> execute the first time a
> user logs in.  I don't want it to execute anytime
> after because I don't want
> the PRF file to overwrite any customizations they
> may have made in Outlook.
> I've accomplished this in a script file.  The script
> file does the
> following:
>=20
> Checks to see if the outlook.prf file exists in the
> user's profile
> directory. =20
> If it does not exist (then this is a new user), copy
> the outlook.prf file to
> the user's profile directory.
> Execute the outlook.prf file, which launches
> Outlook.
> If it does exist, then it is not a new user so it
> exits the script.
>=20
> The following is my script file:
>=20
> IF EXIST "%userprofile%\outlookxp.prf" goto end
> copy M:\winnt\profgen\outlookxp.prf
> "%userprofile%\outlookxp.prf"
> M:\winnt\profgen\outlookxp.prf
>=20
> :end
>=20
> The problem is that since I have this in a script,
> when it runs the line
> M:\winnt\profgen\outlookxp.prf it launches outlook
> and the script thinks
> it's still running.  So cmd.exe is still running in
> the background.  How do
> I get the script to end??
>=20
> Thanks,
> Kim Barnes
> Server Administrator
> TTI, Inc.
> 817-740-9000=20
> kim.barnes@xxxxxxxxxx

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
***********************************************=20
This Weeks Sponsor: WM Software
WMS Messenger for TSE
Affordable Instant Messaging for Terminal Servers
http://www.wmsoftware.com/wmsm/
************************************************
For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm
*********************************************** 
This Weeks Sponsor: WM Software
WMS Messenger for TSE
Affordable Instant Messaging for Terminal Servers
http://www.wmsoftware.com/wmsm/
************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: