Jump to content

How to execute automation process for installation in background?


Recommended Posts

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites
  • Moderators

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:

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...