home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Christina Aguilera - Follow Your Dreams
/
Christina.Aguilera.Follow.Your.Dreams.V1.0.2000.Three.Wishes.CD.7z
/
Christina.Aguilera.Follow.Your.Dreams.V1.0.2000.Three.Wishes.CD
/
Christina.mdf
/
Support
/
Setup
/
setupcmn.ini
< prev
next >
Wrap
INI File
|
2000-10-11
|
31KB
|
839 lines
;========================================
[Component]
; Various components added to this product
; Currently, no product uses this.
;========================================
;100=Add Component %[Product]product% %[product]MinHDSpace%
;110=Add Component J-Mail 15M
;120=Add Component Around%space%the%space%World%space%Game 200M
;130=Add Component PRC 15M
;========================================
[InstallComponet]
; Install Other Components
; Currently, no product uses this.
;========================================
;900=Compare componentIsSelected %[Product]product%
;905=if TRUE [InstallProduct]
;910=Compare componentIsSelected J-Mail
;915=if TRUE [InstallJmail]
;920=Compare componentIsSelected Around%space%the%space%World%space%Game
;925=if TRUE [InstallAroundTheWorld]
;========================================
; Used by [Requirement]
;========================================
[CannotRunInWin16]
100=Ask Ok=Require=Title=CannotRunInWin31=SEVERE
[HiColorRequired]
100=Ask Ok=Require=Title=HiColorRequired=WARNING
[NotEnoughMemory]
100=Ask Ok=Require=Title=NotEnoughMemory=WARNING
;========================================
[Init]
; Init and do when starting setup
; before EULA.
;========================================
Scr1=Set Bitmap=%SetupPath%\INSTIMG.BMP
010=Set UseNewCDPath=1
020=Set CDPath=%SetupPath%\..\..\
100=Set Company=Knowledge%Space%Adventure
105=Set DefaultStartMenuFolder=%Company%
110=Set EulaFile=%SetupPath%\Eula.txt
;120=Set Lang=ENG
120=Set StrIniFile=%SetupPath%\strENG.INI
; The string file to use (ENG) = English ie STRENG.ini
130=Set GlobalIniFile=%WinDir%\KA.INI
; The Product's ini file name in windows directory
; aka Global INI File
;135=Set GlobalHDPath=[main],path
; For older shortfilename only product
135=Set GlobalHDPath=[main],kapath
140=Set UseLongFileName=TRUE
;
;200=Set DefaultHDPath=C:\KA\
210=Set DefaultHDPath=%ProgramFiles%%Company%\
; Must end all Path with \\. If not, it will err.
250=Set StartMenuFolder=[main],StartMenuFolder
300=Set ProductTitle=[product],Product
310=Set ShortTitle=[product],ShortTitle
320=Set ProductVer=[product],Ver
330=Set MinHDSpace=[Product],MinHDSpace
;========================================
[ICON]
; Icons for all platforms
;========================================
; anything not mentioned here is assumed default.
; %WinDir% already has \ at the end of its string,
; so there shouldn't be an extra \ between it and WinHelp.EXE
05=Show Message=Icon,InstallingIcon
10=Compare IsWin16
20=If TRUE=[Icon_w16]
30=If FALSE=[ICON_w32]
40=Show Message=0
; 40-> turn off message
;========================================
[CheckIfNewerVersionExist]
;========================================
120=Compare IniVer,%GlobalIniFile%,%ShortTitle%,GoldVer=%[product]ver%
130=If Less_Than=RETURN
150=If Equals=RETURN
200=Ask YesNo Product,Title,OverwriteNewerVersion,No
300=If Yes RETURN
310=ExitInstall
;========================================
[WouldYouLikeToInstall]
;========================================
100=Ask YesNo Product,Title,WouldYouLikeToInstall,YES
110=If Yes RETURN
120=ExitInstall
;========================================
[DontInstallIfAlreadyInstalled]
; If it is installed already, quit. It can be called only from cmdline arg.
; ie "setup.exe [dontInstallIfAlreadyInstalled]"
;========================================
120=Compare IniVer,%GlobalIniFile%,%ShortTitle%,GoldVer=%[product]ver%
130=If Less_Than=RETURN
310=ExitInstall
;========================================
[ini]
; Writes INI file to user's HD.
; (1) install [iniList]
; (2) if Win32, also do [ini32]. else do [ini16]
; (3) run [ProductIni]
; NOTE: it is executed in given order.
; ?compare Win32 is not implemented yet.
;========================================
100=[iniList]
200=compare IsWin32
400=If False=[Ini16]
500=If TRUE=[ini32]
600=[ProductIni]
;========================================
[iniList]
; saves entries to ini files.
;========================================
KA100=IniOp,c,%WINDIR%\ka.ini=Video=NoWarnings=1
KA110=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=ProductHDRoot=%HDPath%\%ShortTitle%
KA120=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=ProductCDRoot=%CDPath%
KA130=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=GoldVer=%Ver%
KA140=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=Memory=%ExtendedMemoryStr%
KA150=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=CDDrv=%CDDrive%
KA160=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=CDVol=%CDVol%
;KA160=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=CDVol=%[Product]CDVolName%
KA170=IniOp,c,%WINDIR%\ka.ini=History=%ShortTitle%:%Ver%=%Date%@%Time%
;KA180=IniOp cu=%WINDIR%\ka.ini=MAIN=PATH=%HDPath%\
; Short path is above
KA180=IniOp cu=%WINDIR%\ka.ini=MAIN=KAPATH=%HDPath%\
KA190=IniOp cu=%WINDIR%\ka.ini=MAIN=StartMenuFolder=%StartMenuFolder%\
KeyFile=IniOp cu=%HDPath%\%ShortTitle%\%ShortTitle%.key=Product=ShortTitle=%ShortTitle%
;------ New BW
;BW110=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=HDPath=%HDPath%\%ShortTitle%
;BW120=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=CDpath=%CDPath%\%ShortTitle%
;BW140=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=SavePath=%HDPath%\%ShortTitle%
;------ BROADWAY PRODUCTS ---------------------
;10=%HDPath%\%ShortTitle%.ini=Paths=HDPath=%HDPath%\%ShortTitle%
;11=%HDPath%\%ShortTitle%.ini=Paths=SoundHDPath=%HDPath%\%ShortTitle%
;12=%HDPath%\%ShortTitle%.ini=Paths=CDPath=%CDPath%\%ShortTitle%\
;13=%HDPath%\%ShortTitle%.ini=Paths=SoundCDPath=%CDPath%\%ShortTitle%\
;14=%HDPath%\%ShortTitle%.ini=Paths=ProgressReportPath=%HDPath%\%ShortTitle%
;15=%HDPath%\bw.ini=Video=NoWarnings=1
; prevents "best in 256 color" msg
;------ NEW BROADWAY PRODUCTS ---------------------
;22=IniOp,c,%HDPath%\ka.ini=Paths=ProgresReportPath=%HDPath%\%ShortTitle%\
;23=%WINDIR%\ka.ini=%ShortTitle%=HDPath=%HDPath%\%ShortTitle%\
;24=%WINDIR%\ka.ini=%ShortTitle%=CDPath=%CDPath%\
;25=%WINDIR%\ka.ini=%ShortTitle%=SavePath=%HDPath%\%ShortTitle%\
;26=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=CDDataPath=%CDPath%\%ShortTitle%\
; prevents "best in 256 color" msg
;-- (below) Not used???
;11=%WINDIR%\ka.ini=%ShortTitle%=SoundHDPath=%HDPath%\%ShortTitle%\
;13=%WINDIR%\ka.ini=%ShortTitle%=SoundCDPath=%CDPath%\%ShortTitle%\
;------ ACE with True Color ---------------------
;ace10=IniOp c,%WINDIR%\ka.ini=main=TrueColorEnabled=yes
;ace20=IniOp c,%WINDIR%\ka.ini=%ShortTit%=TrueColorEnabled=yes
;ace30=IniOp c,%WINDIR%\ka.ini=%ShortTitle%=ProgressReportPath=%HDPath%\%ShortTitle%\
;------ ACE with QTW and AceUseQTW=TRUE--------------
;ace40=FileOp c,0,%CDPath%\Support\WinSys\KAVSND.drv=%WINSYSDIR%\
;========================================
[BroadwayIni]
; LATEST BROADWAY. If Messages.ini is not present, add HDPath.
;========================================
BW100=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=CDpath=%CDPath%\%ShortTitle%
;BW110=IniOp,c,%WINDIR%\ka.ini=Main=WDQ=Low
BW115=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=ProgressReportPath=%HDPath%\%ShortTitle%\
;========================================
[SttbIni]
; STTB ini entries
;========================================
;STTB120=IniOp,c,%WINDIR%\ka.ini=%[product]sttbName%=HDpath=%HDPath%\%ShortTitle%\
STTB130=IniOp,c,%WINDIR%\ka.ini=%[product]sttbName%=Version=%[Product]Ver%
STTB140=IniOp,c,%WINDIR%\ka.ini=%[product]sttbName%=NetStar=1
;STTB120=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=HDpath=%HDPath%\%ShortTitle%\
;STTB130=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=Version=%[Product]Ver%
;STTB140=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=NetStar=1
;========================================
[Ini32]
; Win32 specific ini entries
;========================================
;100=IniOp c,%WINDIR%\ka.ini=%ShortTitle%=Test=Win32Pass
;========================================
[Ini16]
; Win3.1x specific ini entries
;========================================
;100=IniOp c,%WINDIR%\ka.ini=%ShortTitle%=Test=Win16Pass
;========================================
[register]
; Install and Uninstall registration
;========================================
100=InstallInfo %Company%,%Product%,%Ver%,%ShortTitle%.EXE
130=UninstallInfo %HDPath%\%ShortTitle%\,%ShortTitle%,%Product%
;========================================
[Copy]
;========================================
100=Enable Status
150=Set StatusWindow 0,system,installingto
170=[ProductCopy]
;200=FileOp c,50,%CDPath%\Support\Cmn\*.*,%HDPath%\
200=FileOp c,70,%CDPath%\%ShortTitle%\HDFiles\*.*,%HDPath%\
250=FileOp c,90,%CDPath%\%ShortTitle%\Resource\HDFiles\*.*,%HDPath%\%ShortTitle%\
300=Compare IsWin16
310=If TRUE=[CopyW16]
320=If TRUE=RETURN
;w32=FileOp c,99,%CDPath%\Support\W32\*.*,%HDPath%\
;800=FileOp cn,99,%SetupPath%\..\WinSys\Normal\w9x\*.*,%HDPath%\%ShortTitle%\System\
;810=FileOp cs,99,%SetupPath%\..\WinSys\Shared\w9x\*.*,%HDPath%\%ShortTitle%\System\
;820=FileOp cr,99,%SetupPath%\..\WinSys\Register\w9x\*.*,%HDPath%\%ShortTitle%\System\
;830=FileOp cl,99,%SetupPath%\..\WinSys\Locked\w9x\*.*,%HDPath%\%ShortTitle%\System\
800=FileOp cnv,99,%SetupPath%\..\WinSys\Normal\w9x\*.*,%WinSysDir%
810=FileOp csuv,99,%SetupPath%\..\WinSys\Shared\w9x\*.*,%WinSysDir%
820=FileOp crv,99,%SetupPath%\..\WinSys\Register\w9x\*.*,%WinSysDir%
830=FileOp cluv,99,%SetupPath%\..\WinSys\Locked\w9x\*.*,%WinSysDir%
900=Disable Status
950=InstallFont %SetupPath%\..\Font\
;========================================
[NetServer]
; Only if this is a network product
;========================================
30=Set ProductTitle=%product%%Space%-%Space%Network%Space%Admin%Space%Setup
31=Set ShortTitle=[product],ShortTitleServer
33=Set MinHDSpace=[Product],MinNetHDSpace
35=Set AllowRootInstall=TRUE
100=Set NetworkInstall=1
; 1=Server, 2=Client
105=Set UseLongFileName=TRUE
110=Set CustomInstall=TRUE
120=Set DefaultHDPath=N:\KA\
;130=Set GlobalHDPath=N:\KA\
130=Set GlobalHDPath=
140=Disable BackButton
145=Set DefaultHDFolder=KA
150=Ask HDPath MAP_DRIVE
160=Enable BackButton
170=If BACK goto 110
180=Set TARGETDIR=%HDPath%
190=Set StatusWindow=0,System,InstallingTo
; includes every dialogs
200=[registerServer]
300=[copyServer]
; make sure copy is done before INI since some ini files need to be uninstalled.
350=Disable=Exit
; Disable F3/Exit button
;400a=[Ini]
;400=IniOp cu=%HDPath%\ka.ini=MAIN=NETPATH=%HDPath%
500=ereg
;600=Ask OK=Network,ServerFinalTitle,ServerFinalMsg
700=launch %HDPath%\Prods\%ShortTitle%\CDPath\admsetup.exe,,NOWAIT
800=ExitInstall
;========================================
[copyServer]
; Copies file for server app
;========================================
100=Enable Status
200=FileOp c,99,%CDPath%\%ShortTitle%\*.*,%HDPath%\Prods\%ShortTitle%\
900=Disable Status
;========================================
[NetClient]
; Only if this is a network product
; $1=KARoot, $2=NetKAUSer
;========================================
30=Set ProductTitle=%product%%Space%-%space%Network%Space%Edition
40=Set UseLongFileName=TRUE
100=Set NetworkInstall=2
; 1=Server, 2=Client
;Test1=Set DEBUG=TRUE
;TEST=set #1=[ClientSetup],Uninstall
;TEST2=ask debug %#1%
110=Set $1=StripDir 3 %CDPath%
112=Compare IsAlwaysAdmin
114=If 1 goto 150
;Check if it already has NetInst.INI, stop here and jump to ClientCopy
120=Set #1=[ClientSetup],ClientSetup
130=Compare #1
140=if 1 [ClientCopy]
150=Set CustomInstall=TRUE
;Ask location of KAUsers\
200=Disable BACKBUTTON
;205=Ask Debug %$1%\Users
210=Ask Path Network AskClientUserSavePath %$1%\Users
220=Enable BACKBUTTON
230=Set NetKAUsers=%AskPathResult%
240=IniOp cu %CDPath%\NETINST.ini,ClientSetup,KARoot,%$1%
250=IniOp cu %CDPath%\NETINST.ini,ClientSetup,KAUsers,%NetKAUsers%
260=IniOp cu %CDPath%\NETINST.ini,ClientSetup,ProdUsers,%NetKAUsers%\%ShortTitle%
270=IniOp cu %CDPath%\NETINST.ini,ClientSetup,ProdDir,%CDPath%
280=IniOp cu %CDPath%\NETINST.ini,ClientSetup,ClientSetup,1
300=Ask Path Network AskClientDefaultPath C:\ka
310=If BACK goto 200
320=Set HDPath=%AskPathResult%
330=Set TargetDir=%HDPath%
340=IniOp cu %CDPath%\NETINST.ini,ClientSetup,HDRoot,%HDPath%
;Uninstall
400=Ask InstallOption NetworkAskUninstallControlPanel,1,#1
410=If BACK goto 300
420=if 1 [NetworkUninstallClientYes]
430=if 2 [NetworkUninstallClientNo]
;Start Menu
450=Set StartMenuFolder=%Company%
500=Ask StartMenuFolder
510=If BACK goto 400
520=IniOp cu %CDPath%\NETINST.ini,ClientSetup,IcoDest,%StartMenuFolder%
; Only ONCE for NETWORK CLIENT ADMIN install with Assessment TEST
;1=%CDRoot%\..\QPath\paths.ini=Paths=ATestPath=%NetKAUsers%\ATest
;1=%CDRoot%\..\QPath\paths.ini=Paths=ATestPath=%KARoot%Prods\ATest
; Only ONCE for NETWORK CLIENT ADMIN install with PRC to install
;2=%CDRoot%\..\QPath\paths.ini=Paths=PRCPath=%PRCSavePath%
;For BW products
;3=%CDRoot%\..\QPath\paths.ini=Paths=CDPath=%ProdDir%\%ShortTit%
;4=%CDRoot%\..\QPath\paths.ini=Paths=SavePath=%ProdUsers%
600=IniOp c %WINDIR%\ka.ini,ATest,HDPath,%NetKAUsers%\ATest
700=Ask TextFile %CDPath%\Support\NClient.TXT
710=If BACK goto 500
; Create Users Folder
750=fileOP cu 0 %CDPath%\NoName.txt,%NetKAUsers%\%ShortTitle%\
800=[ClientCopy]
[NetworkUninstallClientYes]
10=IniOp cu %CDPath%\NETINST.ini,ClientSetup,Uninstall,1
[NetworkUninstallClientNo]
10=IniOp cu %CDPath%\NETINST.ini,ClientSetup,Uninstall,0
[ClientCopy]
; register, Copy files, ini, & icons
120=Set StartMenuFolder=[ClientSetup],IcoDest
130=Set HDPath=[ClientSetup],HDRoot
140=Set TARGETDIR=%HDPath%
145=set #1=[ClientSetup],Uninstall
150=Compare #1
160=if 1 [Register]
; Makes sure it doesn't show askhdpath dialog again if coming from [NetClient] since it already
; asked the path by setting customInstall=FALSE, and checking if path is valid by AskHDPATH
200=Set CustomInstall=FALSE
205=Disable BACKBUTTON
210=Ask HDPath
; Ask HDPath in this case only checks for valid path and issues warning if not.
215=Enable BACKBUTTON
250=[Copy]
300=Disable=Exit
; Disable F3/Exit button
400=[Ini]
BW130=Set $1=[ClientSetup],ProdUsers
BW140=IniOp,c,%WINDIR%\ka.ini=%ShortTitle%=SavePath=%$1%
500=[Icon]
;700=[ViaVoice53]
; ViaVoice only for PhonicsNet
990=[End]
;========================================
[QuickTime4]
; QuickTime install
;========================================
100=compare FileVerPointedByReg=HKEY_CLASSES_ROOT,QuickTime.mov\Shell\Open\Command,,4.0.1.0
;400=If Greater_Than [QuickTime_FutureVer]
450=If Greater_Than RETURN
470=If Equals RETURN
500=Ask Ok=QuickTime4,title,txt,INFORMATION
600=If No RETURN
;700=launch %CDPath%\QuickTime\QuickTimeInstaller.exe,,TRUE
;700=launch %CDDrive%\QuickTime\QuickTimeInstaller.exe,,TRUE
700=launch %SetupPath%\..\UtilDisk\QuickTime\QuickTimeInstaller.exe,,TRUE
;800=[Quicktime_preference]
;========================================
[QuickTime_FutureVer]
; QuickTime install if user already
; has newer version installed.
;========================================
500=Ask YesNo=QuickTime4_FutureVer=title=txt=YES
600=If No=RETURN
;700=launch %CDPath%\QuickTime\QuickTimeInstaller.exe,,WAIT
700=launch %CDDrive%\QuickTime\QuickTimeInstaller.exe,,WAIT
;========================================
[quicktime_preference]
; saves quicktime preference for certain system
;========================================
50=FileOp r,0,%WINSYSDIR%\quicktime.qtp,%WINSYSDIR%\quicktime.qtp.bak
100=compare System.waveOutNumDevs
200=If 1 [quickTime_preference_A]
250=If 1 RETURN
;400=FileOp c,0,%CDPath%\QuickTime\quicktime.qtp,%WINSYSDIR%
400=FileOp c,0,%CDDrive%\QuickTime\quicktime.qtp,%WINSYSDIR%
;========================================
[quicktime_preference_A]
;========================================
;400=FileOp c,0,%CDPath%\QuickTime\quicktime2.qtp,%WINSYSDIR%
400=FileOp c,0,%CDDrive%\QuickTime\quicktime2.qtp,%WINSYSDIR%
410=FileOp r,0,%WINSYSDIR%\quicktime2.qtp,%WINSYSDIR%\quicktime.qtp
;========================================
[att]
; Something to launch at end (ie AT&T/autorun)
;========================================
100=compare IsWin16
110=If TRUE,RETURN
120=compare RegKeyExists,HKEY_LOCAL_MACHINE,SOFTWARE\AT&T\AT&T WorldNet Software
130=If TRUE,RETURN
150=Ask YESNO att,title,text,YES
160=If FALSE RETURN
200=launch %CDPath%\att\setup.exe,,WAIT
300=show TextFileMessageBox,%SetupPath%\isp.txt
;========================================
[PRC]
;========================================
100=launch %CDPath%\PRC\setup.ins,install%equal%DontInstallIfAlreadyInstalled%space%install%equal%WouldYouLikeToInstall%space%set%equal%_AskCustomInstall%equal%%IsCustomInstall%%space%set%equal%noend%equal%true,WAIT
;========================================
[JavaVM]
; not tested yet.
;========================================
100=Compare FileVer=%WinDir%\jview.exe=5.00.3181
120=If GREATER_THAN RETURN
140=If EQUALS RETURN
200=Ask YesNo JavaVM,Title,Text,Yes
210=If FALSE RETURN
500=launch %CDPath%\javavm\Msjavx86.exe,-q,WAIT
;========================================
[STDOLE_TLB]
; PLAYWTT, DBACTREA
; comes after copying system/shared files
;========================================
400=launch %WinDir%\rundll32.exe,%CDPath%\_regtlb.dll%Comma%RegTlbFile32%Space%%WINSYSDIR%\stdole2.tlb,WAIT
;========================================
[MSVCRT_DLL]
; Used by JMAIL, ATLAS app
;========================================
120=compare FileVer=%WinSysDir%\msvcrt.dll=6.00.00.0000
130=If Less_Than goto 500
200=compare FileVer=%WinSysDir%\msvcirt.dll=6.00.00.0000
230=If Less_Than goto 500
240=If Greater_Than Return
250=If Equals Return
500=Set Reboot 1
;;; 100=FileOp csuv,99,%SetupPath%\..\WinSys\msvcrt.dll,%WinSysDir%
;;; 110=FileOp csuv,99,%SetupPath%\..\WinSys\msvcirt.dll,%WinSysDir%
;;; File are copied automatically from Support\winsys\shared\..
;========================================
[OLEAUT32_DLL]
; Used by Baby2 customization app
;========================================
120=compare FileVer=%WinSysDir%\oleaut32.dll=2.40.0000.0000
240=If Greater_Than Return
250=If Equals Return
500=Set Reboot 1
;;; 600=FileOp cruv,99,%SetupPath%\..\WinSys\oleaut32.dll,%WinSysDir%
;========================================
[SHDOCVW_DLL]
; Used by Baby2 customization app
;========================================
100=Compare FileExists %WinSysDir%\shdocvw.dll
115=if TRUE return
500=Set Reboot 1
600=FileOp cruv,99,%SetupPath%\..\WinSys\shdocvw.dll,%WinSysDir%
;;; 600=FileOp cr,99,%SetupPath%\..\WinSys\shdocvw.dll,%HDPath%\%ShortTitle%\
;========================================
[DirectX70]
; DirectX install
; [DirectX70] should be replaced by user Macro
;========================================
50=Compare IniVer,%GlobalIniFile%,main,directxver=4.07.00.0700
60=if equals return
70=if greater_than return
100=compare FileVer=%WinSysDir%\ddraw.dll=4.07.00.0700
130=If Greater_Than=RETURN
150=If Equals=RETURN
200=Ask YesNo=DirectX70,Title,Text,OK
300=If No=RETURN
;400=launch %CDPath%\directx7\setup.EXE,-noreboot,WAIT
400=launch %CDDrive%\directx7\setup.EXE,-noreboot,WAIT
405=IniOp c=%WINDIR%\ka.ini=MAIN=directxver=4.07.00.0700
410=Compare GlobalIntIniVar Main,Reboot
420=If FALSE RETURN
430=Set Reboot=TRUE
;========================================
[DxMedia50]
;========================================
100=compare FileVer=%WinSysDir%\actmovie.exe=5.0.0.0000
130=If Greater_Than=RETURN
150=If Equals=RETURN
200=Ask YesNo=DXMedia50,Title,Txt,YES
300=If No=RETURN
310=Show Message=DXMedia50,Installing
400=launch %SetupPath%\..\WINSYS\DXMEDIA.EXE,-id:ka,WAIT
410=Show Message=0
;========================================
[IE50]
; AT&T Setup with its IE5.0 for user below IE4
;========================================
100=compare FileVer=%WinSysDir%\shdocvw.dll=4.72.0.0000
130=If Greater_Than=RETURN
150=If Equals=RETURN
200=Ask YesNo=IE50,Title,Txt,YES
300=If No=RETURN
400=launch %SetupPath%\..\UTILDISK\IE5\ie5setup.exe,/Q,WAIT
;========================================
[ViaVoice53]
; ViaVoice install
; $1=C:\ViaVoice or viavoice path
;========================================
;if user never had ViaVoice, then install it.
120=compare RegVer HKEY_LOCAL_MACHINE,Software\IBM\VoiceType\Install\Version,Release=5.3.0.0
130=If LESS_THAN [ViaVoice53_FullInstall]
140=if LESS_THAN return
; If the user has Viavoice, but the executable is missing, install it.
150=Set $1=RegData HKEY_LOCAL_MACHINE,Software\IBM\VoiceType\Install\Directories,Base
160=Compare FileExists %$1%\Bin\Smart.exe
170=if False [ViaVoice53_FullInstall]
180=if False return
;Run the family setup, copy files, and run smart.exe
200=[ViaVoiceFamSetup]
210=[ViaVoiceCopy]
220=[ViaVoiceSmart]
[ViaVoiceFamSetup]
;700=launch %SetupPath%\..\viavoice\famsetup.exe,,WAIT
700=launch %SetupPath%\..\viavoice\famsetup.exe,,WAIT
[ViaVoiceCopy]
;100=FileOp uc,0,%SetupPath%\..\ViaVoice\jsp.ppl,%$1%\Vocabs\Langs\EN_US\POOLS\
;110=FileOp uc,0,%SetupPath%\..\ViaVoice\smart.txt,%$1%\vocabs\langs\en_us\scripts\data\
100=FileOp uc,0,%SetupPath%\..\ViaVoice\jsp.ppl,%$1%\Vocabs\Langs\EN_US\POOLS\
110=FileOp uc,0,%SetupPath%\..\ViaVoice\smart.txt,%$1%\vocabs\langs\en_us\scripts\data\
;Note to International: Change Language to appropriate language code:
;Language=EN_US
;Registry_DataPathKey=Software\IBM\VoiceType\Engine\Directories
;Registry_DataPathValue=DataPath
[ViaVoiceSmart]
100=launch %$1%\Bin\Smart.exe,,WAIT
;For Full Install Network ONLY (change it for stand-alone)
[ViaVoice53_FullInstall]
;Ask everytime
;090=Compare IsAlwaysAdmin
;095=If 0 goto 700
;100=Compare CustomInstall
;110=If FALSE goto 700
650=Ask YESNO ViaVoice53,Title,Text,YES
660=If NO RETURN
;uninstall any old ViaVoice
700=Compare RegKeyExists HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\Uninstall\DeleteVoiceType35_RTControl_US
710=If FALSE goto 730
720=If TRUE goto 740
730=Compare RegKeyExists HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\Uninstall\DeleteVoiceType35_RTControl_ES
735=If FALSE goto 800
740=Compare CustomInstall
743=If FALSE goto 750
745=Ask YESNO ViaVoice53,OlderVersionExistsTitle,OlderVersionExists,YES
747=If NO goto 800
750=set $2=HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\Uninstall\DeleteVoiceType35_RTControl_US,UninstallString
755=Launch $2,,WAIT
760=set $2=HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\Uninstall\DeleteVoiceType35_RTControl_ES,UninstallString
765=Launch $2,,WAIT
;800=launch %SetupPath%\..\viavoice\us\setup.exe,C:\viavoice%Space%/nr%Space%/ns,WAIT_FOR_SETUP
;800=launch %SetupPath%\..\viavoice\us\setup.exe,C:\viavoice%Space%/nr%Space%/ns,WAIT_FOR_SETUP
800=launch %SetupPath%\..\viavoice\us\setup.exe,/nr%Space%/ns,WAIT_FOR_SETUP
803=Set $1=RegData HKEY_LOCAL_MACHINE,Software\IBM\VoiceType\Install\Directories,Base
805=[ViaVoiceCopy]
810=[ViaVoiceFamSetup]
820=launch C:\viavoice\bin\smart.exe,,WAIT
830=Set Reboot=TRUE
; reboot only if ViaVoice full Install
;========================================
; JS Around the World
;========================================
[JSATW_INI]
;------ ATW Component -----------------------
JSMisc100=IniOp,c,%WINDIR%\ka.ini=JSATW=HDpath=%HDPath%\JSATW\launchap.exe
;JSMisc100=IniOp,c,%WINDIR%\ka.ini=JSATW=HDpath=%HDPath%\JSATW\jsatw.exe
JSMisc110=IniOp,c,%WINDIR%\ka.ini=JSATW=Version=%[Product]Ver%
; Uninstall CORE info saved in KA.INI
JSATW100=IniOp,c,%WINDIR%\ka.ini=JSATW=UninstallCore=%Uninst%
JSATW110=IniOp,c,%WINDIR%\ka.ini=JSATW=UninstallCoreArg=-f%UninstallLogFile%%space%-y
[jsatw_install_core]
; core and grade level
;--- FULL INSTALL (including CORE)
10a=Ask CustomInstall
;format,,=Ask InstallOption={StrIniSec}={Default}={#saveVar}
;10ba=Ask InstallOption=CopyOption=1=#1
10c=If BACK goto 10a
10d=Ask HDPath
10e=If BACK goto 10a
10f=Ask StartMenuFolder
10g=If BACK goto 10d
15=Set TARGETDIR=%HDPath%
20=Set StatusWindow=0,System,InstallingTo
; REGISTER
100=InstallInfo %Company%,%Product%,%Ver%,%ShortTitle%.EXE
130=UninstallInfo %HDPath%\JSATW\,%ShortTitle%,%Product%
300=[copy]
; make sure copy is done before INI since some ini files need to be uninstalled.
350=Disable=Exit
; Disable F3/Exit button
400=[jsatw_Ini]
600=[icon]
; in core inst, the kauninst.exe will handle removing this entry. Else it ends up with strange value due to 2 uninstall.
JSMisc120=IniOp,cu,%WINDIR%\ka.ini=JSATW=%ShortTitle%=1
; create 4 empty folders
JSATW200=FileOp f,0,%HDPath%\jsatw\userinfo\level1
JSATW210=FileOp f,0,%HDPath%\jsatw\userinfo\level2
JSATW220=FileOp f,0,%HDPath%\jsatw\userinfo\level3
JSATW230=FileOp f,0,%HDPath%\jsatw\userinfo\level4
;Grade Uninstall
800=RegistryOp c,HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\UnInstall\%ShortTitle%,UninstallString,%HDPath%\jsatw\un%ShortTitle%.exe
;Ver, not logged since kauninst.exe will handle it.
;KA130=IniOp,uc,%WINDIR%\ka.ini=%ShortTitle%=GoldVer=%Ver%
710=[quicktime4]
;720=[quickTime_Preference]
950=Ask Ok,BonusCD,Title,JSATW,INFORMATION
730=[end]
[jsatw_install_grade]
; If core is already installed, just add the grade level
200=Set HDPath=%[JSATW]HDPATH%
; Register
100=InstallInfo %Company%,%Product%,%Ver%,%ShortTitle%.EXE
130=UninstallInfo %HDPath%\,%ShortTitle%,%Product%
JSMisc120=IniOp,c,%WINDIR%\ka.ini=JSATW=%ShortTitle%=1
; overwrite HDPATH. Else it will get incorrect path.
;450=IniOp,c,%WINDIR%\ka.ini=JSATW=HDpath=%HDPath%
;Grade Uninstall
500=RegistryOp c,HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\UnInstall\%ShortTitle%,UninstallString,%HDPath%\un%ShortTitle%.exe
;Ver
;KA130=IniOp,uc,%WINDIR%\ka.ini=%ShortTitle%=GoldVer=%Ver%
950=Ask Ok,BonusCD,Title,JSATW,INFORMATION
[CheckIfNewerATWExist]
; if user has newer version, make sure user wants to overwrite it.
; if user has older version, ALWAYS install the new core and grade.
120=Compare IniVer,%GlobalIniFile%,JSATW,Version=%[product]ver%
130=If Less_Than=[JSATW_INSTALL_CORE]
; [jsatw_install_core] will exit on its own.
150=If Equals=RETURN
200=Ask YesNo Product,Title,OverwriteNewerVersion,No
300=If Yes RETURN
310=ExitInstall
;========================================
; JS Adventure Challenge
;========================================
[JSADV_INI]
;------ ADV Component -----------------------
JSMisc100=IniOp,c,%WINDIR%\ka.ini=JSADV=HDpath=%HDPath%\JSADV\launchap.exe
;JSMisc100=IniOp,c,%WINDIR%\ka.ini=JSADV=HDpath=%HDPath%\JSADV\jsadv.exe
JSMisc110=IniOp,c,%WINDIR%\ka.ini=JSADV=Version=%[Product]Ver%
; Uninstall CORE info saved in KA.INI
JSADV100=IniOp,c,%WINDIR%\ka.ini=JSADV=UninstallCore=%Uninst%
JSADV110=IniOp,c,%WINDIR%\ka.ini=JSADV=UninstallCoreArg=-f%UninstallLogFile%%space%-y
[jsadv_install_core]
; core and grade level
;--- FULL INSTALL (including CORE)
10a=Ask CustomInstall
;format,,=Ask InstallOption={StrIniSec}={Default}={#saveVar}
;10ba=Ask InstallOption=CopyOption=1=#1
10c=If BACK goto 10a
10d=Ask HDPath
10e=If BACK goto 10a
10f=Ask StartMenuFolder
10g=If BACK goto 10d
15=Set TARGETDIR=%HDPath%
20=Set StatusWindow=0,System,InstallingTo
; REGISTER
100=InstallInfo %Company%,%Product%,%Ver%,%ShortTitle%.EXE
130=UninstallInfo %HDPath%\JSADV\,%ShortTitle%,%Product%
300=[copy]
; make sure copy is done before INI since some ini files need to be uninstalled.
350=Disable=Exit
; Disable F3/Exit button
400=[jsadv_Ini]
600=[icon]
; in core inst, the kauninst.exe will handle removing this entry. Else it ends up with strange value due to 2 uninstall.
JSMisc120=IniOp,cu,%WINDIR%\ka.ini=JSADV=%ShortTitle%=1
; create 4 empty folders
JSADV200=FileOp f,0,%HDPath%\jsadv\userinfo\level1
JSADV210=FileOp f,0,%HDPath%\jsadv\userinfo\level2
JSADV220=FileOp f,0,%HDPath%\jsadv\userinfo\level3
JSADV230=FileOp f,0,%HDPath%\jsadv\userinfo\level4
;Grade Uninstall
800=RegistryOp c,HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\UnInstall\%ShortTitle%,UninstallString,%HDPath%\jsadv\un%ShortTitle%.exe
;Ver, not logged since kauninst.exe will handle it.
;KA130=IniOp,uc,%WINDIR%\ka.ini=%ShortTitle%=GoldVer=%Ver%
710=[quicktime4]
;720=[quickTime_Preference]
950=Ask Ok,BonusCD,Title,JSADV,INFORMATION
730=[end]
[jsadv_install_grade]
; If core is already installed, just add the grade level
200=Set HDPath=%[JSADV]HDPATH%
; Register
100=InstallInfo %Company%,%Product%,%Ver%,%ShortTitle%.EXE
130=UninstallInfo %HDPath%\,%ShortTitle%,%Product%
JSMisc120=IniOp,c,%WINDIR%\ka.ini=JSADV=%ShortTitle%=1
; overwrite HDPATH. Else it will get incorrect path.
;450=IniOp,c,%WINDIR%\ka.ini=JSADV=HDpath=%HDPath%
;Grade Uninstall
500=RegistryOp c,HKEY_LOCAL_MACHINE,Software\Microsoft\Windows\CurrentVersion\UnInstall\%ShortTitle%,UninstallString,%HDPath%\..\un%ShortTitle%.exe
;Ver
;KA130=IniOp,uc,%WINDIR%\ka.ini=%ShortTitle%=GoldVer=%Ver%
950=Ask Ok,BonusCD,Title,JSADV,INFORMATION
[CheckIfNewerADVExist]
; if user has newer version, make sure user wants to overwrite it.
; if user has older version, ALWAYS install the new core and grade.
120=Compare IniVer,%GlobalIniFile%,JSADV,Version=%[product]ver%
130=If Less_Than=[JSADV_INSTALL_CORE]
; [jsadv_install_core] will exit on its own.
150=If Equals=RETURN
200=Ask YesNo Product,Title,OverwriteNewerVersion,No
300=If Yes RETURN
310=ExitInstall
;========================================
[educationCom]
; WWW.Education.COM
;========================================
010=FileOp c,99,%SetupPath%\..\EdCom\*.*,%HDPath%\
;050=Disable LOGGING
100=IconOp g %FOLDER_DESKTOP%\
110=IconOp w %HDPath%\
200=IconOp i %HDPath%\EdCom.ico
210=IconOp c %HDPath%\EdCom.EXE,education.com%space%website
;300=Enable LOGGING
;========================================
[end]
; launch autorun
;========================================
; Just before exiting, make sure to clear the directxver
; it should happen only once for all setup if there is multiple setup.
005=IniOp c=%WINDIR%\ka.ini=MAIN=directxver=0.0.0.0
010=RebootIfNeeded
050=compare FileExists %CDPath%\autorun.exe
060=If FALSE [EndMessage]
100=launch %CDPath%\autorun.exe,,NOWAIT
;If autorun isn't there, show a dialog "Enjoy"
300=ExitInstall
[EndMessage]
120=Ask OK=End,FinishTitle,FinishTxt,OK
200=IconOp s %StartMenuFolder%\%[Product]BrandName%,SW_NORMAL
300=ExitInstall