Create vb silent install

Posted on 2007-07-20
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
    LVL 19

    Expert Comment

    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

    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


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    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…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now