This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Automate the installation.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 22, 2006
06:24 AM
Automate the installation.
Hi,
I would like to automate the installation process for testing purpose. Is there any means by which I could achieve this. I tried using the java Robot class to do mouse click events on the buttons provided in the dialog boxes. This click event works well at times when the next dialog box is shown but it is not consistent. It doesnt work the same always. The code I have written inside the event entered is
java.awt.Robot r = new java.awt.Robot();
r.delay(2000);
r.mouseMove((207*2)+192, (176*2)+200);
r.mousePress(java.awt.event.InputEvent.BUTTON1_MASK );
r.delay(2000);
r.mouseRelease(java.awt.event.InputEvent.BUTTON1_MASK );
Is there any other way by which I could sent mouse click events so that I could automate the installation process ?
Thanks,
Sudan
I would like to automate the installation process for testing purpose. Is there any means by which I could achieve this. I tried using the java Robot class to do mouse click events on the buttons provided in the dialog boxes. This click event works well at times when the next dialog box is shown but it is not consistent. It doesnt work the same always. The code I have written inside the event entered is
java.awt.Robot r = new java.awt.Robot();
r.delay(2000);
r.mouseMove((207*2)+192, (176*2)+200);
r.mousePress(java.awt.event.InputEvent.BUTTON1_MASK );
r.delay(2000);
r.mouseRelease(java.awt.event.InputEvent.BUTTON1_MASK );
Is there any other way by which I could sent mouse click events so that I could automate the installation process ?
Thanks,
Sudan
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 22, 2006
09:12 AM
If it's an install script you can just make different silent install/uninstall files and run the setup against each one seperately.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)