Microsoft KB Archive/306932

= The %USERNAME% variable does not work for a profile name =

Article ID: 306932

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Office Outlook 2003
 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q306932



In the Custom Installation Wizard (CIW), you can use the environment variable %UserName% to set certain items, such as the name of offline folders (.ost) files, the name of personal folders (.pst) files, and the name of Personal Address Book (PAB) files. However, the CIW cannot resolve a variable name for the profile name.

Please note that this also effects the *.prf file in the section of the file which indicates ProfileName=%username%

For example, if you install Microsoft Office XP, type %UserName% in the Profile Name box in the CIW, and open Outlook 2002, the profile name is &quot;%UserName%&quot; and not the expected username.



STATUS
This behavior is by design.

Keywords: kbprb KB306932

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.