highcriteria.dictationbuddy/CLIENT_DATA/delsub32.ins

36 lines
1.0 KiB
Plaintext
Raw Normal View History

2012-07-14 21:31:29 +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 14:51:04 +01:00
; credits: http://www.opsi.org/en/credits/
2012-07-14 21:31:29 +02:00
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
if FileExists($IniFile$)
2013-03-13 14:51:04 +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 21:31:29 +02:00
endif
2013-03-13 14:51:04 +01:00
Message "Uninstalling " + $ProductId$ + " " + $OLD_VERSION$ + "-" + $OLD_CREATOR_TAG$ + $OLD_RELEASE$ + " ..."
2012-07-14 21:31:29 +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 14:51:04 +01:00
; Example for recursively deleting the installation directory:
2012-07-14 21:31:29 +02:00
;
2013-03-13 14:51:04 +01:00
del -sf "$InstallDir$\"
2012-07-14 21:31:29 +02:00
[Registry_uninstall]
deletekey [HKEY_LOCAL_MACHINE\Software\HighCriteria\DictationBuddy]
[LinkFolder_uninstall]
set_basefolder common_programs
delete_subfolder Dictation Buddy