Configuring Profile in Office XP through a prf file

G

Guest

I have created a prf file through the Custom Installation Wizard for Office
XP. I am trying to set up a Profile which has a new email account. That email
account is an exchange server email account. I can configure the Profile name
and the exchange server but I can not get the prf file to configure the
username correctly. What is wrong with the following prf file. I am setting
the new profile name in section 1 and setting the exchange server and
username in section 4. When I go and appy this prf file and go to profile
properties and look at the email account exchange server settings and the
server is set but the username is not set.

What do I need to do to the prf to correctly apply the username when I
change it in the prf file?

Also how do make sure that a back up of a profile that is applied with the
same name is not made into a backup and shows up in the profile list when you
look at the Outlook properties from the desk top icon?

Thanks for all your help.

Example prf file text:

;Automatically generated PRF file from the Microsoft Office Customization
and Installation Wizard

; **********************************************************
; Section 1 - Profile Defaults
;***********************************************************

[General]
Custom=1
ProfileName=NewProfileName
DefaultProfile=Yes
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=FALSE

;***********************************************************
; Section 2 - Services in Profile
;***********************************************************

[Service List]
Service1=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
;ServiceX=Microsoft Outlook Client

;***********************************************************
; Section 3 - List of internet accounts
;***********************************************************

[Internet Account List]

;**********************************************************
; Section 4 - Default values for each service.
;**********************************************************

[Service1]
OverwriteExistingService=No
UniqueService=Yes
MailboxName=%TestUserName%
HomeServer=TEST_EXCHANGE_SERVER
AccountName=Microsoft Exchange Server

[ServiceEGS]
MailboxName=%TestUserName%
HomeServer=TEST_EXCHANGE_SERVER
;***********************************************************
; Section 5 - Values for each internet account.
;**********************************************************

;**********************************************************
; Section 6 - Mapping for profile properties
;**********************************************************

[Microsoft Exchange Server]
ServiceName=MSEMS
MDBGUID=5494A1C0297F101BA58708002B2A2517
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
OfflineAddressBookPath=PT_STRING8,0x660E
OfflineFolderPath=PT_STRING8,0x6610

[Exchange Global Section]
SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608

[Microsoft Mail]
ServiceName=MSFS
ServerPath=PT_STRING8,0x6600
Mailbox=PT_STRING8,0x6601
Password=PT_STRING8,0x67f0
RememberPassword=PT_BOOLEAN,0x6606
ConnectionType=PT_LONG,0x6603
UseSessionLog=PT_BOOLEAN,0x6604
SessionLogPath=PT_STRING8,0x6605
EnableUpload=PT_BOOLEAN,0x6620
EnableDownload=PT_BOOLEAN,0x6621
UploadMask=PT_LONG,0x6622
NetBiosNotification=PT_BOOLEAN,0x6623
NewMailPollInterval=PT_STRING8,0x6624
DisplayGalOnly=PT_BOOLEAN,0x6625
UseHeadersOnLAN=PT_BOOLEAN,0x6630
UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
UseHeadersOnRAS=PT_BOOLEAN,0x6640
UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
ConnectOnStartup=PT_BOOLEAN,0x6642
DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
DisconnectOnExit=PT_BOOLEAN,0x6645
DefaultDialupConnectionName=PT_STRING8,0x6646
DialupRetryCount=PT_STRING8,0x6648
DialupRetryDelay=PT_STRING8,0x6649

[Personal Folders]
ServiceName=MSPST MS
Name=PT_STRING8,0x3001
PathToPersonalFolders=PT_STRING8,0x6700
RememberPassword=PT_BOOLEAN,0x6701
EncryptionType=PT_LONG,0x6702
Password=PT_STRING8,0x6703

[Outlook Address Book]
ServiceName=CONTAB

[LDAP Directory]
ServiceName=EMABLT
ServerName=PT_STRING8,0x6600
UserName=PT_STRING8,0x6602
UseSSL=PT_BOOLEAN,0x6613
DisplayName=PT_STRING8,0x3001
ConnectionPort=PT_STRING8,0x6601
SearchTimeout=PT_STRING8,0x6607
MaxEntriesReturned=PT_STRING8,0x6608
SearchBase=PT_STRING8,0x6603

[Microsoft Outlook Client]
SectionGUID=0a0d020000000000c000000000000046
FormDirectoryPage=PT_STRING8,0x0270
WebServicesLocation=PT_STRING8,0x0271
ComposeWithWebServices=PT_BOOLEAN,0x0272
PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
OpenWithWebServices=PT_BOOLEAN,0x0274

[Personal Address Book]
ServiceName=MSPST AB
NameOfPAB=PT_STRING8,0x001e3001
Path=PT_STRING8,0x001e6600
ShowNamesBy=PT_LONG,0x00036601

;***********************************************************
; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
;***********************************************************
 
S

Sue Mosher [MVP-Outlook]

Replace %TestUserName% with %UserName% if you want the profile to be
configured with a mailbox user name the same as the user's Windows login
name.

To prevent a backup profile from being made, add this setting to the
[General] section under Section 1:

BackupProfile=No


Note that this is a programming newsgroup. The installation forum is
microsoft.public.outlook.installation.


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



BK Drake said:
I have created a prf file through the Custom Installation Wizard for Office
XP. I am trying to set up a Profile which has a new email account. That
email
account is an exchange server email account. I can configure the Profile
name
and the exchange server but I can not get the prf file to configure the
username correctly. What is wrong with the following prf file. I am
setting
the new profile name in section 1 and setting the exchange server and
username in section 4. When I go and appy this prf file and go to profile
properties and look at the email account exchange server settings and the
server is set but the username is not set.

What do I need to do to the prf to correctly apply the username when I
change it in the prf file?

Also how do make sure that a back up of a profile that is applied with the
same name is not made into a backup and shows up in the profile list when
you
look at the Outlook properties from the desk top icon?

Thanks for all your help.

Example prf file text:

;Automatically generated PRF file from the Microsoft Office Customization
and Installation Wizard

; **********************************************************
; Section 1 - Profile Defaults
;***********************************************************

[General]
Custom=1
ProfileName=NewProfileName
DefaultProfile=Yes
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=FALSE

;***********************************************************
; Section 2 - Services in Profile
;***********************************************************

[Service List]
Service1=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
;ServiceX=Microsoft Outlook Client

;***********************************************************
; Section 3 - List of internet accounts
;***********************************************************

[Internet Account List]

;**********************************************************
; Section 4 - Default values for each service.
;**********************************************************

[Service1]
OverwriteExistingService=No
UniqueService=Yes
MailboxName=%TestUserName%
HomeServer=TEST_EXCHANGE_SERVER
AccountName=Microsoft Exchange Server

[ServiceEGS]
MailboxName=%TestUserName%
HomeServer=TEST_EXCHANGE_SERVER
 
G

Guest

Thanks for the info on preventing back-up profiles. Sorry for posting in the
wrong area. I am developing a simple windows app that manipulates a prf file
through a user interface. I forgot that this question was more an
integration question than a developers questions. Thanks again for all your
help. I will repost this in the microsoft.public.outlook.installation group.

Sue Mosher said:
Replace %TestUserName% with %UserName% if you want the profile to be
configured with a mailbox user name the same as the user's Windows login
name.

To prevent a backup profile from being made, add this setting to the
[General] section under Section 1:

BackupProfile=No


Note that this is a programming newsgroup. The installation forum is
microsoft.public.outlook.installation.


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



BK Drake said:
I have created a prf file through the Custom Installation Wizard for Office
XP. I am trying to set up a Profile which has a new email account. That
email
account is an exchange server email account. I can configure the Profile
name
and the exchange server but I can not get the prf file to configure the
username correctly. What is wrong with the following prf file. I am
setting
the new profile name in section 1 and setting the exchange server and
username in section 4. When I go and appy this prf file and go to profile
properties and look at the email account exchange server settings and the
server is set but the username is not set.

What do I need to do to the prf to correctly apply the username when I
change it in the prf file?

Also how do make sure that a back up of a profile that is applied with the
same name is not made into a backup and shows up in the profile list when
you
look at the Outlook properties from the desk top icon?

Thanks for all your help.

Example prf file text:

;Automatically generated PRF file from the Microsoft Office Customization
and Installation Wizard

; **********************************************************
; Section 1 - Profile Defaults
;***********************************************************

[General]
Custom=1
ProfileName=NewProfileName
DefaultProfile=Yes
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=FALSE

;***********************************************************
; Section 2 - Services in Profile
;***********************************************************

[Service List]
Service1=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
;ServiceX=Microsoft Outlook Client

;***********************************************************
; Section 3 - List of internet accounts
;***********************************************************

[Internet Account List]

;**********************************************************
; Section 4 - Default values for each service.
;**********************************************************

[Service1]
OverwriteExistingService=No
UniqueService=Yes
MailboxName=%TestUserName%
HomeServer=TEST_EXCHANGE_SERVER
AccountName=Microsoft Exchange Server

[ServiceEGS]
MailboxName=%TestUserName%
HomeServer=TEST_EXCHANGE_SERVER
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top