Microsoft KB Archive/817111

= Office 2003 Setup May Not Run Correctly When You Use the CreateProcess API =

Article ID: 817111

Article Last Modified on 1/10/2006

-

APPLIES TO

 Microsoft Office Standard Edition 2003, when used with:  Microsoft Windows XP Professional

 Microsoft Windows 2000 Standard Edition 

-





SYMPTOMS
When you use the CreateProcess application programming interface (API) to run Microsoft Office 2003 Setup, the Setup routine may not function as expected. You may experience the following symptoms:
 * Setup may not run in quiet mode as specified.
 * Logging functions may not occur.
 * You may receive an error message about an invalid command-line parameter.

The symptoms that you experience depend on the order of the Setup parameters.



CAUSE
This problem occurs because the CreateProcess API removes the first parameter of the Setup command line. The CreateProcess API expects the first parameter to be a reference to the program executable file (.exe file).



WORKAROUND
To work around this problem, modify your command line to move the program executable statement so that it is the expected first parameter.

For example, suppose that you use the following command line to run Setup in quiet mode:

\\ \ \Setup.exe /qb- PIDKEY= TRANSFORMS=\\ \ \ .mst /lv* C:\Temp\Log.txt

To modify this command line, add a Null string, as in the following example:

\\ \ \Setup.exe /qb- PIDKEY= TRANSFORMS=\\ \ \ .mst /lv* C:\Temp\Log.txt

Note You can use any literal string for.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in Microsoft Office 2003.

Additional query words: off2003 winxp win2000

Keywords: kbpending kbbug KB817111

-

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

© Microsoft Corporation. All rights reserved.