Jump to content
Sign in to follow this  
PRM

How to execute automation process for installation in background?

Recommended Posts

PRM

I have two virtual machine's and i want my auto-installation to be happen automatically in background,

even if i minimize that particular VM, it should complete installation.

How to do this?

If I keep my VM on then automation process works smoothly but advantages provided by this method are less.

If i ll able to work on another VM while installation is happening on other virtual machine then that is more efficient.

Share this post


Link to post
Share on other sites
Xenobiologist

What do you exactly do? How does your script look like?


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
PRM

I have done automation of installation process like using ControlClick() and MouseClick().

Now if I remain on same VM the installation process completes successfully but if I move to other VM

while auto installation going on then it haults that step at which I left that VM.

I want that even if i leave that VM it should complete installation process.

Share this post


Link to post
Share on other sites
Xenobiologist

Are you sure that there is still a "Desktop/window" for Autoit?

What do you mean by leaving the VM? The VM still runs in the background?

Autoit commands like MouseClick need the window to work. Only Control... commands really do work on minimized/hidden windows and so on.


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
PRM

Yes right leaving window is minimizing it....

Is there any way to automate this in background?

i have used MouseMove(),MouseClick and ControlClick()..

Is it possible in my case?

Share this post


Link to post
Share on other sites
Xenobiologist

No, your MouseMove commands will fail on a minimized window. You need to use Control.... commands instead.

Even better would be (if possible) : Using paramters to install programs and so on.


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, PRM. What application are you installing, and what type of VM (VMWare, VirtualBox, etc.)? As Xenobiologist mentioned above, MouseMove and other commands will not work when minimized. Even Control commands have an issue running in VM (a quirk of virtual machines, not of AutoIt); sometimes they will only execute if that particular VM window has the focus from the host. Most applications can be installed silently, without resorting to MouseMoves, which will allow them to run much better in the VM for you. If you can let us know what you are installing, we can help you get it working :oops:


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×