jimscharff
08-28-2004, 02:52 AM
I wanted to allow users to install Flash from my CD if they do not have the file present (ie Flash 6). I wanted to avoid using the dependency checker (and forcing users to go to the internet). I have included the Flash 6 installer on my CD in the DOCS directory.
It works fine - and I have included the code below since I can see from this forum that others have been trying to do the same (unsuccessfully).
In the pre-load action of Page 1 put :
getflash = File.DoesExist(_WindowsFolder.. "/system32/macromed/flash/flash.OCX");
Page.Jump("Intro");
end
On page 1 put the Flash installer button (and maybe a link to the Macromedia web site in case user's do not trust installing a file from a CD).
I have included this code only since it is important (for some odd reason) that the slash strokes are forward facing in order to find a file below the root directory. This might have tripped a few of you up (it caused me some time to track down).
I hope this helps. Shared knowledge is good thing!
Jim
It works fine - and I have included the code below since I can see from this forum that others have been trying to do the same (unsuccessfully).
In the pre-load action of Page 1 put :
getflash = File.DoesExist(_WindowsFolder.. "/system32/macromed/flash/flash.OCX");
Page.Jump("Intro");
end
On page 1 put the Flash installer button (and maybe a link to the Macromedia web site in case user's do not trust installing a file from a CD).
I have included this code only since it is important (for some odd reason) that the slash strokes are forward facing in order to find a file below the root directory. This might have tripped a few of you up (it caused me some time to track down).
I hope this helps. Shared knowledge is good thing!
Jim