CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Posts
    1

    AutoRun CD w/ install program

    How can I create a CD with an autorun file that opens a window to install various .exe files? I guess what I want is something like when you load games onto your computer. You stick the CD in and a graphical window pops up with an install button, a view contents button, and a credits button. Can someone help?


  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: AutoRun CD w/ install program

    To make the system automatically run a program when a CD is inserted, put a file on the CD
    named "Autorun.inf" and make it look like this:

    [autorun]
    OPEN=SETUP.EXE /AUTORUN

    Replace SETUP.EXE with the program on the CD that you want to run.

    Note that the user can disable the autorun feature on his PC.



    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured