Results 1 to 5 of 5

Thread: Auto start install CD

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Riverside California USA
    Posts
    13
    I am distributing a program on CD can someone
    tell me the code I need to write to auto start the
    install CD?

    Thanks

  2. #2
    New Member
    Join Date
    Mar 2000
    Posts
    4

    Autorun CD

    You need to put a text file named autorun.inf at the root level of the CD. Check any CD that has this feature and you can copy the code in the autorun.inf file and then change it for your needs. It simply names the name of the file to run and optionally an icon file for the cd.
    Geoff Hankerson
    [email protected]

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Riverside California USA
    Posts
    13

    I am distributing a program on CD can someone
    tell me the code I need to write to auto start the
    install CD?

    Thanks
    Thanks it worked great

    Kornel

  4. #4
    New Member
    Join Date
    May 2002
    Posts
    6
    I have a slightly different problem :-

    I have some software supplied on CD where the CD needs to be in the drive to run the software. I set up a program (using VB) to run in the autorun.inf called autorun.exe, which checks to see if the software is already installed. If so, it does not not run the setup.exe installer.

    This works fine except on machines where VB is not previously present, in these cases autorun.exe fails because it requires the VB dll's etc.

    I am sure this is simple for someone with more knowledge than me, but how can I get the autorun.exe program to run before the VB dll's are installed

    Thanks in advance

    Vindaloo

    ps - i use inno for my setup.exe installer

  5. #5
    New Member
    Join Date
    Jul 2002
    Posts
    12
    You need to install a small program supplied by microsoft called
    VBrun60.exe (or vbrun6sp5.exe depending on your version). I think the file can be downloaded from the microsoft website or
    search google.

    I put the following into the autorun.inf file

    [autorun]
    OPEN=start.bat
    icon=myicon.ico

    Created a file called start.bat in the root directory of the CD which
    had.

    @echo off
    vbrun60
    myinstall

    Try this.

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