Solved

Setup Question

Posted on 2000-05-05
3
113 Views
Last Modified: 2010-05-02
Using VB6.  Is there a way to have the setup program automatically shut down (temporarily) virus programs or other TSR programs to avoid "access violations?"  Or, is there a way to get the setup program to display a notice to users that they need to shut down these programs before installing?  Also, is there a way, when setup is complete to have the user reboot so their virus program, etc. will resume?
0
Comment
Question by:DrJax
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
wsh2 earned 50 total points
ID: 2781946
Using VB completely?... No, No, No and No.. <sigh>.

You may want to check out a third party installer.. it is to bad that we work hard for the money, huh?.. <smile>.
0
 
LVL 5

Expert Comment

by:AnswerTheMan
ID: 2782986
Theoreticlly - it can be done with VB PDW.
you can modify setup1.vbp that will do all that.
upon loading the blue setup screen - you'll have to write some HEAVY API code that will loop throught all working apps and SERVISES and close them.

on the end of setup code you'll need to use ExitWindows API to shut down windows.

but tell you the true - it is not worth the effort and time.
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2783068
Answertheman writes: "you'll have to write some HEAVY API code"

Particularily if MSVBVM60.DLL is not yet registered and installed (and as I recall the machine rebooted).

Answertheman writes: "it is not worth the effort and time"

And with that I couldn't agree more.. <smile>.

--------------------------------------
To be honest though.. there is a kinda VB way around this. Assuming that the user has Internet Explorer, you could do a VBScript and initiate your Setup through a HTML page rather than a straight up Setup.Exe execution. Nahhhhh.. just wanted to say "I LOVE YOU".. <lol> and a <wink>.



0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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 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…
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…

912 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

21 Experts available now in Live!

Get 1:1 Help Now