PDA

View Full Version : CD Autorunning a flash file.


T-BirD
15 Jan 2004, 5:55pm
Is it possible? So far I've tried several different approaches in the autorun.inf file, like:

[autorun]
OPEN=blah.swf

and

[autorun]
OPEN="C:\Program Files\Internet Explorer\IEXPLORE.EXE" blah.swf

In case flash files aren't associated automatically with internet explorer...

In both cases, the blah.swf is sitting in the same directory as the inf file (aka, cd base dir.)

In the first case, it tells me "Access to the specified device, path, or file is denied" - in the second, it tries to go to http://blah.swf or http:////localhost/blah.swf if I try that.

Any advice is appreciated!

EMT
15 Jan 2004, 6:13pm
Hmmmm... I think there's a lot of roundabout ways but the trouble is finding an easy one. Do you know the drive letter? That would solve it.

kanezfan
15 Jan 2004, 7:26pm
I think maybe if you go with file:/// instead of http:// it might help? not sure though, so sorry if you throw away another CDR on my account.

shwaip
15 Jan 2004, 7:41pm
try putting quotes around blah.swf ?

EMT
15 Jan 2004, 8:09pm
Neither of those are the problem. The problem is that Internet Explorer is not looking in the working directory for the parameter you pass it. So we need to find a way to get the current path and pass that to IE, or simply be sure of the absolute path of the swf (meaning which drive letter it's at).

T-BirD
15 Jan 2004, 8:18pm
Can't really be sure of the drive letter, cuz this is to be a cd given out to clients with a company resume/presentation/etc in flash form.

The idea is for them to pop it in and it starts up (unless they have autoplay disabled).

I'm about to try a few of the other options by just using a .lnk file in the same directory with that in the "path" box under properties.

Crap:
"Cannot find 'file://blah.swf/'. Make sure the path or Internet address is correct."

shwaip
15 Jan 2004, 8:19pm
Download browsercall (http://www.swiftcd.com/faq/browsercall.zip), place the program on the cd, use

open=browsercall.exe blah.swf

T-BirD
15 Jan 2004, 8:33pm
Sweet! That seems to have done it for my pc at least! Thanks shwaip and everyone who gave it a shot! :)