;
; BUFFALO AirStation{¬Ýèc[ CXg[ Ýèt@C
; Ver.1.00.00.04
; ProductVersion : 0x00010200(66048)
;
;===========================================================================
;
; CXg[ú»
;
;===========================================================================
[initialize]
title = "BUFFALO AirStation Bandwidth 20/40MHz Select Tool Installer"
Version = 1.00
date = 900120
AllUser = 1
goto = check_version
if_not_admini = QUIT
; update check
[check_version]
command = cmp_reg_dword
key_name = "HKEY_LOCAL_MACHINE\Software\MELCO INC\Melsetup\UN900120"
value = Version, DWORD, 66048
;if_large = check_arg_large
if_large = QUIT
;if_other = check_ng_program1
if_other = inst_find
[check_arg_large]
command = disp_msg_box
string_num = 5
string1 = "The later version is already"
string2 = "installed."
string3 = "Installation is not necessary."
string4 = ""
string5 = "Will you cancel installation?"
button = YES_NO
if_ok_yes = quit_cancel
if_cancel_no = menu_check_os
[check_ng_program1]
command = find_reg_key
key_name = "HKEY_LOCAL_MACHINE\Software\MELCO INC\Melsetup\UN900120"
if_success = error_check_ng_program900120
if_error = inst_find
[error_check_ng_program900120]
command = disp_msg_box
string_num = 5
string1 = "Old version is already installed."
string2 = "Uninstallation of old version is necessary."
string3 = ""
string4 = ""
string5 = "Do you wish to start the uninstallation?"
button = YES_NO
option = ?
if_ok_yes = call_uninst900120_r
if_cancel_no = quit_cancel
[call_uninst900120_r]
command = release_mymutex
if_success = call_uninst900120
if_error = call_uninst900120
[call_uninst900120]
command = execute_app
type = WAIT
file1 = "$WINDOWS$\UN900120.exe"
option1 = /U
if_success = call_uninst900120_c
if_error = call_uninst900120_c
[call_uninst900120_c]
command = create_mymutex
if_success = check_ng_program1
if_error = check_ng_program1
;===========================================================================
; CXg[
;===========================================================================
[inst_error]
command = disp_msg_box
string_num = 1
string1 = "Failed AirStation Bandwidth 20/40MHz Select Tool installation."
button = OK
option = STOP
if_ok_yes = quit_error
;------------------------------------------------------
[inst_find]
command = find_app
file = Wlan40M.exe
option = STOP
if_success = inst_sleep
if_error = inst_mkfolder
[inst_sleep]
command = sleep
time = 500
goto = inst_find
;------------------------------------------------------
[inst_mkfolder]
command = make_folder
folder_path1 = "$PROG$\BUFFALO\Wlan40M"
if_success = inst_file_copy
if_error = inst_error
;------------------------------------------------------
[inst_file_copy]
command = xcopy
type = COPY_ALWAYS
src = "$SETUP$"
dst = "$PROG$\BUFFALO\Wlan40M"
if_success = inst_add_group
if_error = inst_error
;===========================================================================
; V[gJbg
;===========================================================================
[inst_add_group]
command = add_menu_item_b
group = "AirStation Utility"
item1 = "AirStation Bandwidth 20 or 40MHz Select Tool","$PROG$\BUFFALO\Wlan40M\Wlan40M.exe"
show = NO
set_uninst = YES
if_success = inst_add_group2
if_error = inst_error
[inst_add_group2]
command = copy_file2
type = COPY_ALWAYS
file1 = "$MENUGRPB$\AirStation Utility\Uninstaller.lnk", "$MENUGRPB$\AirStation Utility\Uninstallation of AirStation Bandwidth 20 or 40MHz Select Tool.lnk"
if_success = inst_add_group3
if_error = inst_error
[inst_add_group3]
command = del_file
file_path1 = "$MENUGRPB$\AirStation Utility\Uninstaller.lnk"
if_success = inst_set_uninst_data
if_error = inst_error
;------------------------------------------------------
[inst_set_uninst_data]
command = set_uninst_info
uninst_section = uninstall
display_name = "BUFFALO AirStation Bandwidth 20/40MHz Select Tool (Uninstallation)"
error_report = NO
if_success = regadd
if_error = inst_error
;------------------------------------------------------
[regadd]
command = set_reg_value
key_name = "HKEY_LOCAL_MACHINE\SOFTWARE\MELCO INC\MelSetup\UN900120"
value1 = Version, DWORD, 66048
;if_success = inst_done
if_success = Check_argument
if_error = inst_error
;------------------------------------------------------
[Check_argument]
command = check_argument
if_value_D = Execute_App
if_other = inst_done
[Execute_App]
command = execute_app
type = WAIT
file1 = "$PROG$\BUFFALO\Wlan40M\Wlan40M.exe"
option1 = /h
if_success = inst_done
if_error = inst_done
;------------------------------------------------------
[inst_done]
command = sleep
time = 1
goto =quit_success
[quit_success]
command = quit
return = 0
[quit_error]
command = quit
return = 1
[quit_cancel]
command = quit
return = 2
;------------------------------------------------------
;===========================================================================
;
; ACXg[ú»
;
;===========================================================================
[uninstall]
command = disp_dialog
string1 = "Click Start to uninstall or Cancel to quit."
string2 = ""
string3 = ""
string4 = ""
button2 = Start, uninst_find
button3 = Cancel, QUIT
focus = 2
;------------------------------------------------------
[uninst_error]
command = disp_msg_box
string_num = 3
string1 = "Failed uninstalaltion of BUFFALO AirStation Bandwidth 20/40MHz Select Tool."
string2 = "Try again after restarting computer."
string3 = ""
button = OK
option = STOP
if_ok_yes = QUIT
;------------------------------------------------------
[uninst_find]
command = find_app
file = Wlan40M.exe
option = STOP
if_success = uninst_sleep_y
if_error = uninst_del_file
[uninst_sleep_y]
command = sleep
time = 500
goto = uninst_find
;------------------------------------------------------
[uninst_del_file]
command = xdelete
dst = "$PROG$\BUFFALO\Wlan40M"
if_success = uninst_del_group
if_error = uninst_del_group
;------------------------------------------------------
[uninst_del_group]
command = del_file
if_success = uninst_del_uninst_data
if_error = uninst_del_uninst_data
file_path1 = "$MENUGRPB$\AirStation Utility\AirStation Bandwidth 20 or 40MHz Select Tool.lnk"
file_path2 = "$MENUGRPB$\AirStation Utility\Uninstallation of AirStation Bandwidth 20 or 40MHz Select Tool.lnk"
folder_path1 = "$MENUGRPB$\AirStation Utility", RECURSIVE
folder_path2 = "$PROG$\BUFFALO\Wlan40M", RECURSIVE
;------------------------------------------------------
[uninst_del_uninst_data]
command = del_uninst_info
if_success = uninstalled_msg
if_error = uninstalled_msg
;------------------------------------------------------
[uninstalled_msg]
command = disp_msg_box
string1 = "Buffalo AirStation Bandwidth 20/40MHz Select Tool has been uninstalled successfully."
button = OK
if_ok_yes = QUIT
;------------------------------------------------------
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.