Autorun.inf

E

Earl Partridge

I have created a movie file (.WMV) on a CD and added an autorun.inf file as with this line:
[AutoRun]
open=robins.wmv
When double clicking that drive letter I get error:
D:\ is not a valid Win32 application
Opening the drive, double click the .wmv file, it runs fine with WMP.
Why won't autorun.info work?
Earl
 
A

AlmostBob

autorun.inf runs a program, not a random file name
to run a video you need to launch a player to play the video.
the player you chose may not be present on the target system so it is best
to include a no-install player and have autorun call that to play the file
VLC portable is such a player
http://portableapps.com/apps/music_video/vlc_portable


--
Adaware http://www.lavasoft.de
spybot http://www.safer-networking.org
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/newsinfo/collateral.aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use

Grateful thanks to the authors and webmasters
_

I have created a movie file (.WMV) on a CD and added an autorun.inf file as
with this line:
[AutoRun]
open=robins.wmv
When double clicking that drive letter I get error:
D:\ is not a valid Win32 application
Opening the drive, double click the .wmv file, it runs fine with WMP.
Why won't autorun.info work?
Earl
 
E

Earl Partridge

So, assuming those that will receive the CD have Windows Media Player, would
the .inf file show:
[AutoRun]
open=wmplayer.exe robins.wmv

Or do I need a back or forward slash between the executable and the .wmv
file?
Earl
 
A

AlmostBob

I'm not sure how to code wmplayer to open the file, I always include vlc
player, so got lazy
another way to allow good compatibility without including a player or
assuming windows media is installed
use autorun.exe, which can be downloaded from Tarma Software Research.
http://www.tarma.com/index.htm#/download/index.htm
Tarma has made autorun.exe freely available for both personal and commercial
use and there are no requirements for copyright notices, etc.
It will open any filetype with the default player installed on the receiving
system. and has good error catching

open=autorun.exe robins.wmv
open=vlc.exe robins.wmv

both work
fingers crossed for wmplayer.exe robins.wmv





--
Adaware http://www.lavasoft.de
spybot http://www.safer-networking.org
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/newsinfo/collateral.aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use

Grateful thanks to the authors and webmasters
_

Earl Partridge said:
So, assuming those that will receive the CD have Windows Media Player,
would
the .inf file show:
[AutoRun]
open=wmplayer.exe robins.wmv

Or do I need a back or forward slash between the executable and the .wmv
file?
Earl




AlmostBob said:
autorun.inf runs a program, not a random file name
to run a video you need to launch a player to play the video.
the player you chose may not be present on the target system so it is
best to include a no-install player and have autorun call that to play
the file
VLC portable is such a player
http://portableapps.com/apps/music_video/vlc_portable


--
Adaware http://www.lavasoft.de
spybot http://www.safer-networking.org
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/newsinfo/collateral.aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before
use

Grateful thanks to the authors and webmasters
_

I have created a movie file (.WMV) on a CD and added an autorun.inf file
as with this line:
[AutoRun]
open=robins.wmv
When double clicking that drive letter I get error:
D:\ is not a valid Win32 application
Opening the drive, double click the .wmv file, it runs fine with WMP.
Why won't autorun.info work?
Earl
 
M

michael

Earl said:
I have created a movie file (.WMV) on a CD and added an autorun.inf file
as with this line:
[AutoRun]
open=robins.wmv
When double clicking that drive letter I get error:
D:\ is not a valid Win32 application
Opening the drive, double click the .wmv file, it runs fine with WMP.
Why won't autorun.info work?
Earl

[autorun]
start=robins.wmv
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Create autorun.inf 3
Autorun CD - Windows XP 4
autorun.inf 11
Autorun CD Problem 4
REQ: Making a Autorun CD? 7
Showing hidden files and folders 10
problem creating autorun CD 3
autorun.inf to run on XP? 2

Top