Jump to content

Xplode Syntax Error


hohner

Recommended Posts

Can someone please look at my .xml as I am unsure to what is wrong with it. I see something flash up at the T13 minute mark of install but there is no graphics and no programs are installed. This is my first attempt at an xml and I'm really not sure which parts should remain and which I can delete, like add user for example.

<XPlode4>
<config>
 <!--
 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'>
 <hidewindow>Windows Update</hidewindow>
 <hidewindow>CMD.EXE</hidewindow>
 <show total='18' after='10' subcount='true' />
 <font face='Tahoma' antialias='true' small='9' large='14' />
 <!-- note the position attribute - it is listed in 'x,y' positions. -->
 <!-- 0..8 still may be used. -->
 <window width='461' position='2' fixmain='0' />
 <windowmode>GUIinstall</windowmode>
 <colours>
   <header back='#003399' fore='#FFFFFFAA' image='' />
   <footer back='#003399' fore='#FFFFFFAA' image='' />
   <progress border='#FFFFFFAA' back='#00000000' fore='#FFFFFFAA' />
   <main back='#4A6FD6' fore='#FFFFFFAA' current='#FF8000' description='#FFFFFF' image='' overlay='#FFFFFF22'/>
 </colours>
 <strings>
 <title>Installation and Configuration</title>
 <complete>complete</complete>
 <!-- adduser plugin strings -->
 <adduser>Adding User #1#</adduser>
 <addusertogroup>Adding user #1# to group #2#</addusertogroup>
 <addgroup>Adding group #1#</addgroup>
 <!-- file/dir ops plugin strings -->
 <copy>Copying #1# (#2#/#3# - #4#)</copy>
 <move>Moving #1# (#2#/#3# - #4#)</move>
 <delete>Deleting #1# (#3#)</delete>
 </strings>
 </display>
</config>
<items>
 <item display='Installing Applications'>
 <execute display='Installing .NET Framework v1.1 ...' program='%systemdrive%\install\netframework\netfx.msi' arguments='/QN'/>
 <execute display='Installing Alcohol 120 ...' program='xpcd\$oem$\$1\Install\Alcohol\setup.msi' arguments='/qn /norestart'/>
 <execute display='Installing Winrar 3.30 ...' program='%systemdrive%\install\Winrar\Winrar_330.exe' arguments='/s'/>
 <execute display='Installing Nero Burning ROM v6.6.0.6 ...' program='%systemdrive%\Install\Nero\Setup.exe' arguments='/SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN /SILENT /NO_UI /NOCANCEL /NOREBOOT'/>
 </item>
</items>
</XPlode4>

Here is my log file..

>>> Log session start at: 2005/03/22 03:58:07
XPlode4
  Adding environment variables
     #XPLODE# = 'C:\XPCD\$OEM$\$1\Install\xplode'
     #SOURCEPATH# = 'G:\I386'
     #SOURCEDRIVE# = 'G:'
     #VERSION# = 'XPlode 4.00'
  XMLParser::LoadFile(C:\XPCD\$OEM$\$1\Install\xplode\XPlode.xml)
  Loading XPlode plugins
     Loading display plugin: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeGFXInstall.x4d'
        Plugin load successful: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeGFXInstall.x4d'
     Loading effects plugins
        Plugin load successful: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeRegistry.x4e'
        Plugin load successful: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeMisc.x4e'
        Plugin load successful: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeFileOps.x4e'
        Plugin load successful: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeExecute.x4e'
        Plugin load successful: 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeAcctMgmt.x4e'
  Registering XPlode commands
     Registering commands in 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeRegistry.x4e'
        Command registered: <registry ... />
     Registering commands in 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeMisc.x4e'
        Command registered: <sfcos-enable ... />
        Command registered: <sfcos-disable ... />
        Command registered: <netstart ... />
        Command registered: <netstop ... />
        Command registered: <hidewindow ... />
        Command registered: <showwindow ... />
     Registering commands in 'C:\XPCD\$OEM$\$1\Install\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-shortcut ... />
     Registering commands in 'C:\XPCD\$OEM$\$1\Install\xplode\XPlodeExecute.x4e'
        Command registered: <execute ... />
     Registering commands in 'C:\XPCD\$OEM$\$1\Install\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
     Executing tag: 'XPlode4(0).items(0).item(0).execute(0)'
        Install log: Running: ' '
        Error during execution: Invalid XML syntax - missing 'program' tag.
     Executing tag: 'XPlode4(0).items(0).item(0).execute(1)'
        Install log: Running: ' '
        Error during execution: Invalid XML syntax - missing 'program' tag.
     Executing tag: 'XPlode4(0).items(0).item(0).execute(2)'
        Install log: Running: ' '
        Error during execution: Invalid XML syntax - missing 'program' tag.
     Executing tag: 'XPlode4(0).items(0).item(0).execute(3)'
        Install log: Running: ' '
        Error during execution: Invalid XML syntax - missing 'program' tag.
>>> Log session end at: 2005/03/22 03:58:07

Does "missing 'program' tag" mean it can't find the file?

Thanks

Link to comment
Share on other sites


Im not good on XML but i thinks it maybe should be

<execute display='Installing .NET Framework v1.1 ...' <program>'%systemdrive%\install\netframework\netfx.msi' arguments='/QN'/</program>
 <execute display='Installing Alcohol 120 ...' <program>'xpcd\$oem$\$1\Install\Alcohol\setup.msi' arguments='/qn /norestart'</program>
 <execute display='Installing Winrar 3.30 ...' <program>'%systemdrive%\install\Winrar\Winrar_330.exe' arguments='/s'/</program>
 <execute display='Installing Nero Burning ROM v6.6.0.6 ...' <program>'%systemdrive%\Install\Nero\Setup.exe'</program>

Link to comment
Share on other sites

Goddamnit, doesn't "RTFM" has no meaning anymore? :/ You're using old code, this is the new one:

<execute display='Installing .NET Framework v1.1 ...'>
<program>%systemdrive%\install\netframework\netfx.msi</program>
<arguments>/QN</arguments>
</execute>

Link to comment
Share on other sites

Oh sorry :}

Does the rest of it look ok? I changed all the <item> parts to reflect the new code, but there is still no display during installation and the programs still not get installed.

Thanks for you help.

Link to comment
Share on other sites

I,m no expert (it took me weeks to figure Xplode - but well worth it)

This syntax works for me;

For a simple "program execute"

 <execute display=".NET Framework 1.1 with SP1">
  <program>#SOURCEDRIVE#\install\002-COMPO\7-NET\netfxsp1.exe</program>
  <hide>true</hide>
  <wait>true</wait>
 </execute>

I found that the best way was to take someone elses file and adapt it. But most obvious problems that crop up regular -

1. Missing tags,

2. Calling the wrong XML file (remember default = XPlode.xml unless you specify different)

3. Wrong path/s (obvious I know, but you'd be suprised how often typos creep in)

4. Placement of Xplode C/W how you run it.

5. I seem to remember someone saying that XPlode is sometimes fussy about system values such as %SystemDrive% etc and % or # - but I've no problems like this so dunno?

It may help if you let us know your folder/file structure and how/when you call XPlode.

Link to comment
Share on other sites

Where abouts in my xml file should I have this if I want to run a log file?

XPlode.exe /log:”#XPLODE#“XPlode.log”

OH, this should be merged within the line I run from cmdlines.txt shouldn't it?

Link to comment
Share on other sites

I ran a full install on my virtual pc, but I can't find the log file anywhere. I'm guessing I didn't put the log command in the right place.

This is all getting too much of a headache for me at the moment, I'm going to go back to using runonceex, maybe I'll give it another shot in a few weeks. Some more documentation would be a great help, not only on how to write the xml but also general setup to make it all work. There is probably some other things I've not done.

Thanks for everyone trying to help me, sorry if my questions were a nuisance.

Link to comment
Share on other sites

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...