Results 1 to 14 of 14

Thread: autorun cdr??

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Posts
    599

    autorun cdr??

    guys,


    how to make an autorun cdr... i want the cdrom drive to execute an exe in the CDROM without the user manually doing it ... anyone know?>> please help little bro here


    let say that i group the exe file inside a folder and the path to the exe is

    [autorun]
    open = myprogram\installer-1.2\ComX.exe
    It just wont run???? why is that ?
    Last edited by vbnew; Feb 9th, 2004 at 03:11 AM.
    Thank You

  2. #2
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Code:
    [autorun]
    open=autorun.bat
    icon=cdrom.ico
    Create a file called autorun.ini and put the above code in there. Change autorun.bat to whichever file it is that your after, and if you have an icon for the cd, include it as well, or just delete the line.
    Don't Rate my posts.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Posts
    599
    i am confuse


    [autorun]
    open = myprogram\installer-1.2\ComX.exe


    is not working (i got the error stating that the exe is not found and want the user to locate it )
    Thank You

  4. #4
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Look it up at MSDN on the internet. BTW I have never seen a CD that starts a file in a folder I think. They more or less always start a file in the root of the CD...

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    it is recommended that you dont have the executable inside a folder, but there may be other issues here.

    the most likely possibility is that 8.3 filenames are required, which can be resolved by putting the name in quotes, eg:

    [autorun]
    open = "myprogram\installer-1.2\ComX.exe"


    or maybe (NB: each ~1 might need to be ~2 or ~3...):

    [autorun]
    open = myprog~1\instal~1\ComX.exe


    or maybe the folder isnt found like that, so try:

    [autorun]
    open = .\myprogram\installer-1.2\ComX.exe

  6. #6
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    *wonders how many CD-R's vbNew is going to waste testing this*
    Don't Rate my posts.

  7. #7
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by Pc_Madness
    *wonders how many CD-R's vbNew is going to waste testing this*
    Plehh...you can get 100s of them free after rebate anyways.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    just one cdrw is fine for testing purposes

  9. #9
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    are u using "autorun.inf", becuase i dont think it will work if its an *.ini file.

  10. #10
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by si_the_geek
    just one cdrw is fine for testing purposes
    That's not gonna help fill up the land-fills...
    My evil laugh has a squeak in it.

    kristopherwilson.com

  11. #11
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    How about WinISO/Daemon-Tools
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  12. #12

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Posts
    599
    Guys,


    I found out the problem ... it aint gonna execute my program without other exe help..


    [autorun]
    open=shelexec.exe blablabla\ComX.exe

    that will work... gotta have the ShelExec at the root of the CDR...
    why is that so ... why can;t i do it like the previously posted style??
    i am curious to know, pro mind sharing?
    Thank You

  13. #13
    Frenzied Member dis1411's Avatar
    Join Date
    Mar 2001
    Posts
    1,048
    change

    VB Code:
    1. [autorun]
    2. open = myprogram\installer-1.2\ComX.exe
    to
    VB Code:
    1. [autorun]
    2. open=myprogram\installer-1.2\ComX.exe

  14. #14

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Posts
    599
    dis1411

    i did that already but ain't working .................
    Thank You

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