XCLN: How To Generate A User-Specific Profile using IExpress and ODKID: Q193114
|
This article describes how to create a self-extracting archive to generate
a user-specific profile for use with the Microsoft Outlook Deployment Kit
(ODK) and the IExpress Deployment Kit for Outlook 98.
For additional information on using IExpress and the ODK, users should
download the IExpress Deployment Kit for Outlook 98 available at the
following locations:
ftp.microsoft.com/softlib/msfiles/odkidk98.exeand
http://support.microsoft.com/support/downloads/dp3384.asp
When using the ODK to create a build of Outlook 98, if you choose the
option to install your ODK build in silent mode, you can only add one
custom package. By using the IExpress program that comes with the ODK, it
is possible to bundle multiple files together into one self-extracting
executable that can be run at the end of Setup. This is necessary if you
wish to deploy multiple patches, or generate profiles once Outlook is
installed.
Generating the package successfully requires two phases, which are
explained in detail in the following sections:
; This is a sample .inf file to use with the IExpress Wizard.
; Copy this file and save it with the name Odk.inf.
[Version]
Signature="$Chicago$"
AdvancedINF=2.0
[DefaultInstall]
CopyFiles=install.files
RunPostSetupCommands=RunPostSetupCommandsSection
[DestinationDirs]
install.files=30,IDKTemp
[install.files]
; List the files that need to be copied to the local hard drive.
; This should be the same list of files that are added in the
; "Packaged Files" section of the IExpress Wizard as described in
; step 4 below.
Profgen.exe ;used in generating profiles
Newprof.exe ;used in generating profiles
Outlook.prf ;configuration file used in generating profiles
Odk.inf
[RunPostSetupCommandsSection]
; List the programs you wish to run, and the order in which
; you wish them to be executed.
; Include any command line switches or parameters that are necessary.
profgen.exe newprof.exe -P outlook.prf -x -l -u -n -j -r -t
; The above command line generates a profile based on current logon ID
; and setting listed in the Outlook.prf file. Additional information
; on command-line switches is listed at the end of this article.
[SourceDisksNames]
1="default",,1
C:\Program Files\ODK\Tools\Iexpress.exe.In the Welcome To IExpress 2.0 dialog box, click "Create new self extraction directive file," and then click Next.
Profgen.exeClick Open, and then click Next.
Newprof.exe
Outlook.prf
Odk.inf
Q190053 XCLN: Adding Custom Applications to Active Setup with the ODK.The command-line switches for Profgen and Newprof are listed here for reference.
PROFGEN.EXE <path>\NEWPROF.EXE -P <path>\DEFAULT.PRF [-S] [-X] [-L] [-U]
<path>\NEWPROF.EXE - This is the name of the file NEWPROF.EXE, with
complete path.
-P <path>\DEFAULT.PRF - This specifies the name of the .prf file to be
used.
-I <Logon ID> - Use the logon ID specified.
-J - Modifies the PathtoPersonalFolders and the
PathToPersonalAddressBook, by substituting the
current logon ID, in place of $USERNAME$.
Hence, if the .prf file has the entry
PathtoPersonalFolders =
H:\$USERNAME$\mailbox.pst, the program will
change it to PathtoPersonalFolders =
H:\LogonID\mailbox.pst, LogonID is the current
login ID.
The PathToPersonalAddressBook will be similarly
modified.
For the PathtoPersonalFolders to be modified,
the "Personal Folders" service must be
included in the .prf file.
For the PathToPersonalAddressBook to be
modified, the "Personal Address Book"
service must be included in the .prf file.
-L - Create a log file, C:\PROFGEN.LOG.
-N - Use the current logon ID as the name of the
profile.
-R - Do not rename the .prf file after the program
has run.
-S - Run NEWPROF.EXE with the -S option.
-T <path> - Specifies the directory where the profgen.tmp
file should be created. The default location is
c:\.
-U - Use the current logon ID in the profile being
created. Update the MailboxName= entry
in the .prf file specified with the -P option,
even if it already contains a value.
-X - Run NEWPROF.EXE with the -X option
NEWPROF [-P <Path to .prf file>] [-S] [-X] [-Z]
-P <Path to .prf file> is the .prf file with the complete path.
-S Causes the Newprof.exe to program to bring up a window, allows
the user to choose a .prf file, and displays status and error
messages in this window.
-X Causes Newprof.exe to start execution automatically when the -S
option is used, without waiting for a .prf file to be selected.
Requires the -P option to be used or the Default.prf file to be
present in the windows directory.
-Z Causes Newprof.exe to display MAPI error codes in case any errors
are encountered. This option requires the -S option.
Q172073 : OL97: Contents of the Outlook.prf File
Q166778 : OL97: Contents of the Profile.doc Readme File
Additional query words: ODK profgen newprof iexpress rollout prfadmin prf admin odkidk98.exe
Keywords :
Version : WINDOWS:98
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: April 14, 1999