home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
Wtestowe
/
SYMANTEC
/
IFFTRIAL
/
UNINSTAL.INF
< prev
next >
Wrap
INI File
|
1996-09-03
|
13KB
|
499 lines
;****************************************************************************
;* Internet FastFind uninstallation Script *
;****************************************************************************
; Script Switch Numbers
; SWITCH_IS_NT40 01
; SWITCH_IS_WIN95 02
; SWITCH_FULL_UNINSTALL 10
; SWITCH_SHOW_WAIT_DIALOG 15
; 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]
Uninstall()
EnableForceWrite()
EnableOverwrite()
EnableWin95Shell()
Enable256Advos()
SetActiveCopy(MainCopy, uninstal.inf)
Backup(CustDLLCopy)
Backup(SettingsDLLCopy)
;Bitmaps(Bitmaps)
CallProc(InitCustomDLL)
#if(switch01)
switch53=CallProcEx(bIsAdmin)
#ifnot(switch53)
CallProc(MB_NeedAdminToUninstall)
goto(Exit)
#endif
#endif
CallProc(KillRunningTasks)
;ResetTarget(SourceTarget)
CallProc(SetTargetToSource)
switch10=TRUE
WizardPanel(WizUninstallWelcome, siwifftr.dll)
WizardProcessPanel()
; NOTE - the following are for FULL uninstall
#if(switch10)
SelectOption(RequiredFiles)
SelectOption(NIC)
SelectOption(WebFind)
SelectOption(Notify)
SelectOption(FTP)
SelectOption(Zip)
SelectOption(WebLaunch)
SelectOption(NetFileFind)
FullUninstall()
#else
MessageBox(MB_CustomUninstallNotSupported)
SelectOption(RequiredFiles)
SelectOption(NIC)
SelectOption(WebFind)
SelectOption(Notify)
SelectOption(FTP)
SelectOption(Zip)
SelectOption(WebLaunch)
SelectOption(NetFileFind)
switch10=TRUE
FullUninstall()
#endif
CallProc(RemoveRpaChk)
Uncopy()
CallProc(HourglassOn)
;switch15=TRUE
switch53=IsOptionSelected(NIC)
#if(switch53)
CallProc(RemoveSettingsNIC)
Delete(LeftoversNIC)
#endif
switch53=IsOptionSelected(WebFind)
#if(switch53)
CallProc(RemoveSettingsWebFind)
Delete(LeftoversWebFind)
#endif
switch53=IsOptionSelected(Notify)
#if(switch53)
CallProc(RemoveSettingsNotify)
Delete(LeftoversNotify)
#endif
switch53=IsOptionSelected(FTP)
#if(switch53)
CallProc(RemoveSettingsFTP)
#endif
switch53=IsOptionSelected(Zip)
#if(switch53)
CallProc(RemoveSettingsZip)
#endif
switch53=IsOptionSelected(WebLaunch)
#if(switch53)
CallProc(RemoveSettingsWebLaunch)
Delete(LeftoversWebLaunch)
#endif
switch53=IsOptionSelected(NetFileFind)
#if(switch53)
CallProc(RemoveSettingsNetFileFind)
Delete(LeftoversNetFileFind)
#endif
switch53=IsOptionSelected(PatchConnect)
#if(switch53)
CallProc(RemoveSettingsPatchConnect)
Delete(LeftoversPatchConnect)
#endif
#if(switch10)
CallProc(UnregisterProductInfo)
Delete(LeftoversFull)
#endif
CallProc(HourglassOff)
CallProc(DeleteProgramGroup)
#if(switch02)
switch96=FALSE
switch97=TRUE
switch98=FALSE
#else
switch96=FALSE
switch97=FALSE
switch98=TRUE
#endif
WizardPanel(WizUninstallFinish, siwifftr.dll)
WizardProcessPanel()
CallProc(DeleteDirectories)
:Exit
CallProc(RefreshDesktop)
#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)
Backup(SettingsDLLCopy)
ResetTarget(SourceTarget)
Return()
;***************************************************************************
;* Dialog Info *
;***************************************************************************
;***************************************************************************
;* Message Text *
;***************************************************************************
[cancel]
caption = "Exit Uninstall?"
text = "Are you sure that you want to exit?"
[cancelshell]
caption = "Exit Uninstall?"
"You have chosen to cancel the Uninstall"
"program. In order to reset the Windows"
"environment, Uninstall will also close"
"Windows. Are you sure you want to exit?"
[NotImplemented]
caption = "Feature Not Implemented"
"This feature has not yet been implemented."
[MB_CustomUninstallNotSupported]
caption="Internet FastFind Uninstall"
"Custom uninstall is not yet supported. A full uninstall will be performed."
;***************************************************************************
;* Set Directories *
;***************************************************************************
[SourceTarget]
reset = TARGET1
location = %s, SOURCE
;***************************************************************************
;* Delete Files *
;***************************************************************************
[LeftoversFull]
pipedlg.dat, TARGET1
modem.id, TARGET1
$flecomp.tmp, TARGET1
wintdist.exe, TARGET1
zip.gid, TARGET1
zip.fts, TARGET1
zip.ftg, TARGET1
ftp.gid, TARGET1
ftp.fts, TARGET1
ftp.ftg, TARGET1
system.iff, WINDOWS
user.iff, WINDOWS
[LeftoversNIC]
iff.gid, TARGET1
iff.fts, TARGET1
iff.ftg, TARGET1
[LeftoversWebFind]
webfind.gid, TARGET1
webfind.fts, TARGET1
webfind.ftg, TARGET1
NWFATVST.DLL, TARGET1
NWFCHMTR.DLL, TARGET1
NWFCHWHS.DLL, TARGET1
NWFEXCIT.DLL, TARGET1
NWFFRLKC.DLL, TARGET1
NWFGRCRL.DLL, TARGET1
NWFHOTBT.DLL, TARGET1
NWFINFSK.DLL, TARGET1
NWFJPTTN.DLL, TARGET1
NWFJPYHO.DLL, TARGET1
NWFLYCOS.DLL, TARGET1
NWFMGLLN.DLL, TARGET1
NWFWBCRL.DLL, TARGET1
NWFYAHOO.DLL, TARGET1
[LeftoversNotify]
notify.gid, TARGET1
notify.fts, TARGET1
notify.ftg, TARGET1
[LeftoversPatchConnect]
pconnect.gid, TARGET1
pconnect.fts, TARGET1
pconnect.ftg, TARGET1
[LeftoversNetFileFind]
netff.gid, TARGET1
netff.fts, TARGET1
netff.ftg, TARGET1
[LeftoversWebLaunch]
wlaunch.gid, TARGET1
wlaunch.fts, TARGET1
wlaunch.ftg, TARGET1
[CustDLLDel]
siwifftr.dll, TEMPDIR
;***************************************************************************
;* External function calls (DLL) *
;***************************************************************************
[InitCustomDLL]
dll = siwifftr.dll
function = InitCustomDLL
[TestFunction]
dll = siwifftr.dll
function = TestFunction
[UnregisterProductInfo]
dll=siwifftr.dll
function=UnregisterProductInfo
[KillRunningTasks]
dll=siwifftr.dll
function=KillRunningTasks
[DeleteDirectories]
dll=siwifftr.dll
function=DeleteDirectories
[HourglassOn]
dll=siwifftr.dll
function=HourglassOn
[HourglassOff]
dll=siwifftr.dll
function=HourglassOff
[RemoveSettingsNIC]
dll=siwifftr.dll
function=RemoveSettingsNIC
[RemoveSettingsWebFind]
dll=siwifftr.dll
function=RemoveSettingsWebFind
[RemoveSettingsNotify]
dll=siwifftr.dll
function=RemoveSettingsNotify
[RemoveSettingsFTP]
dll=siwifftr.dll
function=RemoveSettingsFTP
[RemoveSettingsZip]
dll=siwifftr.dll
function=RemoveSettingsZip
[RemoveSettingsWebLaunch]
dll=siwifftr.dll
function=RemoveSettingsWebLaunch
[RemoveSettingsNetFileFind]
dll=siwifftr.dll
function=RemoveSettingsNetFileFind
[RemoveSettingsPatchConnect]
dll=siwifftr.dll
function=RemoveSettingsPatchConnect
[SetTargetToSource]
dll=siwifftr.dll
function=SetTargetToSource
[bRestartWindows]
dll=siwifftr.dll
function=bRestartWindows
[bRebootSystem]
dll=siwifftr.dll
function=bRebootSystem
[bIsAdmin]
dll=siwifftr.dll
function=bIsAdmin
[MB_NeedAdminToUninstall]
dll=siwifftr.dll
function=MB_NeedAdminToUninstall
[DeleteProgramGroup]
dll=siwifftr.dll
function=DeleteProgramGroup
[RemoveRpaChk]
dll=siwifftr.dll
function=RemoveRpaChk
;***************************************************************************
;* Misc install functions *
;***************************************************************************
[Bitmaps]
color = %s\symantec.rle, -1, -1
;***************************************************************************
;* File backup *
;***************************************************************************
[CustDLLCopy]
siwifftr.dll, siwifftr.dll, SOURCE, TEMPDIR
[SettingsDLLCopy]
settings.dll, settings.dll, SOURCE, TEMPDIR
;***************************************************************************
;* 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 Uninstall"
"Welcome to Internet FastFind Uninstall. Please select OK to allow Uninstall to restart Windows and continue. Press Cancel to exit Uninstall."
;***************************************************************************
;* 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 *
;***************************************************************************
[WizUninstallWelcome]
Caption="Internet FastFind Uninstall"
Title="Welcome to Uninstall"
DlgProc=SIW_ProductDlgProc
ResourceId=1005
Bitmap16=900
PanelDataProc=DefaultDataProc
PanelFlags=first
[WizUninstallFinish]
Caption="Internet FastFind Uninstall"
Title="Uninstall Complete"
DlgProc=SIW_ProductDlgProc
ResourceId=1004
;Bitmap16=906
Bitmap16=900
PanelDataProc=DefaultDataProc
PanelFlags=first+last+finish