DOCUMENT:Q195858 21-FEB-1999 [sms] TITLE :SMS: Changes to the SMS Installer Parse String Function PRODUCT :Microsoft Systems Management Server PROD/VER:WINDOWS:1.0,2.0; winnt:2.0 OPER/SYS: KEYWORDS:kbsmsInst ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Systems Management Server version 2.0 - Microsoft Systems Management Server Installer versions 1.0, 2.0 ------------------------------------------------------------------------------- SUMMARY ======= The Parse String action is used to break a string up into two pieces and insert those pieces into two new variables, Destination Variable 1 and Destination Variable 2. A parse token is used to indicate the position within the string where it should be split. Before build 35 of Systems Management Server Installer 1.0, the parse token was not included in either variable. Due to customer requests, builds 35 and higher of the Systems Management Server Installer 1.0 include the parse token on Destination Variable 2. However, this change to the parse string function may affect the behavior of scripts written before build 35. For this reason, the original functionality of the Parse String action was restored in Systems Management Server Installer 2.0 builds 55 and higher. Systems Management Server Installer 2.0 adds an "Include Parse Token in destination variable 2" check box to the PARSE STRING function. MORE INFORMATION ================ The following are some examples: Parse String in SMS Installer 1.0 builds 34 and lower String: C:\Program Files Parse Token: \ Destination Variable 1 value: C: Destination Variable 2 value: Program Files Parse String in SMS Installer 1.0 and 2.0 builds 35 to 54 String: C:\Program Files Parse Token: \ Destination Variable 1 value: C: Destination Variable 2 value: \Program Files Additional query words: prodsms ====================================================================== Keywords : kbsmsInst Technology : kbSMSSearch kbSMS200 kbSMSI100 kbSMSI200 Version : WINDOWS:1.0,2.0; winnt:2.0 Issue type : kbinfo ============================================================================= 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 1999.