Q321280: SMS: Installer "Parse String" Action Leaves Undeclared String
Article: Q321280
Product(s): Microsoft Systems Management Server
Version(s): 2.0
Operating System(s):
Keyword(s): kbtool
Last Modified: 14-MAY-2002
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Systems Management Server Installer version 2.0
-------------------------------------------------------------------------------
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 this to be a problem in SMS Installer 2.0.148.
Additional query words:
======================================================================
Keywords : kbtool
Technology : kbSMSSearch kbSMSI200
Version : :2.0
Issue type : kbprb
=============================================================================
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.