Solved

Setup Question

Posted on 2000-05-05
3
112 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 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

10 Experts available now in Live!

Get 1:1 Help Now