[wpkg-users] office 2013 package+ The parameter is incorrect

Rainer Meier r.meier at wpkg.org
Tue Dec 15 19:09:28 CET 2015


I think you might have to correctly escape the backslashes:

<variable name="EXE-SOURCE" value="\\\\IP\\wpkg\\soft\\office13"/>
<variable name="MSP-SOURCE" value="\\\\IP\\wpkg\\soft\\office13\\1customfile"/>

You might also want to stick to either upper- or lowercase variable names as 
strictly speaking EXE-SOURCE is not equal to exe-source. I know Windows itself 
is lazy on this and it mgiht work but it's simply bad practice.

br,
Rainer


On 15.12.2015 18:55, Paul McGrath wrote:
> Hi,
>    Copy and paste the event log error
> Paul
>
> -----Original Message-----
> From: Yanni [mailto:y.goudetsidis at mail.cryst.bbk.ac.uk]
> Sent: 15 December 2015 16:38
> To: Paul McGrath <J.P.McGrath at leeds.ac.uk>; 'wpkg-users at lists.wpkg.org' <wpkg-users at lists.wpkg.org>
> Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
>
> Thanks Paul
>
> I removed the back-slash:
>
> It now looks like this:
>
>                                      <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>
>
> However I still get "The parameter is incorrect" error.
>
> I just executed the command directly from command prompt and it didn't complain, I got prompted to hit "Install" which I did and is installing office now but doesn't work when launching the command through wpkg.
>
>
>
>
> On 15/12/15 16:16, Paul McGrath wrote:
>> You have too many \
>>
>> EXE-SOURCE = \\IP\wpkg\soft\office13\
>> Then you add \setup.exe
>> Which = \\IP\wpkg\soft\office13\\setup.exe
>>
>> -----Original Message-----
>> From: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf
>> Of Yanni
>> Sent: 15 December 2015 16:12
>> To: wpkg-users at lists.wpkg.org
>> Subject: [wpkg-users] office 2013 package+ The parameter is incorrect
>>
>> 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
>
> -------------------------------------------------------------------------
> 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