I need to get a video to play as soon as the CD is inserted into a PC.
I just have 3 files on the disc:
Video.wmv
logo.ico
autorun.inf
In the autorun file I have this:
[autorun]
SHELLEXECUTE=Video.wmv
ICON=logo.ico
LABEL=Demo
The icon and label loads to the drive as it should, but it doesn't play the video.
I think i'm right in saying win7 and vista won't play it automatically, but prompt you to open it with the default player, which is fine, but i'm just getting this:
I've tried using OPEN instead of SHELLEXECUTE and it also didn't work, but I think OPEN is just used if you're using an application on the disc to open it?
What am I doing wrong here?
I'll give you karma and everything if you tell me.
I just have 3 files on the disc:
Video.wmv
logo.ico
autorun.inf
In the autorun file I have this:
[autorun]
SHELLEXECUTE=Video.wmv
ICON=logo.ico
LABEL=Demo
The icon and label loads to the drive as it should, but it doesn't play the video.
I think i'm right in saying win7 and vista won't play it automatically, but prompt you to open it with the default player, which is fine, but i'm just getting this:
I've tried using OPEN instead of SHELLEXECUTE and it also didn't work, but I think OPEN is just used if you're using an application on the disc to open it?
What am I doing wrong here?
I'll give you karma and everything if you tell me.