Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Xplode Syntax Error

- - - - -

  • Please log in to reply
7 replies to this topic

#1
hohner

hohner

    Junior

  • Member
  • Pip
  • 88 posts
  • Joined 08-March 05
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


How to remove advertisement from MSFN

#2
sebbe1991

sebbe1991

    Newbie

  • Member
  • 31 posts
  • Joined 01-December 04
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>


#3
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 511 posts
  • Joined 17-January 05
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>

CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#4
hohner

hohner

    Junior

  • Member
  • Pip
  • 88 posts
  • Joined 08-March 05
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.

#5
Nanaki

Nanaki

    Leg-humper

  • Member
  • PipPipPipPip
  • 511 posts
  • Joined 17-January 05
Sorry, not really an XML-expert. :D

Another log-file would be handy? ;)
CDswitch - Making CD/DVD-switching fun. / VMcleaner - Cleaning your virtual memory by killing unnecessary tasks
WinampUser - Silently install multiuser functionality for Winamp / OfficeExec - Installing Office at T-12/cmdlines.txt
Dropper - Changing file properties by drag-'n-dropping (not for unattended use)

#6
<SparTacuS>

<SparTacuS>

    I want to know . . . everything!

  • Member
  • PipPip
  • 206 posts
  • Joined 24-April 04
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.

#7
hohner

hohner

    Junior

  • Member
  • Pip
  • 88 posts
  • Joined 08-March 05
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?

#8
hohner

hohner

    Junior

  • Member
  • Pip
  • 88 posts
  • Joined 08-March 05
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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users