We help IT Professionals succeed at work.
Get Started

CD install command

Last Modified: 2012-05-12
I need to write a program (probably Visual Basic, but open to suggestions) to install some files from a CD using the autorun.inf method.  I know how to do the autorun, but I don't know how to write the .exe file.

It is very simple function.  I need to create a directory (and subdirectories) if it doesn't exist already, then copy a bunch of files to that directory.  I need to make a desktop icon for the system that points to a particular file in the directory.  I expect I also need an uninstall to delete those files and folders.

I want this to run on MAC or Windows.

Can someone please explain to me what I need to do to accommodate both platforms, and point me to the shell(?) commands to do it?  

I can't believe there isn't a simple tutorial or example of doing this somewhere on the web, but I have not been able to find it.
Watch Question
AWS System Administrator
This problem has been solved!
Unlock 3 Answers and 7 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE