?
Solved

Simulate clicking Acceptance Agreement and other buttons

Posted on 2003-03-05
4
Medium Priority
?
174 Views
Last Modified: 2010-05-01
I need to run a setup (.EXE) that requires user interaction.  Like any other setup, there are buttons that need to be clicked, to accept the license agreement, etc.  I need to run this setup unattended.
My question is, is there a way to make Visual Basic "see" these popup windows during setup, and then "click" the buttons without the user having to do anything?
0
Comment
Question by:singer01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Assisted Solution

by:deadlyfluvirus
deadlyfluvirus earned 60 total points
ID: 8073749
You can use the Veritas WinInstaller LE located on the Microsoft Windows 2000 Advanced Server CD-Rom under D:\VALUEADD\3RDPARTY\MGMT\WINSTLE.

This program allows you to make an image of a machine before the program is installed, and then an image after the program is installed.

It then 'subtracts' the two images, and builds an MSI (Microsoft Installer) file that you can then run.

Let me know if you have any questions.
0
 
LVL 10

Accepted Solution

by:
aeklund earned 90 total points
ID: 8074149
Yes, you can do this with VB... it requires FindWindow, FindWindowEx, SendMessage, etc.. functions..  but it is possible..

I just thought I would recommend a free 3rd party util that will do this instead of posting pages of code to do it in vb..

Use the utility called "AutoIt":
http://www.hiddensoft.com/AutoIt/downloads.html
0
 

Expert Comment

by:CleanupPing
ID: 8900626
singer01:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 9074005
Moderator, my recommended disposition is:

    Split points between: deadlyfluvirus and aeklund

DanRollins -- EE database cleanup volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question