Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: Установка XPLode
Показать сообщение отдельно

Пользователь


Сообщения: 77
Благодарности: 1

Профиль | Сайт | Отправить PM | Цитировать


Переделал стандартный файл, входящий в поставку XPLode 4.1
на свой
Код: Выделить весь код
<XPlode4>
	<!ENTITY SrcDir "#SOURCEDRIVE#\i386">
	<!ENTITY DstDir "#SYSTEMDRIVE#\i386">
	<config>
		<!-- 
			Login tokens for use when executing programs.
			
			When running a command, a token="username" attribute will 
				switch the executiong to that user's context.
				
			XPlode defaults back to normal operation after that command, 
				so you need to specify each time you want to use a token.
		-->
		<tokens>
			<token 
				username="Administrator" 
				password="" 
			/>
		</tokens>
		
		
		
		<!--
			Add custom environment variables.
		-->
		<environment>
			<!-- strings for the adduser plugin, #1# is replaced by the username/groupname-->
			<acctmgmt.adduser>Adding user: #1#</acctmgmt.adduser>
			<acctmgmt.deluser>Deleting user: #1#</acctmgmt.deluser>
			<acctmgmt.addgroup>Adding group: #1#</acctmgmt.addgroup>
			<acctmgmt.delgroup>Deleting group: #1#</acctmgmt.delgroup>

			<!-- strings for the adduser plugin, #1# is replaced by the program -->
			<execute.string>Executing: #1#</execute.string>

			<!-- strings for the misc plugin -->
			<misc.sfcos-disable>Disabling Windows File Protection</misc.sfcos-disable>
			<misc.sfcos-enable>Enabling Windows File Protection</misc.sfcos-enable>

			<!-- strings for the registry plugin -->
			<registry.read>Reading from registry</registry.read>
			<registry.write>Writing to registry</registry.write>
		</environment>
		
		
		<!--
			Block containing all settings for the current display plugin.
			
			This will be dependent on which plugin used, so check 
				documentation for that specific plug.
		-->
		<display plugin='#XPLODE#\XPlodeGFXInstall.x4d'>
			<show total='6' after='4' subcount='true' />
			<font face='Verdana' antialias='true' small='8' large='13' />
			<!-- note the position attribute - it is listed in 'x,y' positions. -->
			<!-- 0..8 still may be used. -->
			<window width='640' height='400' position='4' />
			<windowmode border='true' ontop='false' />
			<colours>
				<!-- the text colour and position for the header text -->
				<header x='4' y='4' fore='#FFFFFF' />
				<!-- the text colour and position for the footer - 
					width tells XPlode how wide the footer is (including progress) -->
				<footer x='4' y='180' width='410' fore='#FFFFFF' />
				<!-- standard progress bar colours -->
				<progress border='#000000' back='#FFFFFF' fore='#008800' />
				<!-- text colours, position and width for the items listing -->
				<main x='16' y='40' width='388' fore='#FFFFFF' current='#FFFF00' description='#FFFF80' overlay='#FFFFFF44'/>
			</colours>
		</display>
	</config>
	<items>
		<item display="> Disable System File Protection">
			<sfcos-disable />
		</item>
		
		
		<item display="> Set some registry tweaks">
			<execute token="Administrator">
				<program>regedit</program>
				<arguments>/s "#XPLODE#\rules.reg"</arguments>
			</execute>
		</item>
		
		<item display="> Delete default MS backgrounds">
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\Web\Wallpaper</from>
			  <mask>*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>B*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>C*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>F*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>G*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>P*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>R*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>S*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
			<fileio-delete display="Deleting files"
			    desc="Delete files *.bmp">
			  <from>"%systemroot%\</from>
			  <mask>Z*.bmp</mask>
			  <recurse>true</recurse>
			</fileio-delete>
		</item>
		
	
		
		<item display="> Installing applications">
			<execute display="Installing K-Lite Codecs Pack with Media Player Classic">
				<program>%systemdrive%\install\Apps\codec\K-Lite.exe</program>
				<arguments>/VERYSILENT /-SP</arguments>
				<hide>true</hide>
				<wait>true</wait>
			</execute>
			<execute display="Installing Macromedia Flash and Shockwave Player">
				<program>%systemdrive%\install\Apps\FlShockw.exe</program>
				<arguments>/s</arguments>
				<hide>true</hide>
				<wait>true</wait>
			</execute>
			<execute display="Installing StartUP applet in control panel">
				<program>%systemdrive%\install\Apps\StartCpl.msi</program>
				<arguments>/q</arguments>
				<hide>true</hide>
				<wait>true</wait>
			</execute>
			<execute display="Installing FAR Manager">
				<program>%systemdrive%\install\Apps\far.exe</program>
				<hide>true</hide>
				<wait>true</wait>
			</execute>
			<execute display="Installing 7-Zip 4.15 beta">
				<program>%systemdrive%\install\Apps\7zip\7zip.exe</program>
				<hide>true</hide>
				<wait>true</wait>
			</execute>
		</item>
		
		
		<item display="> Enable System File Protection">
			<sfcos-enable />
		</item>
	</items>
</XPlode4>
И прописал XPLode.exe вместо appinst.cmd в [GuiRunEx]
В итоге голая система с кучей сообщений, которые мои твики должны убирать.
Проверить как она работает не было возможности, т.к. установка XP занимает на виртуалке не 34 минут как написано, а около 3 часов (именно начальная установка). Почему так - не знаю? С первым СП все было нормально, а вот со вторым какие-то траблы....

Последний раз редактировалось kirillkr, 09-03-2005 в 10:39.


Отправлено: 10:13, 07-03-2005 | #5

Название темы: Установка XPLode