Ask Your Question
0

Invalid command line argument. Consult the windows Installer SDK for detailed command line help.

asked 2017-07-26 16:16:23 -0600

Mahender gravatar image

updated 2017-07-27 07:37:45 -0600

Hi Team,

Could you please help me out for the issue "Invalid command line argument. Consult the windows Installer SDK for detailed command line help"

When i'm trying to run the manifest, getting this issue in the windows installation for the msi file.

Could you please help me how to resolve this issue. googled few things but didn't help much and below is the manifest.

 package{"syncservice":
          ensure          => installed,
          provider        => "windows",
          source          => "C:\\Syncapp1\\SyncService\\SyncService.msi",
          install_options => [ '/i', '/qn', 'C:\Syncapp1\msilog.txt/l*v'],
          }
edit retag flag offensive close merge delete

Comments

formatted for you - best to put code in code block as easier for others to read

sahumphries gravatar imagesahumphries ( 2017-07-27 07:38:10 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-08-09 23:45:13 -0600

joshc gravatar image

The windows package provider already specifies /i and /qn when invoking msiexec.exe, see https://github.com/puppetlabs/puppet/.... Most likely msiexec.exe does not like the duplicate args. Check your install_options to:

install_options => ['C:\Syncapp1\msilog.txt/l*v'],
edit flag offensive delete link more
0

answered 2017-07-27 07:40:39 -0600

i suspect its the wildcard you have in your isntall_options line

edit flag offensive delete link more

Comments

Hi, It open's up a window pop -up and when I click that it will give this "Invalid command line argument. Consult the windows Installer SDK for detailed command line help". Can you please help me how to install this from not popping up the window. Thanks, Mahender

Mahender gravatar imageMahender ( 2017-07-27 16:11:59 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-26 16:16:23 -0600

Seen: 158 times

Last updated: Aug 09