For Flash and Shockwave you don't need a AutoIT script, this is what I do to install 
flast/shockwave 
for Mozilla/Netscape/Opera

---- start flast.bat ---
:: Install Flash7 Player


::URL|ALL|http://fpdownload.macromedia.com/pub/shockwave/flash/english/win95nt/7.0.19.0/flashplayer7installer
.exe|packages/macromedia/flashplayer7installer.exe

:: Download from <http://www.macromedia.com/downloads/>
@Echo off

todo.pl "%Z%\packages\MacroMedia\flashplayer7installer.exe /s"
-----end flash.bat----

---- start shockwave.bat ---
:: Install Shockwave10 player
::
@Echo off 
::URL|ALL|http://fpdownload.macromedia.com/pub/shockwave/default/english/win95nt/10.0.0.210/Shockwave_Install
er_Full.exe|packages/macromedia/Shockwave_Installer_Full.exe

:: Download from <http://www.macromedia.com/downloads/>
todo.pl "%Z%\packages\MacroMedia\Shockwave_Installer_Full.exe /s"
---- end shockwave.bat -----

[Note: Natually you will want to install these after you install your browser ]

And for those who have to roll out labs with different resolutions:

----start chgres.bat-----
::  Change Screen Resolution

:: Does no error checking, so besure you have the correct settings
:: chgres.bat xhor yver depth
:: chgres.bat 1280 1024 32
:: chgres.bat 1024 768 32

@echo off

AutoIt3 %Z%\scripts\setres.au3 %1 %2 %3
----end chgres.bat ----

---- start setres.au3 ----
; setres.au3 - set the resolution of the current display
; Does no error checking, so besure you have the correct settings
; should be called
; setres.au3 xhor yver depth
; setres.au3 1280 1024 32
; setres.au3 1024 768 32

; determine our video device
$Videodevice = RegRead ( 'HKEY_LOCAL_MACHINE\' & 'HARDWARE\DEVICEMAP\VIDEO', 
'\Device\Video0' )

$Videodevice1 = StringTrimLeft( $Videodevice, 57 )
$videodevice2 = StringTrimRight( $Videodevice1, 5 )


$strVidReg = "HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\" & 
$videodevice2 & "\0000"
$strVidReg1 = "HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\" & 
$videodevice2 & "\0000\Mon22446688"

$Horizontal = $CmdLine[1]
$Vertical = $CmdLine[2]
$BitsPerPel = $CmdLine[3]

RegWrite($strVidReg, "DefaultSettings.XResolution", "REG_DWORD", $Horizontal )
RegWrite($strVidReg1, "DefaultSettings.XResolution", "REG_DWORD", $Horizontal )

RegWrite($strVidReg, "DefaultSettings.YResolution", "REG_DWORD", $Vertical )
RegWrite($strVidReg1, "DefaultSettings.YResolution", "REG_DWORD", $Vertical )

RegWrite($strVidReg, "DefaultSettings.BitsPerPel", "REG_DWORD", $BitsPerPel )
RegWrite($strVidReg1, "DefaultSettings.BitsPerPel", "REG_DWORD", $BitsPerPel )
------end setres.au3 ----


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to