home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
sharware
/
utility
/
sDisk
/
sdtrial.exe
/
UNINSTAL.IN$
/
UNINSTAL.INF
Wrap
INI File
|
1997-01-17
|
14KB
|
584 lines
;******************************************************
; Norton Speed Disk Trial for NT uninstall script
; (c) 1996 Symantec - Peter Norton Product Group
; For use with the Symantec Install version 4.2 32-bit
;******************************************************
; switch03 - MM Version of installation
; switch04 - Re-enable NPROTECT
; switch05 - RegTrk directory has files
; switch92 - SWITCH_REALFULLUNINSTALL
; switch40 - SWITCH_FULLUNINSTALL
; switch99 - Used for various things
[InstallVersion]
4.0
[Process]
EnableForceWrite()
EnableOverwrite()
Uninstall()
Bitmaps(pix)
DisableHelp()
Backup(CustDLLCopy)
SetActiveCopy(SICopy,uninstal.inf)
; Initialize the custom dll
CallProc(Memory)
; Begin with the welcome wizard panel
WizardPanel(Welcome,siwsd.dll)
FullUninstall()
SelectOption(BaseFiles)
; Get the proper paths for our basic targets
ResetTarget(TargetSource)
ResetTarget(DriversDir)
CallProcEx(FindSharedComponents)
CallProcEx(GetShortTarget)
CallProcEx(GetShortShared)
WizardProcessPanel()
WizardPanel(RemoveFiles,siwsd.dll)
WizardProcessPanel()
Launch(UnregisterSDService)
DisableUtils()
Uncopy()
EnableUtils()
CallProcEx(RegStatusCreate)
CallProcEx(RegStatus66)
CallProcEx(DelRegSdwKeys)
CallProcEx(DelRegSdwValues)
CallProc(LINK_SPEEDISK)
CallProc(LINK_UNSPEEDISK)
CallProcEx(RegStatus100)
CallProcEx(RegStatus100)
CallProcEx(EndStatusBox)
CallProcEx(CleanUpStatus)
CallProcEx(RegStatus66)
Delete(Leftovers)
CallProcEx(FullUnInstall)
CallProcEx(DelRegUninstallKey)
CallProcEx(DelRegSDKeys)
CallProcEx(DelRegSDValues)
switch99 = Exists(SymglossHLP)
#ifnot(switch99)
CallProcEx(DelRegSymgloss)
#endif
switch99=CallProcEx(CheckRegInstalledApps)
#if(switch99)
CallProcEx(DelRegInstalledApps)
#endif
switch99=CallProcEx(CheckRegHKLMSymantec)
#if(switch99)
CallProcEx(DelRegHKLMSymantec)
#endif
switch99=CallProcEx(CheckRegHKCUSymantec)
#if(switch99)
CallProcEx(DelRegHKCUSymantec)
#endif
CallProcEx(RegStatus100)
CallProcEx(RegStatus100)
CallProcEx(EndStatusBox)
WizardPanel(Finished,siwsd.dll)
WizardProcessPanel()
CallProcEx(ExitHookProc)
RebootNT()
End()
[SubProc]
;********************************************************************
; Copy sections
;********************************************************************
[SDCopy]
CopyMain.BaseFiles, "Norton Speed Disk Basefiles - %ldK", 0, Y, N, Y
CopySub.speediskw, " "
CopyMain.DoNotRemove, "Dummy Entry - Don't remove", 0, N, N, N
CopySub.xxx, "Bogus Field"
CopySub.yyy, "Bogus Field"
[SDCopy:TypeSelect]
count = 2
caption = "Norton Speed Disk Trial Uninstall Type"
text = "Please Select the type of uninstall you want to perform."
grouptext = "Uninstall Types"
button1 = "&Selective Uninstall"
button2 = "&Full Uninstall"
descrip1 = "This option allows you to select the Norton Speed Disk Trial components you would like to remove from your hard drive."
descrip2 = "This option completely removes Norton Speed Disk Trial from your hard drive."
[SDCopy:Primary]
caption = "Norton Speed Disk Trial Main Selection"
button1 = "Select..."
button2 = "Select..."
button3 = "Select..."
button4 = "Select..."
button5 = "Select..."
text = App1Text
selsizetext = "Total of selected components:"
DisableButtons = 0
[SDCopy:Component]
caption = "Norton Speed Disk Trial - Component Selection"
text = "Select/Deselect the components you want to remove. Checked items will be uninstalled."
[SDCopy:CopyDialog]
caption = "Copying Norton Speed Disk Trial Files..."
posx = -10
posy = -10
[App1Text]
"Please select the items you wish to remove. If a selection"
"has a button to the right, you can select individual files or"
"components."
;********************************************************************
; Groups
;********************************************************************
[groups]
"Norton Speed Disk Trial", sd.grp, , COMMON
[Norton Speed Disk Trial]
"Speed Disk", sd32.exe, speediskw, 0, TARGET
"Uninstall Speed Disk", setup.exe, basefiles, 0, TARGET, , , "/U"
;********************************************************************
; Dialog text
;********************************************************************
[Errors]
NoPrev = "Symantec Install for Windows is already running!"
[FileCopy]
copycaption = "Installing Norton Speed Disk Trial"
errorcaption = "Error Copying Files"
insertcaption = "Insert Diskette"
Message = MessageText
[Cancel]
caption = "Norton Speed Disk Trial - Exit Uninstall"
text = "Are you sure you want to exit?"
[CancelShell]
caption = "Norton Speed Disk Trial - Exit Uninstall"
"You have selected to cancel Uninstall."
"In order to reset the Windows"
"environment, Uninstall will also restart"
" your computer. Are you sure you want to exit?"
;********************************************************************
; File backups
;********************************************************************
[CustDLLCopy]
siwsd.dll, siwsd.dll, SOURCE, TEMPDIR
;********************************************************************
; File deletes
;********************************************************************
[Leftovers]
ctl3d32.dll, WINDOWS
;********************************************************************
; External function calls
;********************************************************************
[LINK_SPEEDISK]
dll = siwsd.dll
function =RemoveLinkFile
LINK = "Speed Disk.LNK"
[LINK_UNSPEEDISK]
dll = siwsd.dll
function = RemoveLinkFile
LINK = "Uninstall Speed Disk.LNK"
[ShowTargets]
dll = siwsd.dll
function = ShowTargets
[Memory]
dll = siwsd.dll
function = InitMemory
[ExitHookProc]
dll = siwsd.dll
function = ReleaseDLL
[DeleteDir]
dll = siwsd.dll
function = DeleteDirectory
[DeleteTargetDir]
dll = siwsd.dll
function = DeleteDirectory
location = TARGET
[DeleteSysDir]
dll = siwsd.dll
function = DeleteDirectory
location = TARGET2
[DeleteLinks]
dll = siwsd.dll
function = RemoveLinks
[FindSharedComponents]
dll = siwsd.dll
function = FindSharedComponents
[UsageCounts]
dll = siwsd.dll
function = UpdateUsageCounts
[GetShort]
dll = siwsd.dll
function = ConvertToShortName
[GetShortTarget]
dll = siwsd.dll
function = ConvertToShortName
source = 0
dest = 6
[GetShortExt]
dll = siwsd.dll
function = ConvertToShortName
source = 2
dest = 7
[GetShortShared]
dll = siwsd.dll
function = ConvertToShortName
source = 3
dest = 8
[FullUnInstall]
dll = siwsd.dll
function = FullUnInstall
[BackupTarget4]
dll = siwsd.dll
function = BackupTarget4
[RestoreTarget4]
dll = siwsd.dll
function = RestoreTarget4
[DelRegSymGloss]
dll = siwsd.dll
function = DeleteRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\Help"
value = "Symgloss.HLP"
[CheckRegValue1]
dll = siwsd.dll
function = QueryRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial\Install\1.0\Components"
value = "unerasew"
[DelRegSdwKeys]
dll = siwsd.dll
function = DeleteRegistryKeys
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SD32.EXE"
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial\Norton Speed Disk"
subkey = "SOFTWARE\Symantec\Speed Disk Unmovable Files"
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial\Norton Speed Disk"
[DelRegSdwValues]
dll = siwsd.dll
function = DeleteRegistryValues
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\Help"
value = "SD32.HLP"
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial\Install\1.0\Components"
value = "speediskw"
[DelRegUninstallKey]
dll = siwsd.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Norton Speed Disk Trial"
[DelRegSDKeys]
dll = siwsd.dll
function = DeleteRegistryKeys
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial"
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial"
[DelRegHKLMSymantec]
dll = siwsd.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec"
[DelRegHKCUSymantec]
dll = siwsd.dll
function = DeleteRegistryKey
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec"
[DelRegSDValues]
dll = siwsd.dll
function = DeleteRegistryValues
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
value = "SD1.0"
[DelRegInstalledApps]
dll = siwsd.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
[CheckRegComponents]
dll = siwsd.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton Speed Disk Trial\Install\1.0\Components"
[CheckRegHKLMSymantec]
dll = siwsd.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec"
[CheckRegHKCUSymantec]
dll = siwsd.dll
function = IsKeyEmpty
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec"
[CheckRegInstalledApps]
dll = siwsd.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
[DecrementSysfiles]
dll = siwsd.dll
function = DecrementBinaryUsageCounts
section = SystemSharedComponents
[RegStatusCreate]
dll = siwsd.dll
function = CreateStatusBox
caption = "Norton Speed Disk Trial Setup"
text = "Removing Registry Entries..."
[CleanUpStatus]
dll = siwsd.dll
function = CreateStatusBox
caption = "Norton Speed Disk Trial Setup"
text = "Removing Leftover System Files..."
[RegStatus33]
dll = siwsd.dll
function = SetStatusBoxFillPos
position = 33
[RegStatus66]
dll = siwsd.dll
function = SetStatusBoxFillPos
position = 66
[RegStatus100]
dll = siwsd.dll
function = SetStatusBoxFillPos
position = 100
[EndStatusBox]
dll = siwsd.dll
function = EndStatusBox
;********************************************************************
; Text file mods
;********************************************************************
[FixSymantec]
FileSpec = %s\symantec.cnt, TARGET3
filetype = text
Create = 0
CreateText =
rem1 = "rem"
FindRems = 0
DelItems = SymantecDelItems
[SymantecDelItems]
*NUDESK.CNT*
;********************************************************************
; ini file modifications
;********************************************************************
;********************************************************************
; Registration entries
;********************************************************************
;********************************************************************
; Misc install sections
;********************************************************************
[UpdateHelpIndex]
"winhelp.exe -g %s\infodesk.hlp", Target3
[SharedComponents]
Component = s32krnlh.dll
Component = s32guih.dll
Component = s32utilh.dll
Component = iratrial.dll
[SI32SharedComponents]
[SystunerSharedComponents]
[TargetSource]
reset = TARGET
location = %s, SOURCE
[DriversDir]
reset = TARGET15
location = %s\Drivers, SYSTEM
[FindInfoDesk]
infodesk.cnt, Target3
[InfoDeskHLP]
InfoDesk.HLP, TARGET3
[SymGlossHLP]
SymGloss.HLP, TARGET3
[UnregisterSDService]
"%s\sdsrv.exe -u", TARGET
[Pix]
color = %s\nu.bmp, 10, -10
color = %s\symlogo.rle, -1, 1
[WindowsVersion]
4.00
"Norton Speed Disk Trial requires"
"Microsoft Windows NT version 4.0 or later."
[HTMLExists]
HTML.OCX, SYSTEM
;********************************************************************
; Wizard panels
;********************************************************************
[Welcome]
Caption="Norton Speed Disk Trial Setup"
Title="Norton Speed Disk Trial Uninstall"
DlgProc=UnInstallDlgProc
ResourceId=134
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
PanelFlags=First
[UninstallType]
Caption="Norton Speed Disk Trial Setup"
Title="Uninstall Type"
DlgProc=UnInstallDlgProc
ResourceId=142
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[Warning]
Caption = "Norton Speed Disk Trial Setup"
Title="Verify Full Uninstall"
DlgProc=UnInstallDlgProc
ResourceId=139
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[NortonProtection]
Caption = "Norton Speed Disk Trial Setup"
Title="Removing Norton Protection Folder"
DlgProc=UnInstallDlgProc
ResourceId=143
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[RegTracker]
Caption = "Norton Speed Disk Trial Setup"
Title="Removing Registry Tracker"
DlgProc=UnInstallDlgProc
ResourceId=146
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[RemoveFiles]
Caption = "Norton Speed Disk Trial Setup"
Title="Removing Program Files"
DlgProc=UnInstallDlgProc
ResourceId=135
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[Finished]
Caption = "Norton Speed Disk Trial Setup"
Title="Uninstall Complete"
DlgProc=UnInstallDlgProc
ResourceId=138
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last+Finished
[Bogus2]
Caption = "Norton Speed Disk Trial Setup"
Title="Bogus2"
DlgProc=UnInstallDlgProc
ResourceId=138
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
;********************************************************************
; SetShell section
;********************************************************************