Quantcast
Channel: VMware Communities: Message List - VMware Fusion® (for Mac)
Viewing all articles
Browse latest Browse all 38932

Re: VMRun Command Line to run a Windows8 app with arguments inside a MacOS Fusion window

$
0
0

After reading the documentation on http://www.vmware.com/pdf/vix162_vmrun_command.pdf I have come up with the results below.

 

The vix162_vmrun_command.pdf is not the correct documentation for the product you're using, it's for an earlier version of the VMware products.  You should be using Using vmrun to Control Virtual Machines (vix112).

 

/Applications/VMware\ Fusion.app/Contents/Library/vmrun -T ws

 

You are passing the wrong parameter to the -T flag, it should be:  -T fusion

 

-activeWindow -noWait

 

So when I try to add the “-interactive” between "-activeWindow" and "-noWait" it throws an ERROR (even removing the other options causes the same effect):

 

Lets look at the syntax for the runProgramInGuest command:

 

<path to .vmx file> [ -noWait | -activeWindow | -interactive ] <program name> [ <program arguments> ]

 

While I haven't tested this nonetheless usually syntactically when there are square braces with pipe symbols separating the options it denotes any one of the options within that group can be used but only one.  Like I said, I haven tested however that's how I'd read the syntax of the command until I tested it.

 

     Error: The specified guest user does not match the user currently logged in interactively

 

If I try to use my OSX name/password I get the ERROR:


Error: Invalid user name or password for the guest OS

 

So what am I doing wrong? Where do I get this special password?

 

The -gu <user> -gp <pass> are that of an Account on the Guest not the Host.

 

or is vwrun even the best solution for this. If I can solve this it will open up a lot of possibilities in productive workflow.

 

vmrun is a nice utility however I really can't comment since your command line has generic placeholders in it.  Copy and paste the actual command line and of course you can use placeholders for -gu <user> -gp <pass> but everything else exactly as you've attempted to execute it.


Viewing all articles
Browse latest Browse all 38932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>