Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win



Posted on 2000-02-17
Medium Priority
Last Modified: 2013-11-14
Not looking for the code..just want to know if it can be done through VB6.

If I have a vbApp and I cut it to a cd, can I do as (MSIE. for example)..run the cd on insertion and put up a sreen giving information and the ability to run setup from that screen instead of the user having to go to start/run/browse/... and select set up and etc.....

If so...where do I start my research into what I need to learn?
Question by:vbWayne
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
  • 3
  • 2
  • 2

Accepted Solution

paulstamp earned 40 total points
ID: 2531701
Simply write a launcher program which gives the options you want the user to see when you insert the disk.

Then create a file in notepad and place the following in it :


Where LAUNCHER.EXE is the path to your options program.

Then save as AUTORUN.INF on the root of the CD

Hope this helps
LVL 18

Expert Comment

ID: 2531833
But don't you need all the .dll's etc installed on the target PC.

The VB intelligentsia seem to agree that stand alone VB executables are impossible.  Delphi is often cited as better by the Delphi congnescenti 'cos it can do this.

Expert Comment

ID: 2531859
Agreed... you would require at very least the VB runtimes to be installed on the target PC, or alternatively in the root of the CD drive.

If you unsure of the target PC, then using either Delphi or C would be a cleaner way of doing it.
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.


Author Comment

ID: 2531896
I am not talking an executable..
I am tlking a complete install from files stored on the CD...setup.exe


Is the launcher.exe simply a first screen for storing the launch of the setup files and any information I might wish to add to it...
click here to install MyVisualBasicApp and the button would start the install.
click here to view the read me
click here to exit.

that being the case...what is this program made of...what language carries it...how will it run before an install takes place...
LVL 18

Expert Comment

ID: 2531919
You could do it with Install Shield, it allows for dialogue screens but you can turn these off and run a straight install without showing dialogue.  

You'd need to lean Install Shields scripting language.

Author Comment

ID: 2531966
Deighton...pts for deighton posted.
10 is not a big deal, you cna both have the points for the pointers..

Thank you.

Expert Comment

ID: 2531993
launcher.exe can be more or less anything you like. I guess what you want is a straight dialogue to give options for install, explore etc. These options could then launch the setup.exe or readme.txt

As deighton rightly points out it would be best to write it in Delphi (or C) as they can be single EXE files with no dependencies. You could put this dialog in an InstallShield setup but that would mean the user goes into the install routine and has to cancel out if installation is not want they want and that isn't very slick.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

618 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