[wpkg-users] Fatal Error - Missing White-Space
beadlej
beadlejames at hotmail.com
Wed May 20 22:23:50 CEST 2009
Hi Rainer,
Thank you for the reply. I tried the '"' instead of the " " and it
didn't work either. :(
>Looks like WPKG terminates with an unexpected exception while parsing the
XML
>file. Might be an internal error of the MSXML parser.
How would I fix that?
How and where do I define variables in the xml files? I just saw it in the
wpkginst.exe file.
I completely understand what you mean with autoit. I work for an IT company
and sometimes wpkg just isn't an option, so I have to use autoit to quickly
install all the anti-spyware programs and cleaning tools. I would like to
investigate how to do what you are talking about with extracting or doing a
reference installation. I have never done that, but I would like to learn.
I really want to make this work as I love learning, but also see the benefit
of having everything auto-installed on everyone's computer :)
Here are the full xml files that I have:
------------------------------------------
Hosts.xml
<wpkg>
<host name="qen-support-l02" profile-id="standard"></host>
<!-- This one will match all hosts that were not matched before.
For more info on regexp matching, see the documentation on
http://wpkg.org/index.php/Regular_expression_support -->
<host name=".+" profile-id="standard"></host>
</wpkg>
---------------------------------------------
Profiles.xml
<profiles>
<profile id="standard">
</profile>
</profiles>
---------------------------------------------
Packages.xml
<packages>
<package
id="ccleaner"
name="CCleaner"
revision="1"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="CCleaner (remove only)" />
<install cmd='%SOFTWARE%\ccsetup219_slim.exe /S' />
<install cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
<install cmd='%COMSPEC% /c mkdir "%AllUsersProfile%\Start
Menu\Programs\CCleaner"' />
<install cmd='%COMSPEC% /c copy "%UserProfile%\Start
Menu\Programs\CCleaner\CCleaner.lnk" "%AllUsersProfile%\Start
Menu\Programs\CCleaner"' />
<install cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start
Menu\Programs\CCleaner"' />
<install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\CCleaner.lnk"' />
<upgrade cmd='%SOFTWARE%\ccsetup219_slim.exe /S' />
<upgrade cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
<upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start
Menu\Programs\CCleaner"' />
<upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\CCleaner.lnk"' />
<remove cmd='"%ProgramFiles%\CCleaner\uninst.exe" /S' />
<remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start
Menu\Programs\CCleaner"' />
</package>
</packages>
----------------------------------------------
Thanks again,
James
--
View this message in context: http://www.nabble.com/Fatal-Error---Missing-White-Space-tp23625221p23642825.html
Sent from the WPKG - Users mailing list archive at Nabble.com.
More information about the wpkg-users
mailing list