Over the years I have run into some pretty strange issues with Application installs, but one that to this day still trips me up is with the Citrix Plugin.

The installation seems to “hang” until you move and or click the Mouse.  Seems weird, but true…

So I went online to see if anyone had already slain this beast and found the following:

http://www.deploymentresearch.com/Research/tabid/62/EntryId/61/Fix-for-Task-Sequence-Sysprep-hanging-in-BDD-MDT-when-doing-a-build-and-capture-of-Windows-XP-2003.aspx

While not exactly the same, it gave me a place to start working from.

I took the Source Code example but wanted something that wouldn’t just run once or for a period of time, so I reworked the script so it would move the mouse and click until the process was terminated.

This script requires AutoIt v3.  AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.  It can be obtained from http://www.autoitscript.com.

Just Compile this script and place it as a Application Install just ahead of Citrix Receiver, then place a Reboot after the Citrix Receiver and the installation delays go away.