Solved

Setup Question

Posted on 2000-05-05
3
116 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
[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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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

740 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