DefineVariables
Text [CompanyName] := AVANCE LOGIC, INC.
Text [ProductName] := Avance Logic,Inc. ALG 2302/1301
Logical [OfferInstallationDirectoryChoice] := Y
Directory [DefaultInstallationDirectory] := \WIN\SYSTEM
Directory [TempDirectory]
Text [Bitmap1] := ali.bmp
Text [TempDriveLetter]
Text [ModifyMode] := MODIFY
Number [MinimumFilesSetting] := 20
Number [MinimumBuffersSetting] := 20
Directory [ReadmeFileName]
Logical [InquireAboutSystemFileLocation] := Y
Logical [AskBeforeFileReplacement] := N
Text [ExitMessage] := Thank again!
Directory [ProgramToRun]
Logical [AddInstallDirectoryToPath] := N
Text [MinimumOSVersion]
Number [MinimumSystemMemoryRequiredPresent]
Number [SpaceWeNeedToInstall] := 700000
Logical [AllowCGA] := N
Logical [AllowMDA] := N
Logical [Allow808x] := N
Logical [Allow80286] := Y
Logical [MathCoprocessorRecommended] := N
Logical [FixedDiskRequired] := Y
Text [NetWorkInstallation] := DisallowNetwork
Logical [UseShadows] := Y
Text [MainBorder] := None
Text [PopupBorder] := Single
Text [TopLine] := Installing Avance Logic 2302/1301 Resolutions
Text [TopLineColors] := WhiteOnBrown
Text [BottomLineColors] := WhiteOnLightGray
Text [PopupColors] := WhiteOnCyan
Text [AttentionColors] := WhiteOnRed
Text [SpecialPopupColors] := WhiteOnBrown
Text [Module1Name] := Windows 3.0
Text [Module1Groups] := 1
Text [Module1Description] := Windows 3.0 Drivers
Text [Module2Name] := Windows 3.1
Text [Module2Groups] := 2
Text [Module2Description] := Windows 3.1 Drivers
Text [ExpressSetupDescription]
Text [CustomSetupDescription] := Please Sellect Which Which Windows Version
Text [ExtractionOptions]
;; remaining variables are not initialized from external Script Data File
Logical [NeedToTerminate] := N
Logical [Installed] := N
Text [DisplayAdapterSummary]
Text [CPUTypeSummary]
Text [NetworkActive]
Text [MathCoprocessorStatus]
Text [InstallationDriveSummary]
Text [OSVersionSummary]
Text [SystemMemorySummary]
Logical [InsufficientSystem] := N
Logical [CompatibilityNoticeGiven] := N
Logical [NeedToModify] := N
Text [PathTask]
Text [BuffersTask]
Text [FilesTask]
Text [BackgroundCharacter] := B0
Text [ScreenColors] := WhiteOnBlue
Text [BottomLine]
Number [Black]
Number [White]
Number [TempDirSpaceRequired] := 300000
EndDefineVariables
Procedure Logo
LoadBitMap 1 [InstallFromDirectory]\[Bitmap1] @xy(Center,2)
ShowBitMap 1
EndProcedure
Do InstallSupportFiles
Procedure InstallSupportFiles
If DriveIsRemoveable [InstallFromDrive]
[InstallationDirectory] := [InstallFromDirectory]
SetMouseCursor Wait
Do Logo
Do Install
SetMouseCursor Arrow
Do InstallProgramGroup
Else
[InstallationDirectory] := [InstallFromDirectory]
If [InstallFromDirectory] Contains \ALGUL95\
If FileExists [InstallFromDirectory]\avance.drv
Dialog @xy(Center,Center) WhiteOnBlack
Please copy windows drivers into another
directory except [InstallFromDirectory]
EndDialog
SoLong Quietly
Else
Do Logo
EndIf
Else
SetMouseCursor Wait
Do Logo
Do Install
SetMouseCursor Wait
Do InstallProgramGroup
EndIf
EndIf
EndProcedure
Procedure InstallProgramGroup
;; Dialog [YesOrNo1] @xy(Center,Center) WhiteOnBlack UseHeader "INSTALL for Windows Program Manager Group"
;; Would you like to place INSTALL in a Windows program group?
;; EndDialog
;; If [YesOrNo1] = Y
ProgramManagerDDE
CreateGroup(Avance Logic Video Player)
AddItem(C:\ALGUL95\ALPLAYER.EXE, Avance Logic Video Player)
EndProgramManagerDDE
;; EndIf
EndProcedure
Procedure Install
[String1] := C
[TempDriveLetter] := BlankString
[Number1] := [TempDirSpaceRequired]
:CheckNextDrive
If [String1] > B
If DriveIsPresent [String1]
If DriveIsRemoveable [String1]
;;do nothing
Else
If FreeSpaceOnDrive [String1] > [Number1]
[TempDriveLetter] := [String1]
[Number1] := FreeSpaceOnDrive [String1]
Else
:NextDrive
IncrementString [String1]
If DriveIsCDROM [String1]
GoTo NextDrive
EndIf
If DriveIsRemote [String1]
GoTo NextDrive
EndIf
GoTo CheckNextDrive
EndIf
EndIf
EndIf
EndIf
If [String1] = Z
GoTo ExitGetTempDir
EndIf
:ExitGetTempDir
;; ClearScreen
;; UpdateWindow
If [TempDriveLetter] = BlankString
Dialog @xy(Center,Center) UseHeader "Disk Space Error"
.LSorry, This Installation requires at least [TempDirSpaceRequired] bytes of Fixed Disk
.LSpace in order to successfully install!
EndDialog
SoLong
Else
[TempDirectory] := [TempDriveLetter]:\ALGUL95
CreateDirectoryIfNecessary [TempDirectory]
Delay 2000
;;ClearScreen
;;UpdateWindow
EndIf
SetReplacementInquiry off
SetMouseCursor Wait
TextBox @xy(Center,Center)
Copying Installation Files ...
EndTextBox
;; QueAllFiles to [WindowsSystemDirectory]
QueFileGroup 1 to [WindowsSystemDirectory]
GetQuedFiles Quietly
QueFileGroup 2 to [WindowsDirectory]\INF
GetQuedFiles Quietly
QueFileGroup 3 to [WindowsSystemDirectory]
GetQuedFiles Quietly
QueFileGroup 3 to [WindowsDirectory]\SYSBCKUP
GetQuedFiles Quietly
;; QueFileGroup 4 to [WindowsDirectory]\COMMAND
;; GetQuedFiles Quietly
QueFileGroup 5 to C:\ALGUL95
GetQuedFiles Quietly
SetMouseCursor Wait
ClearScreen
UpdateWindow
EndProcedure
If FileExists [WindowsDirectory]\INF\OEM0.INF
ExamineTextFile [WindowsDirectory]\INF\OEM0.INF
[Number1] := LineNumberWith ([,AVANCE,])
If [Number1] <> 0
DeleteFiles from [WindowsDirectory]\INF Quietly
OEM0.INF
EndDeleteFiles
EndIf
EndIf
If FileExists [WindowsDirectory]\INF\OEM1.INF
ExamineTextFile [WindowsDirectory]\INF\OEM1.INF
[Number1] := LineNumberWith ([,AVANCE,])
If [Number1] <> 0
DeleteFiles from [WindowsDirectory]\INF Quietly
OEM1.INF
EndDeleteFiles
EndIf
EndIf
If FileExists [WindowsDirectory]\INF\OEM2.INF
ExamineTextFile [WindowsDirectory]\INF\OEM2.INF
[Number1] := LineNumberWith ([,AVANCE,])
If [Number1] <> 0
DeleteFiles from [WindowsDirectory]\INF Quietly
OEM2.INF
EndDeleteFiles
EndIf
EndIf
If FileExists [WindowsDirectory]\INF\OEM3.INF
ExamineTextFile [WindowsDirectory]\INF\OEM3.INF
[Number1] := LineNumberWith ([,AVANCE,])
If [Number1] <> 0
DeleteFiles from [WindowsDirectory]\INF Quietly
OEM3.INF
EndDeleteFiles
EndIf
EndIf
If FileExists [WindowsDirectory]\INF\OEM4.INF
ExamineTextFile [WindowsDirectory]\INF\OEM4.INF
[Number1] := LineNumberWith ([,AVANCE,])
If [Number1] <> 0
DeleteFiles from [WindowsDirectory]\INF Quietly
OEM4.INF
EndDeleteFiles
EndIf
EndIf
Do DCI
;;Run [WindowsDirectory]\COMMAND\ASCAN.EXE NoPrompt
;; ExamineTextFile C:\AUTOEXEC.BAT
;; [Number1] := LineNumberWith ([,ASCAN,])
;;If [Number1] = 0
SetModifyModeTo Modify
;;ModifyTextFile C:\AUTOEXEC.BAT Quietly NoInquiry NoBackup
;; AddOrChangeLineWith (,ASCAN,) as "C:\DOS\ASCAN /C" at Beginning
;;EndModifyTextFile
;;EndIf
;;ExamineTextFile C:\autoexec.bat
;; [Number1] := LineNumberWith (,ASCAN,)
;;ForgetTextFile
;;If [Number1] <> 0
;; ModifyAutoexecBat Quietly NoInquiry NoBackup
;; DeleteLine [Number1]
;; EndModifyAutoexecBat
;;EndIf
SoLong Quietly
Procedure DCI
ExamineTextFile [WindowsDirectory]\SYSTEM.INI
[Number1] := LineNumberWith (,ALIDCI,)
[Number2] := LineNumberWith (,DCIVIDC.CVID=,)
[Number3] := LineNumberWith (,DCIVIDC.IV31=,)
[Number4] := LineNumberWith (,VIDC.IV32=,IR32.DLL)
[Number5] := LineNumberWith (,VIDC.IV31=,IR32.DLL)
[Number6] := LineNumberWith (,VIDS.DRAW,)
[Number7] := LineNumberWith (VIDC.MSVC,,msvidc.drv)
[Number8] := LineNumberWith (,VIDC.MRLE=,MSRLE.drv)
[Number9] := LineNumberWith (,VIDC.RT21=,)
[Number10] := LineNumberWith (,VIDC.YVU9=,)
[Number11] := LineNumberWith (,ALG1301DCI=,)
[Number12] := LineNumberWith (,VIDC.IV31=,indeov.drv)
ForgetTextFile
;;Dialog
;; [Number2]
;; [Number3]
;; [Number4]
;; [Number5]
;; [Number6]
;; [Number7]
;; [Number8]
;;[Number9]
;; [Number10]
;;EndDialog
If [Number1] = 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (DCI=,,) as "DCI=ALIDCI" at Beginning
EndModifyTextFile
EndIf
If [Number2] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,DCIVIDC.CVID=,) as ";DCIVIDC.CVID=iccvid.drv" at Beginning
EndModifyTextFile
else
EndIf
If [Number3] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,DCIVIDC.IV31=,) as ";DCIVIDC.IV31=indeov.drv" at Beginning
EndModifyTextFile
else
EndIf
If [Number4] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,VIDC.IV32=,) as ";VIDC.IV32=IR32.DLL" at Beginning
EndModifyTextFile
else
EndIf
If [Number5] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,VIDC.IV31=,IR32.DLL) as ";VIDC.IV31=IR32.DLL" at Beginning
EndModifyTextFile
else
EndIf
If [Number6] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,VIDS.DRAW=,) as ";VIDS.DRAW=UDH.DLL" at Beginning
EndModifyTextFile
else
EndIf
If [Number7] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,VIDC.MSVC=,) as ";VIDC.MSVC=msvidc.drv" at Beginning
EndModifyTextFile
else
EndIf
If [Number8] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,VIDC.MRLE=,) as ";VIDC.MRLE=MSRLE.drv" at Beginning
EndModifyTextFile
else
EndIf
;; If [Number9] <> 0
;; ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
;; InSection [drivers]
;; AddOrChangeLineWith (,VIDC.RT21=,) as ";VIDC.RT21=ir21_r.dll" at Beginning
;; EndModifyTextFile
;; else
;; EndIf
;; If [Number10] <> 0
;; ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
;; InSection [drivers]
;; AddOrChangeLineWith (,VIDC.YVU9=,) as ";VIDC.YVU9=ir21_r.dll" at Beginning
;; EndModifyTextFile
;; else
;; EndIf
If [Number11] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [ALGRefRate]
AddOrChangeLineWith (,ALG1301DCI=,) as "ALG1301DCI=ON" at Beginning
EndModifyTextFile
else
EndIf
If [Number12] <> 0
ModifyTextFile [WindowsDirectory]\SYSTEM.INI NoBackup
InSection [drivers]
AddOrChangeLineWith (,VIDC.IV31=,indeov.drv) as ";VIDC.IV31=indeov.drv" at Beginning
EndModifyTextFile
else
EndIf
EndProcedure
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.