Create vb silent install

Posted on 2007-07-20
Medium Priority
Last Modified: 2010-07-27
I am trying to ccreate a VB 6 Silent install application. I have been somewhat successful with some info on the net and following Microsoft's setup1 example. However I still have one problem left.

"The silent install is only interupted (that I could see) when the install encounters the "Setup is attempting to copy a file that is older than the one currently..." dialog. This interruption doesn't occur if the setup contains the latest versions of the files being installed. "

Is there a way to override this problem how do I set my application to override this.
Question by:Maritimer
  • 2
LVL 19

Expert Comment

ID: 19536403
i use autoit's adlib function for this

Func GeneralAdlibFunction()
        If WinExists("Setup is attempting to copy a file that is older") Then Send("{ENTER}")

Author Comment

ID: 19546761
Hello weellio

VB doesn't seem to reconize the function WinExists is there a reference I need to make in my vb program??
LVL 19

Accepted Solution

weellio earned 1000 total points
ID: 19693975

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

840 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