MSFN Forum: XPLode Fails to Run - "Invalid XML Syntax" - MSFN Forum

Jump to content



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

XPLode Fails to Run - "Invalid XML Syntax" Rate Topic: -----

#1 User is offline   mmarable 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 377
  • Joined: 01-November 03

Posted 28 April 2004 - 01:56 PM

I get the error in the XPLode log file below. This is straight from the ZIP file, both the 1.1.2 and the 1.1.0 releases.

I just uncompressed them, and ran the "run_with_logging.bat" batch file.

Any ideas?

thanks

-=-=-=-=-=-=-> XPlode start at: 04/04/28 15:49:25
XPlode {
  Loading Plugins (SDK2.0) {
    Load successful: C:\XPlode\XPlodeAdduserPlugin2.xpd2
    Load successful: C:\XPlode\XPlodeExamplePlugin2.xpd2
    Load successful: C:\XPlode\XPlodeExecutePlugin2.xpd2
    Load successful: C:\XPlode\XPlodeFSOpsPlugin2.xpd2
    Load successful: C:\XPlode\XPlodeRegistryPlugin2.xpd2
    Load successful: C:\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:\XPlode\XPlode.xml'
  Parsing XML: C:\XPlode\XPlode.xml {
    Error opening XML file: C:\XPlode\XPlode.xml
    Invalid XML syntax.
    Check UNICODE encoding?
  }
  Starting dialog {
  }
  Execution thread {
  }
-=-=-=-=-=-=-> XPlode end at: 04/04/28 15:49:25


Like I said, this is straight out of the ZIP file. I haven't even begun to try and edit the XPLode.XML file.


#2 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 28 April 2004 - 01:58 PM

wierd....

Basically, there is soemthing wrong with the XML file.

Open it in Notepad, and go to Save AS, and under Encoding select Unicode. Then open it in IE and see if it reports any problems, if it doesn't it should just display the entire XML file.

#3 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 28 April 2004 - 02:54 PM

Yeah the XPlode.xml that comes with the package (v1.1.2) is in DOS format, not in unicode!!! :)

#4 User is offline   SlimShady 

  • Member
  • PipPip
  • Group: Members
  • Posts: 133
  • Joined: 29-November 03

Posted 28 April 2004 - 03:18 PM

big_gie, on Apr 28 2004, 10:54 PM, said:

Yeah the XPlode.xml that comes with the package (v1.1.2) is in DOS format, not in unicode!!! :rolleyes:

:) , we're all human. Human make mistakes.

#5 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 28 April 2004 - 05:07 PM

Of course :)

I just upgraded from v1.00 and it works nice. Thanks Wraith! Keep up the good work!

#6 User is offline   Virindi 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 31-March 04

Posted 24 May 2004 - 02:42 PM

One thing I noticed last night after playing around with XPlode (v1.0.5; haven't tried the current version yet) is that if you forget to close an XML statement, it has the same generic error... such as:

Error opening XML file: C:\XPlode\XPlode.xml
Invalid XML syntax.
Check UNICODE encoding?

Is there a way for the XPlode engine to parse through and make sure all <statement> have a closing </statement> ? I noticed my mistake after about 5 minutes of looking through the (very long) XML file I had made, but anyway.. hehe.

Xplode is awesome, btw. Thank you.

-J

#7 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 24 May 2004 - 02:55 PM

a simpler way to check for closing statements, would be just to open it in Internet Explorer. It will tell you if you forgot to close something.

#8 User is offline   mociloc 

  • Group: Members
  • Posts: 4
  • Joined: 02-June 04

Posted 02 June 2004 - 07:10 AM

HI,

i am new here :)

I have read most oft the xplode posts but i am not able to get it working.

I have done following things yet, btw i am german, sry for mistakes :rolleyes: :

1. Slipstreamed the SP1 into XP and reduced it with nlite. ~180MB now
2. Build my own winnt.sif for unattended Setup
3. Made my own $OEM$ Folder with subfolders.
4. Put the setup exe files, Drivers etc. in the DIRs
5. Put the xplode files into C:\XPCD\$OEM$\$1\Install
6. edited the xplode.xml file with my files which i want to install

The unattended setup works good, no errors.
I used the install.cmd to install my programms, that worked great too.
But now i want to switch from that .cmd "way" to the xplode "way"

here is my winnt.sif

;SetupMgrTag
[SetupParams]
    UserExecute="%SYSTEMDRIVE%\Install\Xplode.exe /log:%SYSTEMDRIVE%\xplode.log"

[Data]
    AutoPartition=1
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    Unattendswitch=yes
    TargetPath=\WINDOWS

 OemPnPDriversPath="Drivers\000_WinXP_0_chipsatzF;Drivers\000_WinXP_0_chipsatz_2k3;Drivers\000_WinXP_0_IDE;Drivers\000_WinXP_AGP;Drivers\002_WinXP2k_ati_inf;Drivers\003_sound;Drivers\004_netzwerk"
DriverSigningPolicy=Ignore	

[GuiUnattended]
    AdminPassword=ebfda92fd336b54aaad3b435b51404ee7388d9e3cdb986a53624d4c68e3f9bdc
    EncryptedAdminPassword=Yes
    OEMSkipRegional=1
    TimeZone=110
    OemSkipWelcome=1

[UserData]
    ProductKey=;)
    FullName="-"
    OrgName="-"
    ComputerName=wakue

[TapiLocation]
    CountryCode=49

[RegionalSettings]
    LanguageGroup=1
    Language=00000407

[Identification]
    JoinWorkgroup=Arbeitsgruppe

[Networking]
    InstallDefaultComponents=Yes

[Shell]
;  CustomDefaultThemeFile="%systemroot%\Resources\Themes\Slate.theme"
  DefaultStartPanelOff=yes  
  DefaultThemesOff=yes
    


here my xplode.xml

<?xml version="1.0" encoding="unicode" ?>
<XPlode>
    <config>
        <hidewindow>Windows Update</hidewindow>
        <hidewindow>CMD.EXe</hidewindow>
        <show total='6' after='2' subcount='true' />
        <!-- turn antialiasing OFF 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' />
        <windowmode mode='guitransparent' />
        <!-- can be standalone, guitransparent, or guiredraw -->
        <!-- for the latter two, you don't need to specify background colours, or images. -->
        <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%\main2.png' overlay='#FFFFFF22'/>
        </colours>
        <strings>
            <!-- main XPlode string -->
            <title>Post-Setup Installationen</title>
            <complete>Fertig</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>
            <!-- shortcut plugin -->
            <shortcut>Adding shortcut: #1#</shortcut>
        </strings>
    </config>
    <item display='blah'>
        <example 
    display='Applying tweaks...' 
    program='%SYSTEMROOT%\regedit.exe' 
    arguments='/s "%XPLODE%\regtest.reg"'
    username='Spike'
    password='swordfish'
    />
    </item>
    <item display='Adobe Reader 6'>
        <execute display='Installiere Adobe Reader 6...'            program='#Sourcedrive#\install\Anwendungen\AdobeReader6\Adober601.msi -p"-s /v\"/qn\""' />
    </item>
    <item display='Diskeeper 8 Server Edition'>
        <execute display='Installiere Diskeeper 8 Server Edition...' program='#Sourcedrive#\install\Anwendungen\Diskeeper\setup.exe /s /v/qn' />
    </item>
    <item display='Java VM'>
        <execute display='Update Java VM...'           program='#Sourcedrive#\install\Anwendungen\JavaVM\MSJavx86_3810update.exe /Q:A /R:N' />
    </item>
    <item display='MSN Messenger 6.2'>
        <execute display='Installiere MSN Messenger 6.2...'         program='#Sourcedrive#\install\Anwendungen\MSN62\MsnMsgs.msi /QB' />
    </item>
    <item display='Nero 6.3 Ultra Edition'>
        <execute display='Installiere Nero 6.3 Ultra Edition...'    program='#Sourcedrive#\install\Anwendungen\Nero63\Nero63.exe /silent /noreboot' />
    </item>
    <item display='Nero 6.3 Ultra Edition Registrierung'>
        <execute display='Installiere Nero 6.3 Ultra Edition...'    program='/S #Sourcedrive#\install\Anwendungen\Nero63\register.reg'/>
    </item>
    <item display='Winrar 3.11'>
        <execute display='Installiere Winrar 3.11...'               program='#Sourcedrive#\install\Anwendungen\winrar\winrar311.exe /s' />
    </item>
</XPlode>
                
            
      


the folders on my xp cd or the following:

C:\XPCD\I386\...\
C:\XPCD\$OEM$\$1\Drivers\000_chipsatz..\ etc.
C:\XPCD\$OEM$\$1\Install\Anwendungen\winrar...\ etc
C:\XPCD\$OEM$\$$\System32
C:\XPCD\$OEM$\$Docs
C:\XPCD\$OEM$\$Progs

After the installation hast finished an windows is running, the drivers and install folders are located at c:\
I do not want them to be there. I only want to install the programms like i did it with the install.cmd .

i have attached my xplode.log

Hmm, i am not totally stupid to build something, but i dot know where my mistakes are. Somebody has an idea?

chris

Attached File(s)


This post has been edited by mociloc: 02 June 2004 - 07:21 AM


#9 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 02 June 2004 - 08:31 AM

first you're missing the <items> tag in your xml just before the very first <item>


second....

Quote

After the installation hast finished an windows is running, the drivers and install folders are located at c:\
I do not want them to be there. I only want to install the programms like i did it with the install.cmd .


What do you mean? You want them deleted after XPlode does it's thing?

#10 User is offline   mociloc 

  • Group: Members
  • Posts: 4
  • Joined: 02-June 04

Posted 02 June 2004 - 08:38 AM

Hmm yes. Is that normal that xplode copies the folders to the HDD?

If yes, yes i would xplode to delete the folders after setup has finished.

I want xplode to install all additional Programms direct from the Installation CD and not after copying the files on the HDD. Is that possible?

i fixed the </items< tag. texting now

#11 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 02 June 2004 - 08:55 AM

actually you have XP SETUP copying the files over.

#Sourcedrive# = The drive XP SETUP is installing from. So you folders should be %XPCD%\install

Quote

C:\XPCD\$OEM$\$1\Drivers\000_chipsatz..\ etc.
C:\XPCD\$OEM$\$1\Install\Anwendungen\winrar...\ etc
C:\XPCD\$OEM$\$$\System32
C:\XPCD\$OEM$\$Docs
C:\XPCD\$OEM$\$Progs
That is what's copying it all over. So if that were the case, then your XML paths are wrong. They should have %systemdrive% not %sourcedrive%

If it were

Quote

C:\XPCD\$OEM$\$1\Drivers\000_chipsatz..\ etc.
C:\XPCD\Install\Anwendungen\winrar...\ etc
C:\XPCD\$OEM$\$$\System32
C:\XPCD\$OEM$\$Docs
C:\XPCD\$OEM$\$Progs


then it would work, however you'll still need the XPLODE files in $1 for it to run.

#12 User is offline   mociloc 

  • Group: Members
  • Posts: 4
  • Joined: 02-June 04

Posted 02 June 2004 - 09:16 AM

ok.. i think i am getting it to work step by step.
the log was ok so far, the only error that occured was that the setup.exe files were not found.
So i think the problem was in the xml file. I fixed that.

testing now

thx for helping so far!!!

while watching the installation in vmware i have another question.

i read about the office silent installation, i tryed all and it worked fine.
But the Problem ist, that the ISO with integrated O2003 is ~925MB big.
Is there a possebility to reduce the (german) O2003 administrative installation?
So WinXP incl. Office and all the other Tools would fit on 1 CD. I know about splitting it on two CD but that is not my target.
I only need word, excel, frontpage and powerpoint. No Cliparts etc.
i have not found a menupoint where i can select/deselect the O2003 parts.
I have read some posts here but have not found a sollution.

edit:

ok, windows is running. xplode ist working but i still get this error in the Execution treath: Error running command: 'execute' - error reported by plugin (file not found)

so i think there must be an error in my cd paths.

i attached the new log with the error

Attached File(s)



#13 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 02 June 2004 - 02:26 PM

it looks like all your paths are wrong.

is you XML file the same except for teh <items> tag?

File not found is not XPlode error, but rather user error. Fix the paths.

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