Hello,
i'm new here and hope i can find some help !
Currently i try to run via the following example command a batch file on the windows vm.
... vboxmanage guestcontrol win7 exec --image C:\<file> --user "x" --password "y" --wait-exit --wait-stdout --wait-stderr "parameter1"
the bat file is very simple and just mount a path, copies a file to a folder and msiexec a installation .msi
I tested the batch on the vm and it works fine, all things running normaly. But when i try to trigger the file from "outside" with the vboxmanage, it doesn't work correctly.
Mounting and copy is ok, but the installation is failure.
Does someone have any idea, why it's not working correctly ? Is it because of rights or missing privileges.
Thanks for any help or solutions.
Holger
[solved]running scripts on windows vm
[solved]running scripts on windows vm
Last edited by Holger_S on 29. Jan 2014, 12:41, edited 1 time in total.
Re: running scripts on windows vm
Solved it by myself, anyway thanks for reading 
Solution, run the msiexec in the bat as admin with msiexec /a "path" ....
Solution, run the msiexec in the bat as admin with msiexec /a "path" ....
Re: running scripts on windows vm
Okay, problem not solved...
Is it possible to install from outside via msiexec on a vm ?
I got often an error of invalid or missing rights, no matter if i run the console as admin.
Any help would be great !
Thanks a lot
Is it possible to install from outside via msiexec on a vm ?
I got often an error of invalid or missing rights, no matter if i run the console as admin.
Any help would be great !
Thanks a lot
Re: running scripts on windows vm
As i talk to my self very often...
now i found the solution.
It's because of the UAC, you have to lower it in the VM, then it's no problem to install.
Sorry for spam here, but now i'm finaly happy.
Thanks to everyone who have read this or may have helped me out.
now i found the solution.
It's because of the UAC, you have to lower it in the VM, then it's no problem to install.
Sorry for spam here, but now i'm finaly happy.
Thanks to everyone who have read this or may have helped me out.