Discussion:
[wpkg-users] office 2013 package+ The parameter is incorrect
Yanni
2015-12-15 16:12:18 UTC
Permalink
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/
Paul McGrath
2015-12-15 16:16:34 UTC
Permalink
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-***@lists.wpkg.org] On Behalf Of Yanni
Sent: 15 December 2015 16:12
To: wpkg-***@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-***@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/
Yanni
2015-12-15 16:37:51 UTC
Permalink
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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Sent: 15 December 2015 16:12
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.
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.
<!---------------------------------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
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/
Paul McGrath
2015-12-15 17:55:02 UTC
Permalink
Hi,
Copy and paste the event log error
Paul

-----Original Message-----
From: Yanni [mailto:***@mail.cryst.bbk.ac.uk]
Sent: 15 December 2015 16:38
To: Paul McGrath <***@leeds.ac.uk>; 'wpkg-***@lists.wpkg.org' <wpkg-***@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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Sent: 15 December 2015 16:12
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.
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.
<!---------------------------------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
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/
Rainer Meier
2015-12-15 18:09:28 UTC
Permalink
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
Post by Paul McGrath
Hi,
Copy and paste the event log error
Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Sent: 15 December 2015 16:12
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.
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.
<!---------------------------------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
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
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/
Yanni
2015-12-16 10:12:58 UTC
Permalink
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
Post by Rainer Meier
<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
Post by Paul McGrath
Hi,
Copy and paste the event log error
Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Sent: 15 December 2015 16:12
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.
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.
<!---------------------------------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
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
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/
Marco Schmidt
2015-12-16 11:50:40 UTC
Permalink
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
Post by Yanni
Hi Rainer, Paul
I changed the variables to lower case and escaped the backslashes the
way Rainer suggested but
------------------------------------------------------------------------------
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'
Post Install
'name='fresh',profile-id='Post Install''
'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
'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]
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.
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."').
--------------------------------------------------------
<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
Post by Rainer Meier
<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
Post by Paul McGrath
Hi,
Copy and paste the event log error
Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Sent: 15 December 2015 16:12
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.
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.
<!---------------------------------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
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
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
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/
Chris Johnson
2015-12-16 12:05:31 UTC
Permalink
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


-------------------------------------------------------------------------
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/
Marco Schmidt
2015-12-16 05:23:37 UTC
Permalink
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
Post by Yanni
Hello
I've been trying to install Office2013 but something is not right in my
syntax.
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.
<!---------------------------------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
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/
Marco Schmidt
2015-12-16 08:45:10 UTC
Permalink
I forgot to mention:

Don't forget the quotes around the strings where variables are used.
Otherwise everything will break, if you change the content of the
variable to something with space inside.

Spaces in filename and filepathes are common under Windows.

For example:
<install cmd='"%EXE-SOURCE%\setup.exe" /adminfile
"%MSP-SOURCE%\myoffice2013.msp"' />

Greetings ...
Marco
Post by Marco Schmidt
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
Post by Yanni
Hello
I've been trying to install Office2013 but something is not right in my
syntax.
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.
<!---------------------------------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
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/
Yanni
2015-12-17 14:39:14 UTC
Permalink
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
Send wpkg-users mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
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
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
Post by Yanni
Hi Rainer, Paul
I changed the variables to lower case and escaped the backslashes the
way Rainer suggested but
------------------------------------------------------------------------------
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'
Post Install
'name='fresh',profile-id='Post Install''
'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
'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]
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.
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."').
--------------------------------------------------------
<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
Post by Rainer Meier
<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
Post by Paul McGrath
Hi,
Copy and paste the event log error
Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Of Yanni
Sent: 15 December 2015 16:12
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.
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
<!---------------------------------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
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
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
Message: 2
Date: Wed, 16 Dec 2015 12:05:31 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
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/
Paul McGrath
2015-12-17 15:13:27 UTC
Permalink
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-***@lists.wpkg.org] On Behalf Of Yanni
Sent: 17 December 2015 14:39
To: wpkg-***@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
Send wpkg-users mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
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
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
Post by Yanni
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 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.
\\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'
Post Install
'name='fresh',profile-id='Post Install''
'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
'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
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).
'%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.
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."').
--------------------------------------------------------
<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
Post by Rainer Meier
<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
Hi,
Copy and paste the event log error Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\ Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Behalf Of Yanni
Sent: 15 December 2015 16:12
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.
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
<!---------------------------------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
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
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
Message: 2
Date: Wed, 16 Dec 2015 12:05:31 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
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-***@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/
Holger Kröber
2015-12-17 15:18:20 UTC
Permalink
i guess he already tried to run the command manually without wpkg,
right? if not, well..... :P

Regards,
Holger
Post by 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-----
Sent: 17 December 2015 14:39
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.
<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
Send wpkg-users mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
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
Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
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
Post by Yanni
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 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.
\\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'
Post Install
'name='fresh',profile-id='Post Install''
'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
'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
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).
'%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.
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."').
--------------------------------------------------------
<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
Post by Rainer Meier
<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
Hi,
Copy and paste the event log error Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\ Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Sent: 15 December 2015 16:12
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.
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
<!---------------------------------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
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
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
Message: 2
Date: Wed, 16 Dec 2015 12:05:31 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is incorrect
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
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
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
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/
Yanni
2015-12-17 15:35:45 UTC
Permalink
OK it works now but I wish I knew why.

All I did was to re-create the XML file which now looks like this:

-------------------

<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\setup.exe"/>
<variable name="msp-source" value="\\IP\wpkg\soft\office13\1customfile"/>

<install cmd= " %exe-source% /adminfile %msp-source%\myoffice2013.msp" timeout="0">
</install>

</package>

</packages>
------------------


As you can see not much changed apart from including the "setup.exe" in the "exe-source" variable so I really don't know what was wrong.


Thank you for your help.
Send wpkg-users mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
1. Re: office 2013 package+ The parameter is incorrect (Yanni)
2. Re: office 2013 package+ The parameter is incorrect (Paul McGrath)
----------------------------------------------------------------------
Message: 1
Date: Thu, 17 Dec 2015 14:39:14 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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.
<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
Send wpkg-users mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
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
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
Post by Yanni
Hi Rainer, Paul
I changed the variables to lower case and escaped the backslashes the
way Rainer suggested but
------------------------------------------------------------------------------
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'
Post Install
'name='fresh',profile-id='Post Install''
'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
'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]
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.
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."').
--------------------------------------------------------
<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
Post by Rainer Meier
<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
Post by Paul McGrath
Hi,
Copy and paste the event log error
Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\
Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Of Yanni
Sent: 15 December 2015 16:12
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.
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
<!---------------------------------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
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
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
Message: 2
Date: Wed, 16 Dec 2015 12:05:31 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
End of wpkg-users Digest, Vol 98, Issue 9
*****************************************
------------------------------
Message: 2
Date: Thu, 17 Dec 2015 15:13:27 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
Content-Type: text/plain; charset="us-ascii"
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-----
Sent: 17 December 2015 14:39
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.
<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
Send wpkg-users mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
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
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
Post by Yanni
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 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.
\\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'
Post Install
'name='fresh',profile-id='Post Install''
'C:\Users\7admin\AppData\Local\Temp\wpkg-fresh.log' in replace mode.
'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
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).
'%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.
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."').
--------------------------------------------------------
<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
Post by Rainer Meier
<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
Post by Paul McGrath
Hi,
Copy and paste the event log error Paul
-----Original Message-----
Sent: 15 December 2015 16:38
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
Thanks Paul
<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.
Post by Paul McGrath
You have too many \
EXE-SOURCE = \\IP\wpkg\soft\office13\ Then you add \setup.exe
Which = \\IP\wpkg\soft\office13\\setup.exe
-----Original Message-----
Behalf Of Yanni
Sent: 15 December 2015 16:12
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.
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
<!---------------------------------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
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
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
Message: 2
Date: Wed, 16 Dec 2015 12:05:31 +0000
Subject: Re: [wpkg-users] office 2013 package+ The parameter is
incorrect
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
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
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
Subject: Digest Footer
_______________________________________________
wpkg-users mailing list
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
End of wpkg-users Digest, Vol 98, Issue 10
******************************************
-------------------------------------------------------------------------
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/
Loading...