Fw: Loading Autorun.inf on CD's

Dustin Navea speeddymon at sbcglobal.net
Mon Dec 9 11:59:53 CST 2002


That is basically what I have been saying..  sorry for the html output but I am replying from work thru sbc's site and theres no option to turn it off.  Basically, we need wineautorun.inf to parse the file autorun.inf or Autorun.inf on CD's  If you try to run a non-autorun file it pops up a dialog saying hey this isnt an autorun inf and so I cant do anything with it!  The parsing itself shouldnt be too hard, but AFAICT the windows autorun loader only looks for autorun.inf (Case Insensitive) and parses it for the icon and the file to actually run.  If we implemented this, it would make things a lot easier for v1.0 because users wouldnt have to learn command line just yet..
 Fabian Cenedese <Cenedese at indel.ch> wrote:
> > If we tweak the registry of a .inf (winedefault.reg), we can ask it to
> > launch a tiny program that will open the .inf and run the program
> > specified.
>
>Sounds like it could work, but what about inf installer files (ie TweakUI's
>inf, or driver inf files) how would they be handled?

Generally, .inf files are all installer files, only the autorun.inf is 
something
special. If the file on the CD is named differently it doesn't work anymore.
So we would just have to check for this name. I don't know how it is done
on Windows, what makes the auto-insert check. But whatever program
gets the insert notification it should call 'wine wineautorun.exe autorun.inf'.
Wineautorun.exe will parse the autorun.inf. And all other .inf go to the 
installer.

bye Fabi



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20021209/0e6232ec/attachment.html


More information about the wine-devel mailing list