Article ID: 193114 - Last Review: May 24, 2007 - Revision: 3.3 XCLN: How To Generate A User-Specific Profile using IExpress and ODKThis article was previously published under Q193114 On This PageSUMMARY
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/mslfiles/odkidk98.exe
(ftp://ftp.microsoft.com/softlib/mslfiles/odkidk98.exe)
and
http://support.microsoft.com/support/downloads/dp3384.asp
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fsupport%2fdownloads%2fdp3384.asp)
MORE INFORMATION
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:
Creating the .inf for Use with the IExpress WizardThe .inf file contains the list of files to be copied to the users' hard drives and programs to be executed.Listed below is a sample .inf file that will run the programs necessary to generate a dynamic profile. Profgen.exe, Newprof.exe, and Outlook.prf will be copied to the hard drive, and then executed at the end of Setup. The [install.files] section is a list of files to copy to the users' computers. The [RunPostSetupCommandsSection] section lists the names of the programs to execute, and the launch order. You should also include any command-line arguments in this section. NOTE: The .inf file is named Odk.inf, and must be listed in the [install.files] section. Combining Multiple Files Using the IExpress WizardTo bundle several programs together using the IExpress utility, follow these steps:
The bundled self-extracting executable is now ready to be included in the ODK. For additional information on adding custom components to the ODK, please see the following article in the Microsoft Knowledge Base: 190053
(http://support.microsoft.com/kb/190053/EN-US/
)
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.exe accepts the following command line options: NEWPROF [-P <Path to .prf file>] [-S] [-X] [-Z] Where:
-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.
For additional information on Outlook.prf, please see the following articles in the Microsoft Knowledge Base: | Article Translations
|

Back to the top
