<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
<BODY><B>From:</B> Craig Marl (Meridian Partners Ltd.) 
(Exchange)<BR><B>Sent:</B> Wednesday, November 17, 1999 5:28 PM<BR><B>To:</B> 
Chris Steck (Exchange); Weiru Cai (Exchange); Henry Lee (Exchange); Alex 
Armanasu (Exchange); Michele Freed (Exchange); Murthy Srinivas 
(Exchange)<BR><B>Subject:</B> steps to create a settings manifest<BR>
<DIV><FONT color=#800000 face=Verdana size=2><SPAN class=718204600-18111999>Ok, 
here's the step I took to create the settings manifest for 
RAID.</SPAN></FONT></DIV>
<UL>
  <LI><FONT color=#800000 face=Verdana size=2><SPAN class=718204600-18111999>run 
  sysdiff /snap to create a snapshot of the system.</SPAN></FONT> 
  <LI><FONT color=#800000 face=Verdana size=2><SPAN 
  class=718204600-18111999>install RAID, set a bunch of 
  options.</SPAN></FONT><FONT color=#800000><SPAN class=718204600-18111999> 
  <LI><FONT color=#800000 face=Verdana size=2><SPAN class=718204600-18111999>run 
  sysdiff /diff to find out what changed.</SPAN></FONT> 
  <LI><FONT color=#800000 face=Verdana size=2><SPAN class=718204600-18111999>run 
  sysdiff /dump to get a readable copy of the changes ;o)</SPAN></FONT> 
  <LI><FONT color=#800000 face=Verdana size=2><SPAN 
  class=718204600-18111999>trawl through the dump &amp; figure out which changes 
  are related to RAID.</SPAN></FONT> 
  <LI><FONT color=#800000 face=Verdana size=2><SPAN 
  class=718204600-18111999>create a .cmd file to call&nbsp;regtoxml.vbs for each 
  registry entry I'm interested in, for 
  <STRONG>example:</STRONG></SPAN></FONT></LI></UL>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>regtoxml HKLM\SOFTWARE\Classes\.rdb 
    D:\statemgr\raid\1.xml /s</SPAN></FONT></DIV>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>regtoxml HKLM\SOFTWARE\Classes\.rdq 
    D:\statemgr\raid\2.xml&nbsp; /s</SPAN></FONT></DIV>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>regtoxml HKLM\SOFTWARE\Classes\.rdt 
    D:\statemgr\raid\3.xml&nbsp; /s</SPAN></FONT></DIV>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>regtoxml 
    HKLM\SOFTWARE\Classes\Applications\raid4.exe D:\statemgr\raid\4.xml&nbsp; 
    /s</SPAN></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE>
<UL>
  <LI><FONT color=#800000 face=Verdana size=2><SPAN class=718204600-18111999>run 
  wsmcomp.vbs with the xml file I want to compile as arg1 and the manifest I 
  want to create as arg2 example:</SPAN></FONT><FONT color=#800000><SPAN 
  class=718204600-18111999></SPAN></FONT></LI></UL>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>wsmcomp 1.xml raidstate 
  </SPAN></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE>
<UL>
  <LI><FONT face=Verdana size=2><SPAN class=718204600-18111999>next, run 
  wsmcomp.vbs again for each of my xml files, but this time using the -m flag to 
  merge them into the manifest. example: </SPAN></FONT></LI></UL>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>wsmcomp 2.xml raidstate -m 
    -k</SPAN></FONT></DIV><SPAN class=718204600-18111999>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>wsmcomp 3.xml raidstate -m -k</SPAN></FONT></DIV>
    <DIV><SPAN class=718204600-18111999>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>wsmcomp 4.xml raidstate -m -k </SPAN></FONT></DIV>
    <DIV><FONT color=#000000 face=Verdana size=2><SPAN 
    class=718204600-18111999>etc.</SPAN></FONT></DIV>
    <DIV><SPAN class=718204600-18111999></SPAN>&nbsp;</DIV>
    <DIV><FONT face=Verdana size=2><SPAN class=718204600-18111999>the -k flag 
    tells the tool to keep going even if there are 
    errors.</SPAN></FONT></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE>
<UL>
  <LI><FONT face=Verdana size=2><SPAN class=718204600-18111999>now, to check 
  that the manifest an read the settings correctly, run the settings tool with 
  teh manifest as the argument. example:</SPAN></FONT></LI></UL>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>settings raidstate</SPAN></FONT></DIV>
    <DIV><FONT face=Verdana size=2><SPAN 
    class=718204600-18111999></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT face=Verdana size=2><SPAN class=718204600-18111999>you'll see a 
    bunch of message boxes with each setting displayed ( you may want to turn 
    off your speakers&nbsp;if you have them - the beeps will drive you 
    mad!)</SPAN></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE>
<UL>
  <LI><FONT face=Verdana size=2><SPAN class=718204600-18111999>to backup the 
  settings run settings.vbs with the /a switch and specify the name of the 
  settings file. example:</SPAN></FONT></LI></UL>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
    <DIV><FONT face=Verdana size=2><SPAN class=718204600-18111999>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>settings raidstate /a 
    raidset.wsb</SPAN></FONT></DIV></SPAN></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Verdana size=2><SPAN class=718204600-18111999>Now, copy the 
    settings file and the compiled manifest to the destination machine, and run 
    the settings tool again, but with the /r switch</SPAN></FONT></DIV>
    <DIV><FONT color=#000000 face=Verdana size=2><SPAN 
    class=718204600-18111999></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#800000 face=Verdana><SPAN class=718204600-18111999>
    <DIV><FONT color=#000000 face="Courier New" size=2><SPAN 
    class=718204600-18111999>settings raidstate /a /r 
    raidset.wsb</SPAN></FONT></DIV><FONT size=2><SPAN 
    class=718204600-18111999></DIV></BLOCKQUOTE></BLOCKQUOTE>
<UL>
  <LI><FONT size=2><SPAN class=718204600-18111999>Go check the app to see if the 
  settings came across OK.</SPAN></FONT></LI></UL>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px"></SPAN></FONT>
    <DIV>&nbsp;</DIV></SPAN></FONT></SPAN></SPAN></BLOCKQUOTE></BLOCKQUOTE></SPAN></FONT></BODY></HTML>