Click to See Complete Forum and Search --> : Running an Install Upon Loggin


cracker23
01-24-2003, 08:23 AM
I am new to developing sites (multimedia designer turned web developer) and I am having a problem with loading Flash elements.

I currently have a page with flash files in it and I also downloaded the Flash Player installer exe file from Macromedia since this will be an intranet site.

My problem is that I want my index page to check and see if flash is installed on the computer it is loaded onto and if not run the exe to install it.

Is this possible? Any help here would be great.

Thanks

LAwebTek
01-24-2003, 10:12 AM
As you can see below you just need to point the codebase to the location where you have stored the swflash.cab - in my cae that was C:\Web\
The cab file can be found at http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0

The pluginspage variable tells the browser where to find the install files if it needs them so I assume that changing its value to point at the location of the Flash installer exe would take care of getting the browser to install if need be. However, while browsing the Macromedia site, I did not find where you can download the installer, only where you can click a link that installs the player, but if you found it already then you should be all set.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="file://C:\Web\swflash.cab#version=6,0,65,0"
width="378" height="150" align="middle">
<param name="movie" value="flash.swf">
<param name="quality" value="high">
<embed src="flash.swf" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="378" height="150" align="middle">
</embed>
</object>

cracker23
01-24-2003, 10:15 AM
Wow, thanks for responding so fast. This is my first time posting here and I'll definately be back.

I had to apply for a license for the Flash Player Installer. It was free but I guess they like to keep track of these things.

Thanks for the code.