home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 July
/
VPR9607B.BIN
/
driver
/
canon
/
shot
/
nt35lbp
/
nt35
/
printer.inf
< prev
next >
Wrap
INI File
|
1996-01-11
|
14KB
|
338 lines
[Identification]
OptionType = PRINTER
[Options]
"Canon LaserShot A304E LIPS3" = lipsui, cn_a304e, lips
"Canon LaserShot A304E2 LIPS3" = lipsui, cna304e2, lips
"Canon LaserShot A304G2 LIPS3" = lipsui, cna304g2, lips
"Canon LaserShot A309G2 LIPS3" = lipsui, cna309g2, lips
"Canon LaserShot A404 LIPS3" = lipsui, cn_a404, lips
"Canon LaserShot A404E LIPS3" = lipsui, cn_a404e, lips
"Canon LaserShot A404F LIPS3" = lipsui, cn_a404f, lips
"Canon LaserShot A404G2 LIPS3" = lipsui, cna404g2, lips
"Canon LaserShot A405Jr. LIPS3" = lipsui, cna405jr, lips
"Canon LaserShot B406D LIPS3" = lipsui, cn_b406d, lips
"Canon LaserShot B406E LIPS3" = lipsui, cn_b406e, lips
"Canon LaserShot B406E2 LIPS3" = lipsui, cnb406e2, lips
"Canon LaserShot B406G LIPS3" = lipsui, cn_b406g, lips
"Canon LaserShot B406G2 LIPS3" = lipsui, cnb406g2, lips
"Canon LaserShot B406S LIPS3" = lipsui, cn_b406s, lips
[Identify]
read-syms Identification
set Status = STATUS_SUCCESSFUL
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
Return $(Status) $(Identifier) $(Media)
[ReturnOptions]
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
goto returnoptions
else
set Status = STATUS_NOLANGUAGE
goto finish_ReturnOptions
endif
returnoptions = +
set OptionList = ^(Options, 0)
set OptionTextList = ^(OptionsText$($0), 1)
set Status = STATUS_SUCCESSFUL
finish_ReturnOptions = +
Return $(Status) $(OptionList) $(OptionTextList)
[InstallOption]
set Status = STATUS_FAILED
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
else
set Status = STATUS_NOLANGUAGE
goto finish_InstallOption
endif
read-syms Strings$($0)
set OptionList = ^(Options, 0)
ifcontains $(Option) in $(OptionList)
else
goto finish_InstallOption
endif
set OptionList = ""
set ConfigOption = #(Options, $(Option), 1)
set DataOption = #(Options, $(Option), 2)
set DriverOption = #(Options, $(Option), 3)
installtheoption = +
ifstr(i) $(AddCopy) == "YES"
install Install-AddCopyOption
ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
Debug-Output "Adding video files to copy list failed"
goto finish_InstallOption
endif
endif
ifstr(i) $(DoCopy) == "YES"
read-syms ProgressCopy$($0)
install Install-DoCopyOption
ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
Debug-Output "Copying files failed"
goto finish_InstallOption
else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
set Status = STATUS_USERCANCEL
goto finish_InstallOption
endif
endif
ifstr(i) $(DoConfig) == "YES"
set DriverPath = $(!STF_PRNDRIVERPATH)"\"#(Files-PrinterDriver, $(DriverOption), 2)
set DataFilePath = $(!STF_PRNDRIVERPATH)"\"#(Files-PrinterData, $(DataOption), 2)
set ConfigFilePath = $(!STF_PRNDRIVERPATH)"\"#(Files-PrinterConfig, $(ConfigOption), 2)
LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(DriverPath)
ifstr(i) $(STATUS) == YES
LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(DataFilePath)
ifstr(i) $(STATUS) == YES
LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(ConfigFilePath)
endif
endif
ifstr(i) $(STATUS) == NO
set OptionText = #(OptionsText$($0), $(Option), 1)
shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String4)$(OptionText)$(String5)
Debug-Output "Copying printer files failed"
goto finish_InstallOption
endif
install Install-Configure
ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
Debug-Output "Installing printer driver failed"
goto finish_InstallOption
else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
set Status = STATUS_USERCANCEL
goto finish_InstallOption
endif
ifstr(i) $(STATUS) != "ADDED"
set OptionText = #(OptionsText$($0), $(Option), 1)
ifstr(i) $(STATUS) == "PRESENT"
shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String1)$(OptionText)$(String2)
set Status = STATUS_SUCCESSFUL
else-ifstr(i) $(STATUS) == "DENIED"
shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String6)
else
shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String1)$(OptionText)$(String7)
endif
goto finish_InstallOption
endif
endif
set Status = STATUS_SUCCESSFUL
finish_InstallOption = +
Return $(Status)
[Install-AddCopyOption]
set STF_VITAL = ""
set STF_OVERWRITE = "VERIFYSOURCEOLDER"
AddSectionKeyFileToCopyList Files-PrinterConfig +
$(ConfigOption) +
$(SrcDir) +
$(!STF_PRNDRIVERPATH)
AddSectionKeyFileToCopyList Files-PrinterData +
$(DataOption) +
$(SrcDir) +
$(!STF_PRNDRIVERPATH)
AddSectionKeyFileToCopyList Files-PrinterDriver +
$(DriverOption) +
$(SrcDir) +
$(!STF_PRNDRIVERPATH)
AddSectionKeyFileToCopyList Files-PrinterDriverHelp +
$(DriverOption) +
$(SrcDir) +
$(!STF_PRNDRIVERPATH)
exit
[Install-DoCopyOption]
CopyFilesInCopyList
exit
[Install-Configure]
set Model = $(Option)
set Driver = #(Files-PrinterDriver, $(DriverOption), 2)
set DataFile = #(Files-PrinterData, $(DataOption), 2)
set ConfigFile = #(Files-PrinterConfig, $(ConfigOption), 2)
LibraryProcedure STATUS,$(!LIBHANDLE), SetupAddPrinterDriver +
$(Model) +
$(!STF_PRNENVIRONM) +
$(Driver) +
$(DataFile) +
$(ConfigFile) +
$(!STF_PRINTSERVER)
exit
[ExternalInstallOption]
Set !G:DebugOutputControl = 0
set Exit_Code = $(!SETUP_ERROR_GENERAL)
set DrivesToFree = {}
install LoadSetupLibrary
ifstr(i) $(STF_LANGUAGE) == ""
goto end
else-ifstr(i) $(OPTION) == ""
goto end
else-ifstr(i) $(ADDCOPY) == ""
goto end
else-ifstr(i) $(DOCOPY) == ""
goto end
else-ifstr(i) $(DOCONFIG) == ""
goto end
endif
read-syms PlatformID
read-syms ProductType
ifstr(i) $(STF_PLATFORM) == $(PlatformID_I386)
set STF_PRNPLATFORM = "w32x86"
set STF_PRNENVIRONM = "Windows NT x86"
else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_Mips)
set STF_PRNPLATFORM = "w32mips"
set STF_PRNENVIRONM = "Windows NT R4000"
else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_Alpha)
set STF_PRNPLATFORM = "w32alpha"
set STF_PRNENVIRONM = "Windows NT Alpha_AXP"
else
goto end
endif
read-syms UiVars
detect UiVars
read-syms Strings$(STF_LANGUAGE)
ifstr(i) $(STF_SRCDIR) != $(STF_CWDDIR)
goto skip_asksource
endif
set STF_SRCDIR = A:\
shell "registry.inf" GetNTSource
ifint $($ShellCode) != $(!SHELL_CODE_OK)
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
else
set STF_SRCDIR = $($R1)
endif
shell "subroutn.inf" DoAskSource $(STF_SRCDIR)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "shelling DoAskSource failed"
goto end
endif
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set STF_SRCDIR = $($R1)
ifstr(i) $($R2) != ""
set DrivesToFree = >($(DrivesToFree), $($R2))
endif
else
goto end
endif
skip_asksource = +
LibraryProcedure IsFullPath, $(!LIBHANDLE), CheckPathFullPathSpec $(STF_PRNDRIVERPATH)
ifstr(i) $(IsFullPath) == "NO"
LibraryProcedure STATUS, $(!LIBHANDLE), ProcessForUNC $(STF_PRNDRIVERPATH)
ifstr(i) $(STATUS) == "ERROR"
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)
goto end
else-ifstr(i) $(STATUS) == "NOT-UNC"
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)
goto end
else-ifstr(i) $(STATUS) == "UNC-FAILCONNECT"
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)
goto end
else
set STF_PRNDRIVERPATH = $(STATUS)
endif
endif
shell "" InstallOption $(STF_LANGUAGE) $(OPTION) $(STF_SRCDIR) $(ADDCOPY) $(DOCOPY) $(DOCONFIG)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "Execing InstallOption failed"
goto end
endif
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set Exit_Code = $(!SETUP_ERROR_SUCCESS)
else-ifstr(i) $($R0) == STATUS_USERCANCEL
set Exit_Code = $(!SETUP_ERROR_USERCANCEL)
endif
end =+
ForListDo $(DrivesToFree)
LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
EndForListDo
install FreeSetupLibrary
exit
[LoadSetupLibrary]
LoadLibrary "x" $(!STF_CWDDIR)setupdll.dll !LIBHANDLE
exit
[FreeSetupLibrary]
FreeLibrary $(!LIBHANDLE)
exit
[PlatformID]
PlatformID_I386 = I386
PlatformID_Mips = Mips
PlatformID_Alpha = Alpha
[UiVars]
STF_CONTROLSET = CurrentControlSet
STF_WINDOWSPATH = "" ? $(!LIBHANDLE) GetWindowsNtDir
STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
STF_PRNDRIVERPATH = "" ? $(!LIBHANDLE) GetPrinterDriverDir $(!STF_PRINTSERVER) $(!STF_PRNENVIRONM)
[Source Media Descriptions]
1 = "Canon LIPS3 Install Disk" , TAGFILE = disk1
2 = "Windows NT Setup CD-ROM Disk" , TAGFILE = disk2
[ProductType]
STF_PRODUCT = Winnt
STF_PLATFORM = I386
[Files-PrinterConfig]
lipsui = 1,LIPS3UI.DLL,SIZE=161376
[Files-PrinterData]
cn_a304e = 1,CN_A304E.CPD , SIZE=5245
cna304e2 = 1,CNA304E2.CPD , SIZE=5210
cna304g2 = 1,CNA304G2.CPD , SIZE=5184
cna309g2 = 1,CNA309G2.CPD , SIZE=5124
cn_a404 = 1,CN_A404.CPD , SIZE=4604
cn_a404e = 1,CN_A404E.CPD , SIZE=4605
cn_a404f = 1,CN_A404F.CPD , SIZE=5238
cna404g2 = 1,CNA404G2.CPD , SIZE=5047
cna405jr = 1,CNA405JR.CPD , SIZE=4635
cn_b406d = 1,CN_B406D.CPD , SIZE=4661
cn_b406e = 1,CN_B406E.CPD , SIZE=4673
cnb406e2 = 1,CNB406E2.CPD , SIZE=4729
cn_b406g = 1,CN_B406G.CPD , SIZE=5193
cnb406g2 = 1,CNB406G2.CPD , SIZE=5195
cn_b406s = 1,CN_B406S.CPD , SIZE=4587
[Files-PrinterDriver]
lips = 1,LIPS3.DLL,SIZE=881872
[Files-PrinterDriverHelp]
lips = 1,LIPS3.HLP,SIZE=48164
[LanguagesSupported]
ENG
[OptionsTextENG]
"Canon LaserShot A304E LIPS3" = "Canon LaserShot A304E LIPS3"
"Canon LaserShot A404 LIPS3" = "Canon LaserShot A404 LIPS3"
"Canon LaserShot A404E LIPS3" = "Canon LaserShot A404E LIPS3"
"Canon LaserShot A404F LIPS3" = "Canon LaserShot A404F LIPS3"
"Canon LaserShot A405Jr. LIPS3" = "Canon LaserShot A405Jr. LIPS3"
"Canon LaserShot B406D LIPS3" = "Canon LaserShot B406D LIPS3"
"Canon LaserShot B406E LIPS3" = "Canon LaserShot B406E LIPS3"
"Canon LaserShot B406G LIPS3" = "Canon LaserShot B406G LIPS3"
"Canon LaserShot B406S LIPS3" = "Canon LaserShot B406S LIPS3"
"Canon LaserShot A304E2 LIPS3" = "Canon LaserShot A304E2 LIPS3"
"Canon LaserShot A304G2 LIPS3" = "Canon LaserShot A304G2 LIPS3"
"Canon LaserShot A404G2 LIPS3" = "Canon LaserShot A404G2 LIPS3"
"Canon LaserShot B406E2 LIPS3" = "Canon LaserShot B406E2 LIPS3"
"Canon LaserShot B406G2 LIPS3" = "Canon LaserShot B406G2 LIPS3"
"Canon LaserShot A309G2 LIPS3" = "Canon LaserShot A309G2 LIPS3"
[StringsENG]
String1 = "プリンタ "
String2 = " はすでに組み込まれています。"
String3 = "プリント サーバーへの接続に失敗しました。"
String4 = "プリンタ のドライバ ファイル"
String5 = "をコピーできませんでした。このプリンタの組み込みに失敗しました。"
String6 = "アクセスが拒否されました。この操作を行うには、管理者グループの"+
"メンバーとしてログオンしなければなりません。"
String7 = "を組み込むことができませんでした。"
[ProgressCopyENG]
ProCaption = "Windows NT セットアップ"
ProCancel = "キャンセル"
ProCancelMsg = "Windows NT は正しく組み込まれていません。"+
"ファイルのコピーを中止しますか?"
ProCancelCap = "セットアップ メッセージ"
ProText1 = "コピー元:"
ProText2 = "コピー先:"