关于 xplode 4.3 的问题 ??
各位 :
在本论坛看到 诸位对xplode 的精辟诠释 我真是受益非浅,但在下对新版本 4.3
还是有些不懂 请各位帮帮忙:
1 include-StdConfig.XML这个文件是起什么作用的 ,其内的代码能具体解释一下吗?
2 include-Items.XML 看上去是用来制定 安装软件 的 但在其中 的如下代码是什么意思 :
<items>
<item display="Testing" image="#XPLODE#\images\codecs.gif">
<registry mode="read">
<hive>HKLM</hive>
<key>SYSTEM\CurrentControlSet\Control\Update</key>
<value>UpdateMode</value>
<variable>UpdateMode</variable>
</registry>
<sleep display="Condition should not evaluate" condition="#UPDATEMODE# != 10"> 1 </sleep>
<sleep display="Condition should evaluate" condition="#UPDATEMODE# > '10'"> 1 </sleep>
<fileio-shortcut display="Adding Shortcut" desc="Adds shortcut to edit #SYSTEMDRIVE#\boot.ini" configs="Testing">
<link>#ALLUSERSPROFILE#\Start Menu\Edit Boot Configuration.lnk</link>
<target>#SYSTEMROOT#\notepad.exe</target>
<arguments>#SYSTEMDRIVE#\boot.ini</arguments>
<description>Edit #SYSTEMDRIVE#\boot.ini</description>
<workdir>#SYSTEMDRIVE#\</workdir>
<icon>#SYSTEMROOT#\system32\shell32.dll?-154</icon>
</fileio-shortcut>
<fileio-copy display="Copying Files" desc="Copies all files from #SOURCEDRIVE#\CMPNENTS to #SYSTEMDRIVE#\i386, recursively" configs="Testing">
<from>#SOURCEDRIVE#\CMPNENTS</from>
<dest>#SYSTEMDRIVE#\i386</dest>
<mask>*</mask>
<recurse>true</recurse> <!-- defaults to false if not specified -->
<replace>true</replace> <!-- defaults to false if not specified -->
</fileio-copy>
<fileio-move display="Moving files" desc="Moves *.c*, *.e* from #SYSTEMDRIVE#\i386 to #SYSTEMDRIVE#\i387" configs="Testing">
<from>#SYSTEMDRIVE#\i386</from>
<dest>#SYSTEMDRIVE#\i387</dest>
<mask>*.c*|*.e*</mask>
<recurse>true</recurse>
</fileio-move>
<fileio-delete display="Deleting files" desc="Deletes *.ac_ from #SYSTEMDRIVE#\i387" configs="Testing">
<from>#SYSTEMDRIVE#\i387</from>
<mask>*.c*</mask>
<recurse>true</recurse>
</fileio-delete>
<fileio-rename display="Renaming driver.cab" desc="Renames #SYSTEMDRIVE#\i387\driver.cab to #SYSTEMDRIVE#\i387\chunks.cab" configs="Testing">
<from>#SYSTEMDRIVE#\i387\driver.cab</from>
<dest>#SYSTEMDRIVE#\i387\chunks.cab</dest>
<replace>true</replace> <!-- defaults to false if not specified -->
</fileio-rename>
<fileio-rmdir display="Removing #SYSTEMDRIVE#\i386" desc="Removes #SYSTEMDRIVE#\i386 from the file system" configs="Testing">
<from>#SYSTEMDRIVE#\i386</from>
</fileio-rmdir>
<fileio-rmdir display="Removing #SYSTEMDRIVE#\i387" desc="Removes #SYSTEMDRIVE#\i387 from the file system" configs="Testing">
<from>#SYSTEMDRIVE#\i387</from>
</fileio-rmdir>
<testdisp display="Test Display" desc="Tests the display for 26 seconds..." configs="HAILSTORM" />
</item>
<item display="Add Accounts" image="#XPLODE#\images\windbg.gif">
<addgroup display="Add group 'Cowboy Bebop'" desc="Adds group 'Cowboy Bebop' to the computer: \\#COMPUTERNAME#" configs="">
<groupname>Cowboy Bebop</groupname>
<extra>/COMMENT:"It's them bounty hunters!"</extra>
</addgroup>
<adduser display="Add Spike" desc="Adds user 'Spike' to the computer: \\#COMPUTERNAME#" configs="">
<username>Spike</username>
<password>swordfish</password>
<group>Administrators</group>
<group>Cowboy Bebop</group>
<extra>/FULLNAME:"Spike Spiegel"</extra>
</adduser>
<adduser display="Add Jet" desc="Adds user 'Jet' to the computer: \\#COMPUTERNAME#" configs="">
<username>Jet</username>
<password>hammerhead</password>
<group>Cowboy Bebop</group>
<extra>/FULLNAME:"Jet Black" /COMMENT:"When the black dog bites, he don't let go!"</extra>
</adduser>
</item>
。
。
。
。
。
。
。
。
。
<item display="Remove Accounts" image="#XPLODE#\images\windbg.gif">
<deluser display="Remove Spike" desc="Removes user 'Spike' from the computer: \\#COMPUTERNAME#" configs="">
<username>Spike</username>
</deluser>
<deluser display="Remove Jet" desc="Removes user 'Jet' from the computer: \\#COMPUTERNAME#" configs="">
<username>Jet</username>
</deluser>
<delgroup display="Remove group 'Cowboy Bebop'" desc="Removes group 'Cowboy Bebop' from the computer: \\#COMPUTERNAME#" configs="">
<groupname>Cowboy Bebop</groupname>
请各位 帮帮忙 现谢谢了