Some comments..
Your script checks to see if Oulook is installed.. It generates the profiles, etc. With the code and the code re-write of the one that I have in the FAQ, detects which version (maybe a moot point with only one version installed on the client systems) and then generates the profile. I have also tried to go away from the GOTO/GOSUB methods and use detection to go to the section needed. In fact, with the code re-write there is more use of Functions. However, in the original version, the use of a CASE Statement is used.. IIRC, I only use NEWPROF.EXE as we make a number of modifications to the PRF before the profile is generated. If Outlook XP/2003 is detected, NEWPROF.EXE is not used.
Back to the point about one version of Outlook.. If you have only one version, I could trim my version down quite a bit. Thanks also go out to Anthony Harper, who, has helped with the PRF settings needed rather than "reg hacks" as I was doing.
Kent