Microsoft KB Archive/321280

= SMS: The SMS Installer &quot;Parse String&quot; Action Leaves an Undeclared String in a Null Variable =

Article ID: 321280

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Service Pack 5

-



This article was previously published under Q321280



SYMPTOMS
When the wizard creates SMS Installer code, or if you create code by using the Parse String action, you can parse a string and split it into separate variables. However, in SMS Installer version 2.0.148, if you parse a string into a single string, the rest of the string is allocated to a null variable (%%). Therefore, if you want to display a dialog box that contains a percent character (%), which requires using double percent characters (%%), you get the remainder of the parsed string instead of a percent character.

This works as expected in earlier versions of SMS Installer.



WORKAROUND
To work around this problem, declare the rest of the string in the second variable of the Parse String action.



STATUS
Microsoft has confirmed that this is a problem in SMS Installer 2.0.148.

Keywords: kbprb KB321280

-

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

© Microsoft Corporation. All rights reserved.