Article ID: 193114
Article Last Modified on 5/24/2007
; 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.
Profgen.exe
Newprof.exe
Outlook.prf
Odk.inf
190053 XCLN: Adding Custom Applications to Active Setup with the ODK.
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.
Additional query words: ODK profgen newprof iexpress rollout prfadmin prf admin odkidk98.exe
Keywords: kbhowto KB193114