highcriteria.transcriptionb.../CLIENT_DATA/delsub32.ins

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-07-14 07:13:08 +02:00
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib gmbh
; and published under the Terms of the General Public License.
2013-03-13 15:24:35 +01:00
; credits: http://www.opsi.org/en/credits/
2012-07-14 07:13:08 +02:00
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
if FileExists($IniFile$)
2013-03-13 15:24:35 +01:00
Set $OLD_VERSION$ = GetValueFromInifile($IniFile$,"COMMON","VERSION","")
Set $OLD_CREATOR_TAG$ = GetValueFromInifile($IniFile$,"COMMON","CREATOR_TAG","")
Set $OLD_RELEASE$ = GetValueFromInifile($IniFile$,"COMMON","RELEASE","")
2012-07-14 07:13:08 +02:00
endif
2013-03-13 15:24:35 +01:00
Message "Uninstalling " + $ProductId$ + " " + $OLD_VERSION$ + "-" + $OLD_CREATOR_TAG$ + $OLD_RELEASE$ + " ..."
2012-07-14 07:13:08 +02:00
comment "Delete files"
Files_uninstall /32Bit
comment "Cleanup registry"
Registry_uninstall /32Bit
comment "Delete program shortcuts"
LinkFolder_uninstall
[Files_uninstall]
2013-03-13 15:24:35 +01:00
; Example for recursively deleting the installation directory:
2012-07-14 07:13:08 +02:00
;
2013-03-13 15:24:35 +01:00
del -sf "$InstallDir$\"
2012-07-14 07:13:08 +02:00
[Registry_uninstall]
2012-07-14 20:07:20 +02:00
deletekey [HKEY_LOCAL_MACHINE\Software\HighCriteria\TranscriptionBuddyPE]
2012-07-14 07:13:08 +02:00
[LinkFolder_uninstall]
2012-07-14 20:07:20 +02:00
set_basefolder common_programs
delete_subfolder Transcription Buddy
2012-07-14 07:13:08 +02:00