home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 6
/
boot-disc-1997-02.iso
/
ifftrial
/
install.inf
< prev
next >
Wrap
INI File
|
1996-09-03
|
20KB
|
848 lines
;******************************************************************************
;* Internet FastFind 1.0 installation script - Trial Edition *
;******************************************************************************
; Script Switch Numbers
; SWITCH_IS_NT40 01
; SWITCH_IS_WIN95 02
; SWITCH_PRODUCT_EXISTS 08
; SWITCH_CUSTOM_INSTALL 09
; SWITCH_RESTORE_DEFAULTS 11
; SWITCH_SELECTED_NIC 20
; SWITCH_SELECTED_WEBFIND 21
; SWITCH_SELECTED_NOTIFY 22
; SWITCH_SELECTED_FTP 23
; SWITCH_SELECTED_ZIP 24
; SWITCH_SELECTED_WEBLAUNCH 25
; SWITCH_SELECTED_PATCHCONNECT 26
; SWITCH_SELECTED_NETFILEFIND 27
; SWITCH_PREVIOUS 50
; SWITCH_NEXT 51
; SWITCH_CANCEL 52
; SWITCH_EXIT_CONTINUE 96
; SWITCH_EXIT_RESTART 97
; SWITCH_EXIT_REBOOT 98
[InstallVersion]
4.0
[process]
EnableForceWrite()
EnableOverwrite()
EnableWin95Shell()
Enable256Advos()
SaveRegistry(SaveRegGroup)
SetActiveCopy(MainCopy, install.inf)
Backup(CustDLLCopy)
Backup(SettingsDLLCopy)
;Bitmaps(Bitmaps)
DisableHelp()
CallProc(InitCustomDLL)
#ifnot(switch01)
#ifnot(switch02)
MessageBox(MB_IncorrectWinVer)
switch97=FALSE
Exit()
#endif
#endif
#if(switch01)
switch53=CallProcEx(bIsAdmin)
#ifnot(switch53)
CallProc(MB_NeedAdminToInstall)
goto(Exit)
#endif
#endif
switch53=CallProcEx(bIsExpired)
#if(switch53)
Exit()
#endif
CallProc(DelWinInit)
switch20=TRUE
switch21=TRUE
switch22=TRUE
switch23=TRUE
switch24=TRUE
switch25=TRUE
switch26=TRUE
switch27=TRUE
CallProc(KillRunningTasks)
CallProc(CheckForExistingProduct)
CallProc(SetDefaultProductDirectory)
WizardPanel(WizWelcome, siwifftr.dll)
WizardProcessPanel()
WizardPanel(WizLicense, siwifftr.dll)
WizardProcessPanel()
#if(switch20)
SelectOption(NIC)
#else
DeselectOption(NIC)
#endif
#if(switch21)
SelectOption(WebFind)
#else
DeselectOption(WebFind)
#endif
#if(switch22)
SelectOption(Notify)
#else
DeselectOption(Notify)
#endif
#if(switch23)
SelectOption(FTP)
#else
DeselectOption(FTP)
#endif
#if(switch24)
SelectOption(Zip)
#else
DeselectOption(Zip)
#endif
#if(switch25)
SelectOption(WebLaunch)
#else
DeselectOption(WebLaunch)
#endif
#if(switch26)
SelectOption(PatchConnect)
#else
DeselectOption(PatchConnect)
#endif
#if(switch27)
SelectOption(NetFileFind)
#else
DeselectOption(NetFileFind)
#endif
SelectOption(RequiredFiles)
WizardPanel(WizSelectLocation, siwifftr.dll)
WizardProcessPanel()
WizardIncludePanel(WizKeepSettings)
WizardPanel(WizKeepSettings, siwifftr.dll)
#if(switch08)
WizardProcessPanel()
#else
WizardExcludePanel(WizKeepSettings)
#endif
;WizardIncludePanel(WizNoDiskSpace)
;WizardPanel(WizNoDiskSpace, siwifftr.dll)
;switch53=CallProcEx(bIsSufficientDiskSpace)
;#ifnot(switch53)
; WizardProcessPanel()
;#else
; WizardExcludePanel(WizNoDiskSpace)
;#endif
WizardPanel(WizSetupReview, siwifftr.dll)
WizardProcessPanel()
#ifnot(switch08)
switch11=TRUE
#endif
#if(switch11)
switch53=IsOptionSelected(NIC)
#if(switch53)
CallProc(RemoveSettingsNIC)
#endif
switch53=IsOptionSelected(Notify)
#if(switch53)
CallProc(RemoveSettingsNotify)
#endif
switch53=IsOptionSelected(WebFind)
#if(switch53)
CallProc(RemoveSettingsWebFind)
#endif
switch53=IsOptionSelected(FTP)
#if(switch53)
CallProc(RemoveSettingsFTP)
#endif
switch53=IsOptionSelected(Zip)
#if(switch53)
CallProc(RemoveSettingsZip)
#endif
switch53=IsOptionSelected(WebLaunch)
#if(switch53)
CallProc(RemoveSettingsWebLaunch)
#endif
switch53=IsOptionSelected(NetFileFind)
#if(switch53)
CallProc(RemoveSettingsNetFileFind)
#endif
switch53=IsOptionSelected(PatchConnect)
#if(switch53)
CallProc(RemoveSettingsPatchConnect)
#endif
#ifnot(switch09)
CallProc(DeleteSettings)
#endif
#endif
switch53=CallProcEx(CreateInstallDirs)
#ifnot(switch53)
MessageBox(MB_UnableToCreateInstallDirs)
switch97=FALSE
goto(Exit)
#endif
;switch53=CallProcEx(bIsDiskOne)
;#ifnot(switch53)
; Exit()
;#endif
Copy()
CallProc(HourglassOn)
CallProc(RegisterProductInfo)
switch53=CallProcEx(bWinInetNewer)
#if(switch53)
CallProc(InstallWinInet)
#endif
switch53=IsOptionSelected(NIC)
#if(switch53)
CallProc(AddSettingsNIC)
#endif
switch53=IsOptionSelected(WebFind)
#if(switch53)
CallProc(AddSettingsWebFind)
#if(switch11)
CallProc(DefaultSettingsWebFind)
#endif
#endif
switch53=IsOptionSelected(Notify)
#if(switch53)
CallProc(AddSettingsNotify)
#if(switch11)
CallProc(DefaultSettingsNotify)
#endif
#endif
switch53=IsOptionSelected(FTP)
#if(switch53)
CallProc(AddSettingsFTP)
#if(switch11)
CallProc(DefaultSettingsFTP)
CallProc(MergeFTPSites)
#endif
#endif
switch53=IsOptionSelected(Zip)
#if(switch53)
CallProc(AddSettingsZip)
#if(switch11)
CallProc(DefaultSettingsZip)
#endif
#endif
switch53=IsOptionSelected(WebLaunch)
#if(switch53)
CallProc(AddSettingsWebLaunch)
#if(switch11)
CallProc(DefaultSettingsWebLaunch)
#endif
#endif
switch53=IsOptionSelected(NetFileFind)
#if(switch53)
CallProc(AddSettingsNetFileFind)
#if(switch11)
CallProc(DefaultSettingsNetFileFind)
#endif
#endif
switch53=IsOptionSelected(PatchConnect)
#if(switch53)
CallProc(AddSettingsPatchConnect)
#endif
CallProc(HourglassOff)
Groups(MainGroup)
ResetTarget(SetTargetToTarget1)
WizardPanel(WizHowToReach, siwifftr.dll)
WizardProcessPanel()
Delete(DelWintDist)
#if(switch02)
switch96=FALSE
switch97=TRUE
switch98=FALSE
#else
switch96=FALSE
switch97=FALSE
switch98=TRUE
#endif
WizardPanel(WizFinish, siwifftr.dll)
WizardProcessPanel()
:Exit
#if(switch97)
switch53=CallProcEx(bRestartWindows)
#if(switch53)
ExitRestart()
#else
Exit()
#endif
#endif
#if(switch98)
switch53=CallProcEx(bRebootSystem)
#if(switch53)
RebootNT()
#else
Exit()
#endif
#endif
Exit()
;###########################################################################
;###########################################################################
;***************************************************************************
;* SubProc Executed When Install Takes Over As Shell
;***************************************************************************
[subproc]
Backup(CustDLLCopy) ; Copy custom dll to windows dir
Backup(SettingsDLLCopy)
Return()
;***************************************************************************
;* Dialog Info *
;***************************************************************************
[MainCopy:CopyDialog]
caption = "Copying files..."
posx = -1
posy = -20
[MainCopy:Primary]
caption = "Select Components"
button1 = "Select..."
button2 = "Select..."
button3 = "Select..."
button4 = "Select..."
button5 = "Select..."
text = PrimaryText
[PrimaryText]
"Please select the items you want to install. If a selection"
"has a button to the right, you can select individual files or"
"components."
;***************************************************************************
;* Message Text *
;***************************************************************************
[cancel]
caption = "Exit Install?"
text = "Are you sure that you want to exit?"
[cancelshell]
caption = "Exit Install?"
"You have chosen to cancel the Install"
"program. In order to reset the Windows"
"environment, Install will also restart"
"Windows. Are you sure you want to exit?"
[FileCopy]
copycaption = "Installing Files"
errorcaption = "Error Copying Files"
insertcaption = "Insert Diskette"
Message = MessageText
[NotImplemented]
caption = "Feature Not Implemented"
"This feature has not yet been implemented."
[MB_IncorrectWinVer]
caption = "Incorrect Windows Version"
"Internet FastFind 1.0 requires Windows 95 or Windows NT 4.0 or later. Setup is unable to proceed."
;KLUDGE - Remove when support added
[MB_CustomInstallNotSupported]
caption="Internet FastFind Setup"
"Custom installation is not yet supported. A full install will be performed."
;END KLUDGE
[MB_UnableToCreateInstallDirs]
caption="Fatal Error"
"Cannot create target directories. Setup is unable to proceed."
;***************************************************************************
;* File Exist verifications *
;***************************************************************************
;***************************************************************************
;* Delete Files *
;***************************************************************************
[DelWintDist]
wintdist.exe, TARGET1
;***************************************************************************
;* External function calls (DLL) *
;***************************************************************************
[InitCustomDLL]
dll = siwifftr.dll
function = InitCustomDLL
[ExitHookProc]
dll = siwifftr.dll
function = ReleaseCustomDLL
[TestFunction]
dll=siwifftr.dll
function=TestFunction
[CheckForExistingProduct]
dll=siwifftr.dll
function=CheckForExistingProduct
[SetDefaultProductDirectory]
dll=siwifftr.dll
function=SetDefaultProductDirectory
[CreateInstallDirs]
dll=siwifftr.dll
function=CreateInstallDirs
[RegisterProductInfo]
dll=siwifftr.dll
function=RegisterProductInfo
[KillRunningTasks]
dll=siwifftr.dll
function=KillRunningTasks
[HourglassOn]
dll=siwifftr.dll
function=HourglassOn
[HourglassOff]
dll=siwifftr.dll
function=HourglassOff
[NukeV1]
dll=siwifftr.dll
function=NukeV1
[SetUninstallFlags]
dll=siwifftr.dll
function=SetUninstallFlags
[RemoveUninstallFlags]
dll=siwifftr.dll
function=RemoveUninstallFlags
[DeleteSettings]
dll=siwifftr.dll
function=DeleteSettings
[bIsDiskOne]
dll=siwifftr.dll
function=bIsDiskOne
[AddSettingsNIC]
dll=siwifftr.dll
function=AddSettingsNIC
[RemoveSettingsNIC]
dll=siwifftr.dll
function=RemoveSettingsNIC
[AddSettingsWebFind]
dll=siwifftr.dll
function=AddSettingsWebFind
[RemoveSettingsWebFind]
dll=siwifftr.dll
function=RemoveSettingsWebFind
[AddSettingsNotify]
dll=siwifftr.dll
function=AddSettingsNotify
[RemoveSettingsNotify]
dll=siwifftr.dll
function=RemoveSettingsNotify
[AddSettingsFTP]
dll=siwifftr.dll
function=AddSettingsFTP
[RemoveSettingsFTP]
dll=siwifftr.dll
function=RemoveSettingsFTP
[AddSettingsZip]
dll=siwifftr.dll
function=AddSettingsZip
[RemoveSettingsZip]
dll=siwifftr.dll
function=RemoveSettingsZip
[AddSettingsWebLaunch]
dll=siwifftr.dll
function=AddSettingsWebLaunch
[RemoveSettingsWebLaunch]
dll=siwifftr.dll
function=RemoveSettingsWebLaunch
[DefaultSettingsExplorerExtensions]
dll=siwifftr.dll
function=DefaultSettingsExplorerExtensions
[InstallWinInet]
dll=siwifftr.dll
function=InstallWinInet
[MergeFTPSites]
dll=siwifftr.dll
function=MergeFTPSites
[AddSettingsNetFileFind]
dll=siwifftr.dll
function=AddSettingsNetFileFind
[RemoveSettingsNetFileFind]
dll=siwifftr.dll
function=RemoveSettingsNetFileFind
[AddSettingsPatchConnect]
dll=siwifftr.dll
function=AddSettingsPatchConnect
[RemoveSettingsPatchConnect]
dll=siwifftr.dll
function=RemoveSettingsPatchConnect
[RefreshDesktop]
dll=siwifftr.dll
function=RefreshDesktop
[bRestartWindows]
dll=siwifftr.dll
function=bRestartWindows
[bRebootSystem]
dll=siwifftr.dll
function=bRebootSystem
[DefaultSettingsWebFind]
dll=siwifftr.dll
function=DefaultSettingsWebFind
[DefaultSettingsNotify]
dll=siwifftr.dll
function=DefaultSettingsNotify
[DefaultSettingsFTP]
dll=siwifftr.dll
function=DefaultSettingsFTP
[DefaultSettingsZip]
dll=siwifftr.dll
function=DefaultSettingsZip
[DefaultSettingsWebLaunch]
dll=siwifftr.dll
function=DefaultSettingsWebLaunch
[DefaultSettingsNetFileFind]
dll=siwifftr.dll
function=DefaultSettingsNetFileFind
[StartWebLaunch]
dll=siwifftr.dll
function=StartWebLaunch
[StartNotify]
dll=siwifftr.dll
function=StartNotify
[DelWinInit]
dll=siwifftr.dll
function=DelWinInit
[bIsAdmin]
dll=siwifftr.dll
function=bIsAdmin
[MB_NeedAdminToInstall]
dll=siwifftr.dll
function=MB_NeedAdminToInstall
[bWinInetNewer]
dll=siwifftr.dll
function=bWinInetNewer
[bIsSufficientDiskSpace]
dll=siwifftr.dll
function=bIsSufficientDiskSpace
[bIsExpired]
dll=siwifftr.dll
function=bIsExpired
;***************************************************************************
;* Misc install functions *
;***************************************************************************
[Bitmaps]
color = %s\symantec.rle, -1, -1
[MainCopy:Advo]
posx = 20
posy = 20
location = siwifftr.dll
count = 1
BitmapsOnly=1
[SaveRegGroup]
WINDOWS, system.iff, user.iff
;***************************************************************************
;* Set Directories *
;***************************************************************************
[CrDirTarget]
%s, TARGET1
[SetTargetToTarget1]
reset = TARGET
location = %s, TARGET1
;***************************************************************************
;* File backup *
;***************************************************************************
[CustDLLCopy]
siwifftr.dll, siwifftr.dll, SOURCE, TEMPDIR
[SettingsDLLCopy]
settings.dll, settings.dll, SOURCE, TEMPDIR
;***************************************************************************
;* Autoexec Mods *
;***************************************************************************
;***************************************************************************
;* SetShell section *
;***************************************************************************
[SetShell]
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\setup.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active=no
IfActiveList=LoadedList
SubProcess=SubProc
[SetShellSave]
win.ini, win.siw, WINDOWS, WINDOWS
system.ini, system.siw, WINDOWS, WINDOWS
[SetShellRestore]
system.siw, system.ini, WINDOWS, WINDOWS
win.siw, win.ini, WINDOWS, WINDOWS
[_LoadedList]
[SetShellMessage]
caption = "Internet FastFind Setup"
"Welcome to Internet FastFind Setup. Please select OK to allow Setup to restart Windows and continue the installation. Press Cancel to exit Setup."
;***************************************************************************
;* Groups *
;***************************************************************************
[MainGroup]
"Internet FastFind", nn.grp
[Internet FastFind]
"WebFind", webfind.exe, WebFind,,TARGET1,,,,TARGET1
"Internet FastFind", iff.exe, NIC,,TARGET1,,,,TARGET1
"Notify", notify.exe, Notify,,TARGET1,,,,TARGET1
"PatchConnect", pconnect.exe, PatchConnect,,TARGET1,,,,TARGET1
"NetFileFind", netff.exe, NetFileFind,,TARGET1,,,,TARGET1
"Internet FastFind Release Notes", readme.txt, RequiredFiles,,TARGET1,,,,TARGET1
;***************************************************************************
;* Copy *
;***************************************************************************
[MainCopy]
;SelectionType.ComponentName, "SelectionDlgText", Size, Required?,<Files>?,ShowItem?
CopyMain.RequiredFiles, "Required Files - %ldK", 0, Y, N, Y
CopyMain.NIC, "Internet FastFind - %ldK", 0, N, N, Y
CopyMain.WebFind, "WebFind - %ldK", 0, N, N, Y
CopyMain.Notify, "Notify - %ldK", 0, N, N, Y
CopyMain.FTP, "EasyFTP - %ldK", 0, N, N, Y
CopyMain.Zip, "EasyZIP - %ldK", 0, N, N, Y
CopyMain.WebLaunch, "WebLaunch - % ldK", 0, N, N, Y
CopyMain.PatchConnect, "PatchConnect - % ldK", 0, N, N, Y
CopyMain.NetFileFind, "NetFileFind - % ldK", 0, N, N, Y
;***************************************************************************
;* Wizard Panels *
;***************************************************************************
[WizWelcome]
Caption="Internet FastFind Setup"
Title="Welcome"
DlgProc=_WelcomeDlgProc@16
ResourceID=501
Bitmap16=900
PanelDataProc=_WelcomeDataProc@0
PanelFlags=First
[WizLicense]
Caption="Internet FastFind Setup"
DlgProc=_LicenseDlgProc@16
PanelDataProc=_LicenseDataProc@0
ResourceId=502
[WizSelectLocation]
Caption="Internet FastFind Setup"
Title="Program Location"
DlgProc=SIW_ProductDlgProc
ResourceId=1000
Bitmap16=903
PanelDataProc=DefaultDataProc
[WizSetupReview]
Caption="Internet FastFind Setup"
Title="Setup Review"
DlgProc=SIW_ProductDlgProc
ResourceId=1001
Bitmap16=900
PanelDataProc=DefaultDataProc
[WizHowToReach]
Caption="Internet FastFind Setup"
Title="How to Reach Us"
DlgProc=_ReachDlgProc@16
ResourceId=513
Bitmap16=213
PanelFlags=First
[WizFinish]
Caption="Internet FastFind Setup"
Title="Installation Complete"
DlgProc=SIW_ProductDlgProc
ResourceId=1003
;Bitmap16=906
Bitmap16=900
PanelDataProc=DefaultDataProc
PanelFlags=last+finish
[WizKeepSettings]
Caption="Internet FastFind Setup"
Title="Keep Current Settings?"
DlgProc=SIW_ProductDlgProc
ResourceId=1010
Bitmap16=900
PanelDataProc=DefaultDataProc
[WizRegisterNow]
Caption="Internet FastFind Setup"
Title="Register Now"
DlgProc=_RegNowDlgProc@16
PanelDataProc=_RegNowDataProc@0
ResourceId=504
Bitmap16=204
PanelFlags=first+Skip
[WizRegisterPersonal]
Caption="Internet FastFind Setup"
DlgProc=_UsaRegDlgProc@16
PanelDataProc=_UsaRegDataProc@0
ResourceId=505
PanelFlags=Skip
[WizRegisterMarketing]
Caption="Internet FastFind Setup"
DlgProc=_MarketingDlgProc@16
PanelDataProc=_MarketingDataProc@0
ResourceId=506
PanelFlags=Skip
[WizRegisterDecide]
Caption="Internet FastFind Setup"
Title="Send Us Your Form"
DlgProc=_SendRegDlgProc@16
PanelDataProc=_SendRegDataProc@0
ResourceId=514
Bitmap16=214
PanelFlags=Skip
[WizNoDiskSpace]
Caption="Internet FastFind Setup"
Title="Insufficient Disk Space"
DlgProc=SIW_ProductDlgProc
ResourceId=1011
Bitmap16=900
PanelDataProc=DefaultDataProc