pilou1988 Posted June 30, 2004 Posted June 30, 2004 I do my xplode.xml but i have some errors...first error : Attribut dupliqué. Erreur de traitement de la ressource file:///U:/Xplode/XPlode.xml. Ligne 134, Position 28 program='%systemdrive%\Install\nero\nerofr.exe'---------------------------^The second error was on ligne 159 program='regedit'I don't know how to do for stop this error look at my xplode.xml : <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> <strings> <!-- main XPlode string --> <title>Post-Install 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> <!-- shortcut plugin --> <shortcut>Adding shortcut: #1#</shortcut> </strings> </config> <items> <item display='Adding users and groups...'> <!-- note the different use of quotes due to the data held in them --> <adduser username='pilou' password='leboss' groups='Administrators' fullname='pilou' comment="Simply The Best!" /> <item display='Modif registre pour Pilou'> <!-- note the username and password - it will run under the user 'pilou', using the account password --> <execute display='Applique les tweaks...' program='regedit' arguments='/s "%SYSTEMDRIVE%\Install\registry.reg"' username='pilou' password='leboss' /> </item> <item display='Ajout de Raccourci'> <!-- Ca va ajouter un raccourci de Bloc Note --> <shortcut display='Bloc-Note' program='C:\WINDOWS\System32\Notepad.exe' workdir='C:\' link='C:\Notepad.lnk' /> </item> <item display='Ajout de raccourci(2)'> <!--Ca va ajouter un raccourci de l'explorateur--> <shortcut display='Explorateur' program='C:\WINDOWS\exploreur.exe' workdir='C:\' link='C:\explorer.lnk' /> </item> <item display='Applications'> <execute display='DirectX 9.0' command='execute' program='%systemdrive%\Install\DX9NTopk.exe' /> <execute display='WMP9' command='execute' program='%systemdrive%\Install\WMP9.exe' /> <execute display='MSN 6.2' command='execute' program='%systemdrive%\Install\Msn.msi' arguments='/QB' /> <execute display='Nero Burning Rom 6.3.1.6' command='execute' program='%systemdrive%\Install\nero\nero6316.exe' arguments='/silent /noreboot' program='%systemdrive%\Install\nero\nerofr.exe'< this ligne is invalid program='regedit' arguments='/S %systemdrive%\Install\nero\nero.reg' /> <execute display='K-lite Codecs Pack' command='execute' program='%systemdrive%\Install\codec.exe' arguments='/verysilent /COMPONENTS="divxdec,dvd,nompeg2,mp3audio,ac3audio,vsfilter,qtcodec,qtdirectshow,realcodec,realdirectshow" ' /> <execute display='BobDown' command='execute' program='%systemdrive%\Install\bob.exe' arguments='/S /D=c:\Program Files' /> <execute display='Flash Fxp' command='execute' program='%systemdrive%\Install\flash.exe' arguments='/silent' /> <execute display='Winrar' command='execute' program='%systemdrive%\Install\winrar.exe' arguments='/S' /> <execute display='Barre Google' command='execute' program='%systemdrive%\Install\GOOGLE\google.exe' arguments='/q /d' program='regedit' arguments='/S %systemdrive%\Install\google\google.reg' /> <execute display='Kerio' command='execute' program='%systemdrive%\Install\kerio\Setup.exe' arguments='-s f1\"%systemdrive\Install\kerio\setup.iss" ' /> <execute display='spybot' command='execute' program='%systemdrive%\Install\spybot.exe' arguments='/VERYSILENT /SP-' /> <execute display='winamp' command='execute' program='%systemdrive%\Install\winamp\winamp.exe' program='%systemdrive%\Install\winamp\patchfr.exe' arguments='/S /D="Program Files' /> <execute display='Java' command='execute' program='%systemdrive%\Install\java.exe' arguments='/s /v"/qn ADDLOCAL=jrecore IEXPLORER=1" ' /> <execute display='regcleaner' command='execute' program='%systemdrive%\Install\reg.exe' arguments='/S /d="C:\Program Files" ' /> <execute display='shockwave' command='execute' program='%systemdrive%\Install\shock.exe' arguments='/s /D="C:\Program Files" ' /> <item display='Hotfixes'> <execute display='Hotfixes' command='execute' program='%systemdrive%\Install\patchs.bat' />think you for your answer
Alanoll Posted June 30, 2004 Posted June 30, 2004 whenever you're using user and pass in the arguments of <execute> you need the full path to the program even regedit.so %systemroot%\system32\regedit.exe i believe, or just %systemroot$\regedit.exe <execute display='Nero Burning Rom 6.3.1.6' command='execute' program='%systemdrive%\Install\nero\nero6316.exe' arguments='/silent /noreboot' program='%systemdrive%\Install\nero\nerofr.exe'< this ligne is invalid program='regedit' arguments='/S %systemdrive%\Install\nero\nero.reg' />You can't have multiple progam per <execute> tag. Each needs it's own tag.
pilou1988 Posted June 30, 2004 Author Posted June 30, 2004 ok for regedit thanks ! I understand my error for the other question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now