[wpkg-users] Fatal Error - Missing White-Space
beadlej
beadlejames at hotmail.com
Wed May 20 22:03:30 CEST 2009
You are correct about cscript giving the error. Sorry I and still new at
this.
About the code, I too thought that it was odd that the log would not show
single quotes, but instead change the single quotes to double quotes. Here
is the 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>
I am unsure what <install cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
does.
How would I find out how to silently install something if google isn't
showing it? I have been racking my brains to figure this out. If I can do
everything with wpkg I would be thrilled. Malwarebytes is a great
anti-spyware program. Definitely recommend it.
Thanks again,
James Beadle
--
View this message in context: http://www.nabble.com/Fatal-Error---Missing-White-Space-tp23625221p23642471.html
Sent from the WPKG - Users mailing list archive at Nabble.com.
More information about the wpkg-users
mailing list