MSFN Forum: invalid syntax error, help me plz - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

invalid syntax error, help me plz Rate Topic: -----

#1 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

  Posted 25 June 2004 - 10:28 PM

i need help, this is driving me nuts lol,

Xplode Log

Quote

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

Quote

<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 :)


#2 User is offline   Wraith 

  • Dr. Nick
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,256
  • Joined: 01-January 04

Posted 25 June 2004 - 10:51 PM

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.

#3 User is offline   gandalfgrey 

  • Junior
  • Pip
  • Group: Members
  • Posts: 50
  • Joined: 29-December 03

Posted 25 June 2004 - 11:05 PM

Quote

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


#4 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 25 June 2004 - 11:07 PM

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 :)

#5 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 25 June 2004 - 11:20 PM

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

ty :):

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

#6 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 June 2004 - 02:04 AM

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>


#7 User is offline   Wraith 

  • Dr. Nick
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,256
  • Joined: 01-January 04

Posted 26 June 2004 - 02:14 AM

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.

#8 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 June 2004 - 02:16 AM

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

nice program :)

#9 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 June 2004 - 02:18 AM

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

thanks

#10 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 June 2004 - 02:47 AM

can u tell me why programs still start?

ive attached my xml

it seems 2 lag a bit, i think thats probly why :S

Attached File(s)



#11 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 June 2004 - 03:08 AM

i think i finally got it, i noticed a few more "kinks"

:):

#12 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 June 2004 - 03:13 AM

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:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy