Hacker News new | ask | show | jobs
by dgfitz 507 days ago
I discovered a bug in a microsoft software installer where it would hang unless you moved the mouse over the progress bar.

Discovered this when trying to use a java api to make silent installers for programs that didn't have them.

The solution was to use the java api to move the mouse back and forth over the progress bar.

3 comments

Currently use AutoIT and InnoSetup for installation wrappers those that don't have installers with silent support or have the ability to automate the settings. This is where BSD and Linux shine compared to Windows! Scripting and automation is built-in with the ladders and greatly lacking in the former.
It's an awkward latter to climb indeed.
>The solution was to use the java api to move the mouse back and forth over the progress bar.

And I thought browsers highjacking the scrollbar was bad!

Ha nah, the whole goal was unattended installs. Nobody felt hijacked except me for wasting so much time.
> The solution was to use the java api to move the mouse back and forth over the progress bar.

Oh the memories of playing with java.awt.Robot...

Nailed it.