Jump to content

invalid syntax error, help me plz


Recommended Posts

Posted

i need help, this is driving me nuts lol,

Xplode Log

-=-=-=-=-=-=-> XPlode start at: 04/06/26 12:22:58

XPlode {

  Loading Plugins (SDK2.0) {

    Load successful: C:\Documents and Settings\test\Desktop\xplode\XPlodeAdduserPlugin2.xpd2

    Load successful: C:\Documents and Settings\test\Desktop\xplode\XPlodeExamplePlugin2.xpd2

    Load successful: C:\Documents and Settings\test\Desktop\xplode\XPlodeExecutePlugin2.xpd2

    Load successful: C:\Documents and Settings\test\Desktop\xplode\XPlodeFSOpsPlugin2.xpd2

    Load successful: C:\Documents and Settings\test\Desktop\xplode\XPlodeRegistryPlugin2.xpd2

    Load successful: C:\Documents and Settings\test\Desktop\xplode\XPlodeShortcutPlugin2.xpd2

  }

  Registering commands {

    Command: addgroup, (0,1)

    Command: adduser, (0,0)

    Command: copy, (3,0)

    Command: delete, (3,2)

    Command: example, (1,0)

    Command: execute, (2,0)

    Command: move, (3,1)

    Command: registry, (4,0)

    Command: shortcut, (5,0)

  }

  Commandline Parameter: '/help:', Value: ''

  Commandline Parameter: '/xml:', Value: 'C:\Documents and Settings\test\Desktop\xplode\alternate.xml'

  Parsing XML: C:\Documents and Settings\test\Desktop\xplode\alternate.xml {

    Error opening XML file: C:\Documents and Settings\test\Desktop\xplode\alternate.xml

    Invalid XML syntax.

    Check UNICODE encoding?

  }

  Starting dialog {

  }

  Execution thread {

  }

-=-=-=-=-=-=-> XPlode end at: 04/06/26 12:22:58

My XML File
<XPlode>

<config>

  <hidewindow>Windows Update</hidewindow>

  <hidewindow>CMD.EXe</hidewindow>

  <show

total='6'

after='2'

subcount='true'

  />

 

  <!-- make antialiasing false if you're running GUIinstall mode -->

  <font

face='Tahoma'

antialias='false'

small='8'

large='12'

  />

 

  <!-- note the position attribute - it is listed in 'x,y' positions. -->

  <!-- 0..8 still may be used. -->

  <window

width='440'

position='8'

fixmain='0'

  />

 

  <!-- can be standalone, guitransparent, or guiredraw -->

  <!-- for the latter two, you don't need to specify background colours, or images. -->

  <windowmode

mode='standalone'

  />

  <colours>

<header

    back='#003399'

    fore='#FFFFFF'

    image='%XPLODE%\images\head.png'

/>

<footer

    back='#003399'

    fore='#FFFFFF'

    image='%XPLODE%\images\foot.png'

/>

<progress

    border='#FFFFFF'

    back='#00000000'

    fore='#FFFFFFAA'

    fore2='#00000033'

/>

<main

    back='#FF00FF'

    fore='#FFFFFF'

    current='#FFFF00'

    description='#FFFFFF'

    image='%XPLODE%\main.png'

    overlay='#FFFFFF22'

/>

  </colours>

            <item>

  <item display='Registry Tweaks'>

<execute

    display='Applying tweaks...'

    program='RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %XPLODE%Programs.inf'

    arguments=''

                                          />

            </item>

            </item>

</XPlode>

thanks for lookin :)


Posted

Save the file as unicode.

If the problem still exists, then I'll have a look at it.

The zip file on the server has a non-unicode XML in it, and if you've edited this file directly, it won't work.

Posted
...

  <item>

  <item display='Registry Tweaks'>

<execute

    display='Applying tweaks...'

    program='RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %XPLODE%Programs.inf'

    arguments=''

                                          />

            </item>

            </item>

...

try

<items>
  <item display='Registry Tweaks'>
    <execute
     display='Applying tweaks...'
     program='RunDll32.exe'
     arguments='setupapi,InstallHinfSection DefaultInstall 0 %XPLODE%Programs.inf'
     />
  </item>
</items>

Posted

i think ive fixed the problem, i was missing </config> lol, such stupid things take the longest :rolleyes: i was at this for like an hr lol

ill post back & let ya know how it turns out

thanks :)

Posted

ok, i got it 2 work, i used gandalfgrey's suggestion,

ty :):

1 item down, about 30more 2 go :rolleyes:

Posted

k, i need more help if u please :)

<XPlode>
<config>
 <hidewindow>Windows Update</hidewindow>
 <hidewindow>CMD.EXe</hidewindow>
 <show
  total='6'
  after='2'
  subcount='true'
 />
 
 <!-- make antialiasing false if you're running GUIinstall mode -->
 <font
  face='Tahoma'
  antialias='false'
  small='8'
  large='12'
 />
 
 <!-- note the position attribute - it is listed in 'x,y' positions. -->
 <!-- 0..8 still may be used. -->
 <window
  width='440'
  position='8'
  fixmain='0'
 />
 
 <!-- can be standalone, guitransparent, or guiredraw -->
 <!-- for the latter two, you don't need to specify background colours, or images. -->
 <windowmode
  mode='standalone'
 />
 <colours>
  <header
   back='#003399'
   fore='#FFFFFF'
   image='%XPLODE%\images\head.png'
  />
  <footer
   back='#003399'
   fore='#FFFFFF'
   image='%XPLODE%\images\foot.png'
  />
  <progress
   border='#FFFFFF'
   back='#00000000'
   fore='#FFFFFFAA'
   fore2='#00000033'
  />
  <main
   back='#446A99'
   fore='#FFFFFF'
   current='#A8C4D8'
   description='#FFFFFF'
   image='%XPLODE%\main.png'
   overlay='#FFFFFF22'
  />
 </colours>
    </config>
        <items>
 <item display='Applications'>
          <execute
            display='Adaware 6'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\Adaware6.exe'
            arguments='/silent'
          />
          <execute
            display='Spybot 1.3'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\spybotsd13.exe'
            arguments='/verysilent'
          />
          <execute
            display='Spyware Blaster 3.1'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\spywareblaster31.exe'
            arguments='/verysilent'
          />
          <execute
           display='Yahoo Messenger 6'
           command='execute' program='%SYSTEMDRIVE%\Install\Apps\yahoo_msgr_6.exe'
           arguments='/silent'
          />
          <execute
           display='Adobe Reader 6'
           command='execute'
           program='%SYSTEMDRIVE%\Install\Apps\AdobeReader\AdobeReader6.msi'
           arguments='/qn'
          />
          <execute
            display='Firefox 0.9'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\firefox09.exe'
            arguments='/S'
          />
          <execute
           display='PowerDVD'
           command='execute'
           program='%SYSTEMDRIVE%\Install\Apps\PowerDVD\Setup.exe'
           arguments='-s'
           />
          <execute
            display='Firefox Flash Plugin'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\FlashPlayer7Installer.exe'
            arguments='/S'
          />
          <execute
            display='Nod32'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\NOD32.exe'
            arguments=''
            />
          <execute
            display='LeechGet 20004'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\LeechGet2004.exe'
            arguments='/VERYSILENT /SP-'
            program='%SYSTEMDRIVE%\Install\Apps\LeechGet_browser_plugin.exe' < says this line is invalid  
            arguments='/VERYSILENT /SP-'
            program='%SYSTEMDRIVE%\Install\Apps\pskill.exe leechget'
            arguments=''
            />
          <execute
            display='Shareaza 2.0'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\Shareaza2.exe'
            arguments='/S'
           />
          <execute
            display='PowerArchiver 8.8'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\powerarc88.exe'
            arguments='/VERYSILENT /SP-'
           />
          <execute
            display='WinISO 5.3'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\WinISO53.exe'
            arguments='/VERYSILENT /SP-'
           />
          <execute
            display='WordWeb 3.1'
            command='execute' program='%SYSTEMDRIVE%\Install\Apps\WordWeb.exe'
            arguments=''
           />
          <execute
            display='CursorXP'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\CursorXP.exe'
            arguments=''
            />
          <execute
           display='Foobar2000 0.8.2'
           command='execute'
           program='%SYSTEMDRIVE%\Install\Apps\Foobar2000.exe'
           arguments=''
          />
          <execute
            display='PrintScreen 2.6'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\PrintScreen.exe'
            arguments=''
           />
          <execute
           display='IfranView 3.91'
           command='execute'
           program='%SYSTEMDRIVE%\Install\Apps\IfranView.exe'
           arguments=''
           />
          <execute display='Nero6'
           command='execute'
           program='%SYSTEMDRIVE%\Install\Apps\Nero6.exe'
           arguments=''
           />
          <execute display='Resource Tuner'
           command='execute'
           program='%SYSTEMDRIVE%\Install\Apps\ResTuner.exe'
           arguments='/VERYSILENT'
           program='%SYSTEMDRIVE%\Install\Apps\pskill.exe hh'
           arguments=''
          <execute display='OO Defrag Pro'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\OO_Defrag_Pro.msi'
            arguments='/QN'
           program='%SYSTEMDRIVE%\Install\Apps\pskill.exe oodag'
           arguments=''
           />
          <execute display='Setup Factory 6'
            command='execute'
            program='%SYSTEMDRIVE%\Install\Apps\SetupFactory6.exe'  
            arguments=''
            />
          <execute display='OpenOffice 1.1.2'
           command='execute' program='%SYSTEMDRIVE%\Install\Apps\OOo_1.1.2_Win32Intel_install\setup.exe'
           arguments='-r %SYSTEMDRIVE%\Install\Apps\OOo_1.1.2_Win32Intel_install\response.txt'>
           />
          <execute display='Kerio Personal Firewall 4.1'
            command='execute' program='%SYSTEMDRIVE%\Install\Apps\kerio-pf-4.1beta.exe'
            arguments='/s /v"/qn REBOOT=Suppress'
           />
</item>
            <item display='Registry Tweaks'>
            <execute
              display='Applying Tweaks…'
              program='RunDll32.exe'
              arguments='setupapi,InstallHinfSection DefaultInstall 0 %XPLODE%\Programs.inf'
             />
           </item>
     </items>
</XPlode>

Posted

You can't specify multiple programs per command. Split them up.

You will also have to look at the nowait="true" attribute for one of them - XPlode waits for a program to completely finish by default.

If you add the nowait attribute, it will execute the program, then go onto the next one.

Posted

ya, after posting it here, i figured out what was wrong lol, thanks for replying :rolleyes:

nice program :)

Posted

where can i find a list of commands supported by xplode, so im not posting back, making stupid mistakes :) lol

thanks

Posted

k, ive got it, everything installs perfect, except, the progress bar on the bottom doesnt move, any ideas why?

it only moves to the "half" when the second group of commands are activated. "tweaks"

is this normal?

thanks again :) im quite fond of this program now that its working for me :rolleyes:

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