Loading Autorun.inf on CD's

Dustin Navea speeddymon at sbcglobal.net
Thu Dec 5 23:44:58 CST 2002


----- Original Message -----
From: "Dustin Navea" <speeddymon at sbcglobal.net>
To: "Wine Developers" <wine-devel at winehq.com>
Sent: Thursday, December 05, 2002 11:37 PM
Subject: Loading Autorun.inf on CD's


> Hey guys,
>
> I was browsing through the forums on franksworld.net and noticed this
post:
>
> http://www.frankscorner.org/wineforum/viewthread.php?tid=158
>
> Now that got me thinking, wine doesnt have any method to check .inf files
> right now and load an installer if it finds one on a CD.  I was wondering,
> what do you guys think it would take to get that supported?  I know that
we
> would probably have to associate .inf files with wine and/or have some
sort
> of a wine cd detector that actively monitors cd's for autorun files, but
> what would need to be added to wine itself to parse an autorun file, so
that
> we could create the loader later?
>
> -Dustin
>

I just thought of one thing we could do..  I bet we could make a bash script
that gets called by wine (is that possible) that parses the config to check
the cd path first and then checks the cd path for any autorun files, if one
exists, it parses it and loads up the correct binary.  Now, if that isnt a
good idea, or someone thinks we should do it in the code, feel free to flame
me.  We still would have to have an active monitoring program though that
watches for cd's to be inserted and then that calls up the script, but we
could always ask the autofs guys if they would be willing to add wine load
support for inf files to their perl scripts, so that if a user has autofs
installed, it uses wine..

--Dustin

P.S. Call me crazy if you want to, but it was just an idea..





More information about the wine-devel mailing list