#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    5
    Rep Power
    0

    How do you make an Autorun.exe file?


    Hello, I have been wanting to put my published C# programs on CD's. I would like for the program to automatically launch the Setup.exe file when the program is inserted in a CD ROM drive on a computer. How would I make an Autorun.exe file to do this? Or how would I do this at all? Also my programs are created using Microsoft Visual Studio C# Express Edition 2005.
  2. #2
  3. I kept my Swingline stapler
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Northern California
    Posts
    254
    Rep Power
    130
    The link below (gotten from google) shows you how to create an autorun.inf file to execute a program when a CD is inserted into a drive.

    http://autorun.moonvalley.com/autoruninf.htm
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    5
    Rep Power
    0
    Thank you very much for that information! I do have another question though...

    If a client does not have the .NET Framework 2.0 installed on his / her computer, how do I make the .NET Framework Redistributable Package install automatically? Only if the client does not have the .NET Framework 2.0 though.

IMN logo majestic logo threadwatch logo seochat tools logo