Jump to content

Recommended Posts

Posted (edited)

Anyone around who can help me out?

I'm trying to do an unattended install with win2k, and not having much luck.

This is what I have so far...I have tried using this http://www.msfn.org/board/-t63731.html&amp...st&p=450244 and I seem to be doing a horrible job. lol

I have read the manual and I have read http://unattended.msfn.org/unattended.xp/view/web/1/ many times. I would not call my self a noob, or maybe I am with this part anyway.....

okay so here are all my current files.

Xplode.cmd

cmdow @ /HID
@ECHO off
Set T12Inst=true
::get current script directory and strip the trailing slash
set zpath=%~dp0
set zpath=%zpath:~0,-1%
start "" /wait "%zpath%XPlode.exe" /xml:"#XPLODE#XPlode-GFXinstall.xml" /log:"#SYSTEMDRIVE#T12.log"

now my t12.xml

<XPlode4>
<item display="Add Entries into RunOnceEx">
<execute display="Applying ...">
<program>reg</program>
<arguments>add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /v TITLE /d "Installing Applications" /f</arguments>
<hide>true</hide>
</execute>
<execute display="Applying ...">
<program>reg</program>
<arguments>add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001 /ve /d "Launching XPlode ..." /f</arguments>
<hide>true</hide>
</execute>
<execute display="Applying ...">
<program>reg</program>
<arguments>add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001 /v 1 /d "#XPLODE#\XPlode.exe /xml:\"#XPLODE#\XPlode-GFXinstall.xml\" /log:\"#SYSTEMDRIVE#\RunOnceEx.log\"" /f</arguments>
<hide>true</hide>
</execute>
</item>
</XPlode4>

XPlode-GFXInstall.xml

<XPlode4>
<config>
<!-- include the standard config stuff -->
<!-- <include file="#XPLODE#\include-StdConfig.xml" /> -->
<!-- include the standard config stuff -->
<display plugin='#XPLODE#\XPlodeGFXInstall.x4d'>
<show total='6' after='4' subcount='true' />
<font face='Tahoma' 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='420' height='200' position='4' background="#XPLODE#\images\gfxinstall.png" />
<windowmode border='true' ontop='true' />
<colours>
<!-- the text colour and position for the header text -->
<header x='12' 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='400' 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>

<!-- include the items list -->
<include file="#XPLODE#\T12.xml" condition="'#T12Inst#' == 'true'"/>
<include file="#XPLODE#\RunOnceEx.xml" condition="'#T12Inst#' != 'true'"/>
</XPlode4>

RunOnceEx.xml

<XPlode4>
<pre-execute>
<hidewindow>
<title>ConsoleWindowClass</title>
</hidewindow>
</pre-execute>
<post-execute>
<showwindow>
<title>ConsoleWindowClass</title>
</showwindow>
</post-execute>
<items>
<item display="Remote Desktop">
<execute display="Remote Desktop Installing...">
<program>#SOURCEDRIVE#\Software\Remote_Desktop\msrdpcli.msi</program>
<arguments>/qn</arguments>
</execute>
</item>
<item display="Secure Desktop">
<execute display="Installing Secure Desktop...">
<program>#SOURCEDRIVE#\Software\Visual Automation Secure Desktop\Setup.exe</program>
<arguments>/s</arguments>
</execute>
</item>
</items>
</XPlode4>

And current error.

XPlode4
XMLParser::LoadFile(D:\xplode\XPlode-GFXinstall.xml)
Importing file: 'D:\xplode\T12.xml'
Condition "'true' == 'true'" succeeded.
XMLParser::LoadFile(D:\xplode\T12.xml)
Import context: 'XPlode4(0)', from 'D:\xplode\T12.xml' succeeded.
Importing file: 'D:\xplode\RunOnceEx.xml'
Condition "'true' != 'true'" did not succeed.
Loading XPlode plugins
Loading display plugin: 'D:\xplode\XPlodeGFXInstall.x4d'
Plugin load unsuccessful: 'D:\xplode\XPlodeGFXInstall.x4d'

So is there anyone who can help me????

Thanks

Edited by bazzly

Posted (edited)

The only thing I can think of as to why its not installing would be this line here in mt T12.xml

<execute display="Applying ...">
<program>reg</program>
<arguments>add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001 /v 1 /d "#XPLODE#\XPlode.exe /xml:\"#XPLODE#\XPlode-GFXinstall.xml\" /log:\"#SYSTEMDRIVE#\RunOnceEx.log\"" /f</arguments>
<hide>true</hide>
</execute>

Is there not anyone in here that can give a hand???

Anyone in here ever use Xplode??

The error in the log now says

XPlode4
XMLParser::LoadFile(D:xplodeXPlode-GFXinstall.xml)
Importing file: 'D:xplodeT12.xml'
Condition "'true' == 'true'" succeeded.
XMLParser::LoadFile(D:xplodeT12.xml)
Import context: 'XPlode4(0)', from 'D:xplodeT12.xml' succeeded.
Importing file: 'D:xplodeRunOnceEx.xml'
Condition "'true' != 'true'" did not succeed.
Loading XPlode plugins
Loading display plugin: 'D:\xplode\XPlodeGFXInstall.x4d'
Plugin load unsuccessful: 'D:\xplode\XPlodeGFXInstall.x4d'

Edited by bazzly
Posted

So what I have found is if I try to load this in XP the plugin works, but does not install any programs. So can someone let me know If I should even bother to post anymore, it does not seem there is much help here for this subject anymore.

If anyone has any input....please let me know.

new t12.log from xp machine

XPlode4
XMLParser::LoadFile(D:\xplode\XPlode-GFXinstall.xml)
Importing file: 'D:\xplode\include-StdConfig.xml'
XMLParser::LoadFile(D:\xplode\include-StdConfig.xml)
Import context: 'XPlode4(0).config(0)', from 'D:\xplode\include-StdConfig.xml' succeeded.
Importing file: 'D:\xplode\T12.xml'
Condition "'true' == 'true'" succeeded.
XMLParser::LoadFile(D:\xplode\T12.xml)
Import context: 'XPlode4(0)', from 'D:\xplode\T12.xml' succeeded.
Importing file: 'D:\xplode\RunOnceEx.xml'
Condition "'true' != 'true'" did not succeed.
Reading environment variables from XML
#DISPLAY.TITLE# = 'XPlode Installation'
#DISPLAY.COMPLETE# = 'completed'
#REGISTRY.READ# = 'Reading from registry'
#REGISTRY.WRITE# = 'Writing to registry'
#FILEIO.COPY# = 'Copying: #1# to #2# (#3# of #4#, #5# of #6#)'
#FILEIO.MOVE# = 'Moving: #1# to #2# (#3# of #4#, #5# of #6#)'
#FILEIO.DELETE# = 'Deleting: #1# from #2# (#4#)'
#FILEIO.RENAME# = 'Renaming: #1# to #2#'
#FILEIO.SHORTCUT# = 'Creating shortcut to #1#'
#FILEIO.RMDIR# = 'Deleting: #1# from #2# (#4\)'
#FILEIO.MKDIR# = 'Creating directory: #1#'
Loading XPlode plugins
Loading display plugin: 'D:\xplode\XPlodeGFXInstall.x4d'
Plugin load successful: 'D:\xplode\XPlodeGFXInstall.x4d'
Loading effects plugins
Plugin load successful: 'D:\xplode\XPlodeRegistry.x4e'
Plugin load successful: 'D:\xplode\XPlodeMisc.x4e'
Plugin load successful: 'D:\xplode\XPlodeFileOps.x4e'
Plugin load successful: 'D:\xplode\XPlodeExecute.x4e'
Plugin load successful: 'D:\xplode\XPlodeAcctMgmt.x4e'
Registering XPlode commands
Registering commands in 'D:\xplode\XPlodeRegistry.x4e'
Command registered: <registry ... />
Registering commands in 'D:\xplode\XPlodeMisc.x4e'
Command registered: <sfcos-enable ... />
Command registered: <sfcos-disable ... />
Command registered: <netstart ... />
Command registered: <netstop ... />
Command registered: <hidewindow ... />
Command registered: <showwindow ... />
Command registered: <sleep ... />
Registering commands in 'D:\xplode\XPlodeFileOps.x4e'
Command registered: <fileio-copy ... />
Command registered: <fileio-move ... />
Command registered: <fileio-delete ... />
Command registered: <fileio-rename ... />
Command registered: <fileio-rmdir ... />
Command registered: <fileio-mkdir ... />
Command registered: <fileio-shortcut ... />
Registering commands in 'D:\xplode\XPlodeExecute.x4e'
Command registered: <execute ... />
Registering commands in 'D:\xplode\XPlodeAcctMgmt.x4e'
Command registered: <adduser ... />
Command registered: <addgroup ... />
Command registered: <deluser ... />
Command registered: <delgroup ... />
Spawning display plugin
Install log: Starting dialog
Install log: Execution thread
>>> Log session end at: 2008/04/23 19:50:37

Posted

Well just in case anyone wants to know, it seems to be a wink2 problem. I also found out why it was not working on XP, it was a duh. all better now.

So does anyone know how to get it to work on win2k????

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...