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

Holger Kröber kroeber at biom.uni-freiburg.de
Thu Dec 17 16:18:20 CET 2015


i guess he already tried to run the command manually without wpkg, 
right? if not, well..... :P

Regards,
Holger

Am 17.12.2015 um 16:13 schrieb Paul McGrath:
> Maybe your admin file is corrupt.  Create it again.  This is a good link for how to create the admin file
> http://www.ronnipedersen.com/2012/11/how-to-deploying-microsoft-office-2013-using-configmgr-2012/
>
>
> -----Original Message-----
> From: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Yanni
> Sent: 17 December 2015 14:39
> To: wpkg-users at lists.wpkg.org
> Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
>
> No particular reason for running cmd and start together. I was just following other people's package syntax.
> Running the setup.exe command on it's own still complains about a parameter being incorrect.
>
> I then tried running (through WPKG) only the first bit omitting the /adminfile bit, like this:
>
>
> <install cmd= "%exe-source%\setup.exe" timeout="0">
>
> and it worked.
>
> So it looks like it doesn't like the second bit of the syntax: /adminfile %msp-source%\myoffice2013.msp
>
> If you have anymore suggestions please let me know.
>
> Thank you
>
> On 17/12/15 11:00, wpkg-users-request at lists.wpkg.org wrote:
>> Send wpkg-users mailing list submissions to
>> 	wpkg-users at lists.wpkg.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://lists.wpkg.org/mailman/listinfo/wpkg-users
>> or, via email, send a message with subject or body 'help' to
>> 	wpkg-users-request at lists.wpkg.org
>>
>> You can reach the person managing the list at
>> 	wpkg-users-owner at lists.wpkg.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of wpkg-users digest..."
>>
>>
>> Today's Topics:
>>
>>      1. Re: office 2013 package+ The parameter is incorrect
>>         (Marco Schmidt)
>>      2. Re: office 2013 package+ The parameter is incorrect
>>         (Chris Johnson)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 16 Dec 2015 12:50:40 +0100
>> From: Marco Schmidt <schmidt at fgcz.ethz.ch>
>> To: <wpkg-users at lists.wpkg.org>
>> Subject: Re: [wpkg-users] office 2013 package+ The parameter is
>> 	incorrect
>> Message-ID: <56715010.7020601 at fgcz.ethz.ch>
>> Content-Type: text/plain; charset="windows-1252"
>>
>> Under Windows you do not need to escape backslashes !!
>> And Windows is NOT case sensitive.
>>
>> WPKG is case sensitive in the "check uninstall path string", but this
>> is not a topic here, I just want to mention it.
>>
>> Greetings ...
>>    Marco
>>
>>
>> On 16.12.2015 11:12, Yanni wrote:
>>> Hi Rainer, Paul
>>>
>>> I changed the variables to lower case and escaped the backslashes the
>>> way Rainer suggested but no luck. When you can please see my debug
>>> log file below:
>>>
>>> ---------------------------------------------------------------------
>>> ---------
>>>
>>> Log level is 255
>>> Reading host XML files.
>>> WPKG base path: \\IP\wpkg
>>> Trying to read XML files from directory: \\IP\wpkg\hosts Reading XML
>>> file: //IP/wpkg/hosts.xml Found 1 host entries.
>>> Reading profile XML files.
>>> WPKG base path: \\IP\wpkg
>>> Trying to read XML files from directory: \\IP\wpkg\profiles Reading
>>> XML file: //IP/wpkg/profiles.xml Found 1 profile entries.
>>> Reading package XML files.
>>> WPKG base path: \\IP\wpkg
>>> Trying to read XML files from directory: \\IP\wpkg\packages Reading
>>> XML file: //IP/wpkg/packages/office2013.xml Found 8 package entries.
>>> Reading settings file: C:\Windows\System32\wpkg.xml WPKG base path:
>>> \\IP\wpkg Reading XML file: C:/Windows/System32/wpkg.xml Host
>>> operating system: microsoft windows 7 professional, , sp1, 6.1.7601
>>> Found network service: {ECB4C6C0-13E4-4951-BF1C-DA6D09E32BAA}
>>> Reading fixed IP address(es).
>>> Found fixed IP address: IP
>>> Not a domain member.
>>> Message: Unable to fetch computer membership groups. Probably not a
>>> domain member.
>>> Found user locale: 809
>>> Found system locale: 409
>>> Host properties: hostname='fresh'
>>> architecture='x86'
>>> os='microsoft windows 7 professional, , sp1, 6.1.7601'
>>> ipaddresses='IP'
>>> domain name=''
>>> groups=''
>>> lcid='809'
>>> lcidOS='409'
>>> Profiles applying to the current host:
>>> Post Install
>>>
>>> Hosts file contains 1 hosts:
>>> 'name='fresh',profile-id='Post Install''
>>> Initializing new log file:
>>> 'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
>>> Settings file contains 0 packages:
>>> Packages file contains 1 packages:
>>> 'office2013'
>>> Profile file contains 1 profiles: 'Post Install'
>>> Using profile(s): 'Post Install'
>>> Getting profiles which apply to this node.
>>> Applying profile: Post Install
>>> Reading variables from hosts[s]
>>> Reading variables from host: name='fresh',profile-id='Post Install'
>>> Adding package with ID 'office2013' to profile packages.
>>> Found package node 'Microsoft Office 2013' (office2013) in package
>>> database.
>>> Synchronizing. Number of packages referenced by profile: 1.
>>> Evaluating packages to be removed.
>>> Number of packages to remove: 0
>>> Going to install package 'Microsoft Office 2013' (office2013),
>>> Revision 2013, (execute flag is '', notify flag is 'true').
>>> Package 'Microsoft Office 2013' (office2013): Not yet processed
>>> during this session.
>>> Package 'Microsoft Office 2013' (office2013): Not in local package
>>> database; Marking for installation.
>>> Package 'Microsoft Office 2013' (office2013): Prepared for installation.
>>> Checking existence of package: Microsoft Office 2013 Reading
>>> variables from package 'Microsoft Office 2013'.
>>> Got variable 'exe-source' of value '\\\\IP\\wpkg\\soft\\office13'
>>> Got variable 'msp-source' of value
>>> '\\\\IP\\wpkg\\soft\\office13\\1customfile'
>>> Reading variables from profile[s]
>>> Getting profiles which apply to this node.
>>> Reading variables from profile Post Install Reading variables from
>>> hosts[s] Uninstall entry for Microsoft Office Professional Plus 2013
>>> missing:
>>> test failed.
>>> Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.
>>> Saving XML : C:\Windows\System32\wpkg.xml Package 'Microsoft Office
>>> 2013' (office2013): Not installed (checks failed). Preparing
>>> installation.
>>> Installation of references (dependencies) for 'Microsoft Office 2013'
>>> (office2013) successfully finished.
>>> Installing 'Microsoft Office 2013' (office2013)...
>>> Reading variables from package 'Microsoft Office 2013'.
>>> Got variable 'exe-source' of value '\\\\IP\\wpkg\\soft\\office13'
>>> Got variable 'msp-source' of value
>>> '\\\\IP\\wpkg\\soft\\office13\\1customfile'
>>> Reading variables from profile[s]
>>> Reading variables from hosts[s]
>>> Install type: install
>>> Fetched 1 install command(s).
>>> Found language definition node for language ID 809 Executing command:
>>> '%SystemRoot%\System32\msg.exe * /TIME:10 "Automatic software
>>> deployment is currently updating your system. Please save all your
>>> documents as the the system might reboot without further notice.
>>> Thank you."' ('C:\Windows\System32\msg.exe * /TIME:10 "Automatic
>>> software deployment is currently updating your system. Please save
>>> all your documents as the the system might reboot without further notice.
>>> Thank you."').
>>> 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.
>>>
>>> Could not process (install) package 'Microsoft Office 2013' (office2013):
>>> Exit code returned non-successful value (-1) on command ' %comspec%
>>> /C start /WAIT  %exe-source%\setup.exe /adminfile
>>> %msp-source%\myoffice2013.msp'.
>>> Cleaning up temporary downloaded files Restoring previous
>>> environment.
>>> Executing command: '%SystemRoot%\System32\msg.exe * /TIME:10 "The
>>> automated software installation utility has completed installing or
>>> updating software on your system. No reboot was necessary. All
>>> updates are complete."' ('C:\Windows\System32\msg.exe * /TIME:10 "The
>>> automated software installation utility has completed installing or
>>> updating software on your system. No reboot was necessary. All
>>> updates are complete."').
>>> --------------------------------------------------------
>>>
>>> My xml file is simple and it looks like this now:
>>>
>>>
>>> <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>
>>> ------------------------------------------------------------
>>>
>>> Thank you
>>>
>>>
>>> On 15/12/15 18:09, Rainer Meier wrote:
>>>> 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
>>>>>
>>> ---------------------------------------------------------------------
>>> ---- 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
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 16 Dec 2015 12:05:31 +0000
>> From: Chris Johnson <cjohnson at welfarecall.com>
>> To: "'wpkg-users at lists.wpkg.org'" <wpkg-users at lists.wpkg.org>
>> Subject: Re: [wpkg-users] office 2013 package+ The parameter is
>> 	incorrect
>> Message-ID:
>> 	
>> <9FBEACA9F7021C4F9272B1C0357038FC01E93ABE227B at EXCMAILSERVER.welfarecal
>> l.com>
>> 	
>> Content-Type: text/plain; charset="us-ascii"
>>
>>
>> Any reason why you're running cmd and start as part of your installation command? Can't you just run the setup.exe command on its own?
>>
>> <install cmd= " %comspec% /C start /WAIT  %exe-source%\setup.exe /adminfile %msp-source%\myoffice2013.msp"   timeout="0">
>>
>> becomes
>>
>> <install cmd= "%exe-source%\setup.exe /adminfile %msp-source%\myoffice2013.msp"   timeout="0">
>>
>> That's where I'd start. Then you can see if the "incorrect parameter" is for cmd, for start or for the setup.exe. Helps narrow it down.
>>
>> C
>>
>>
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> wpkg-users mailing list
>> wpkg-users at lists.wpkg.org
>> https://lists.wpkg.org/mailman/listinfo/wpkg-users
>>
>>
>> ------------------------------
>>
>> End of wpkg-users Digest, Vol 98, Issue 9
>> *****************************************
> -------------------------------------------------------------------------
> 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