[wpkg-users] office 2013 package+ The parameter is incorrect
Marco Schmidt
schmidt at fgcz.ethz.ch
Wed Dec 16 06:23:37 CET 2015
Don't use the "start" command. WPKG is waiting for the command to end.
The "%comspec%" is only needed for the "start" command. If you remove
the "start" you can also remove the "%comspec%".
I think the wiki page about MS Office install should be updated (and
some others :-) ).
The content of "%EXE-SOURCE%" should not end with a "\".
As far as I know, the office setup needs an XML file with the /config
parameter in addition to the /adminfile.
Greetings ...
Marco
On 15.12.2015 17:12, Yanni wrote:
> Hello
>
> I've been trying to install Office2013 but something is not right in my
> syntax.
> Using the "debug" flag, I can see:
>
> Executing command: ' %comspec% /C start /WAIT %EXE-SOURCE%\setup.exe
> /adminfile %MSP-SOURCE%\myoffice2013.msp'
>
> (' C:\Windows\system32\cmd.exe /C start /WAIT
> \\IP\wpkg\soft\office13\\setup.exe /adminfile
> \\IP\wpkg\soft\office13\1customfile\myoffice2013.msp').
>
> Command ' %comspec% /C start /WAIT %EXE-SOURCE%\setup.exe /adminfile
> %MSP-SOURCE%\myoffice2013.msp'
>
> (' C:\Windows\system32\cmd.exe /C start /WAIT
> \\IP\wpkg\soft\office13\\setup.exe /adminfile
> \\IP\wpkg\soft\office13\1customfile\myoffice2013.msp') was unsuccessful.
> The parameter is incorrect.
>
> Here is my xml file which as far as I can see there are no syntax errors:
>
> <!---------------------------------office2013.xml------------------->
> <packages>
>
> <package id="office2013" name="Microsoft Office 2013"
> revision="2013" priotiy="1" reboot="false">
> <check type="uninstall" condition="exists" path="Microsoft
> Office Professional Plus 2013" />
> <variable name="exe-source" value="\\IP\wpkg\soft\office13\"/>
> <variable name="msp-source"
> value="\\IP\wpkg\soft\office13\1customfile"/>
>
> <install cmd= " %comspec% /C start /WAIT %EXE-SOURCE%\setup.exe
> /adminfile
> %MSP-SOURCE%\myoffice2013.msp"
> timeout="0"> </install>
>
> </package>
>
> </packages>
> <!------------------------------------------------------------------------->
>
>
> If you spot anything wrong please let me know because I'm stuck at the
> moment. Even if I copy/paste the package from WPKG website I still get
> the same error.
>
> Many thanks
> -------------------------------------------------------------------------
> SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)
> http://www.sslrack.com/
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list