2014-10-16 15:44:51 +02:00
|
|
|
; NSIS installer script for Valentina
|
|
|
|
; --------------- Headers --------------
|
|
|
|
!include "MUI2.nsh"
|
2014-10-25 13:10:48 +02:00
|
|
|
!include "headers\fileassoc.nsh"
|
2014-11-06 19:00:38 +01:00
|
|
|
!include "headers\fileversion.nsh"
|
2014-10-25 13:10:48 +02:00
|
|
|
!include "FileFunc.nsh"
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
; --------------- General --------------
|
|
|
|
CRCCheck force
|
|
|
|
XPStyle on
|
|
|
|
SetCompressor /FINAL /SOLID lzma
|
2014-02-07 13:44:44 +01:00
|
|
|
|
2015-10-14 12:06:50 +02:00
|
|
|
!insertmacro un.GetTime
|
2014-11-06 19:00:38 +01:00
|
|
|
|
2015-10-14 12:06:50 +02:00
|
|
|
!define PACKAGE_FOLDER "valentina"
|
|
|
|
|
|
|
|
!define PRODUCT_VALENTINA "Valentina"
|
|
|
|
!define FILE_VALENTINA "valentina"
|
|
|
|
!define PRODUCT_TAPE "Tape"
|
|
|
|
!define FILE_TAPE "tape"
|
|
|
|
|
|
|
|
!insertmacro GetPEVersionLocal "${PACKAGE_FOLDER}\${FILE_VALENTINA}.exe" ver
|
2015-01-04 17:22:06 +01:00
|
|
|
!define MUI_VERSION "${ver_1}.${ver_2}.${ver_3}"
|
2014-11-06 19:00:38 +01:00
|
|
|
|
2015-10-14 12:06:50 +02:00
|
|
|
!define MUI_BRANDINGTEXT "${PRODUCT_VALENTINA} ${MUI_VERSION}"
|
2014-10-16 15:44:51 +02:00
|
|
|
!define WEBSITE_LINK "http://www.valentina-project.org/"
|
|
|
|
!define PUBLISHER "Roman Telezhynskyi"
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2015-10-14 12:06:50 +02:00
|
|
|
InstallDir "$LOCALAPPDATA\${PRODUCT_VALENTINA}" ; Default installation folder
|
2014-10-16 15:44:51 +02:00
|
|
|
Name "${MUI_BRANDINGTEXT}" ; Name displayed on installer
|
2015-10-14 12:06:50 +02:00
|
|
|
Icon "${PACKAGE_FOLDER}\${FILE_VALENTINA}.ico"
|
2014-10-16 15:44:51 +02:00
|
|
|
Caption "${MUI_BRANDINGTEXT}"
|
2014-11-06 19:00:38 +01:00
|
|
|
|
|
|
|
!define /date MYTIMESTAMP "%Y%m%d%H%M%S"
|
2015-10-14 12:06:50 +02:00
|
|
|
OutFile "${FILE_VALENTINA}_${MUI_VERSION}-${MYTIMESTAMP}_i386.exe" ; Resulting installer filename
|
2014-11-06 19:00:38 +01:00
|
|
|
|
2015-10-14 12:06:50 +02:00
|
|
|
InstallDirRegKey HKCU "$LOCALAPPDATA\${PRODUCT_VALENTINA}" "" ; Get installation folder from registry if available
|
|
|
|
LicenseData "${PACKAGE_FOLDER}\LICENSE_GPL.txt"
|
2014-10-16 15:44:51 +02:00
|
|
|
RequestExecutionLevel user ; Request application privileges for Windows Vista
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
ShowInstDetails show
|
|
|
|
ShowUninstDetails show
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
; ----------- Icon and Bitmap ---------
|
2015-10-14 12:06:50 +02:00
|
|
|
!define MUI_ICON "${PACKAGE_FOLDER}\${FILE_VALENTINA}.ico"
|
|
|
|
!define MUI_UNICON "${PACKAGE_FOLDER}\${FILE_VALENTINA}.ico"
|
2014-10-16 15:44:51 +02:00
|
|
|
;!define MUI_SPECIALBITMAP "Bitmap.bmp"
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
; -------------------------------------
|
|
|
|
!define MUI_ABORTWARNING
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
;------------- Language Selection Dialog Settings --------------
|
|
|
|
;Remember the installer language
|
|
|
|
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
|
2015-10-14 12:06:50 +02:00
|
|
|
!define MUI_LANGDLL_REGISTRY_KEY "Software\${PRODUCT_VALENTINA}"
|
2014-10-16 15:44:51 +02:00
|
|
|
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
|
2015-10-14 12:06:50 +02:00
|
|
|
!define REG_UNINSTALL "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_VALENTINA}"
|
2014-10-16 15:44:51 +02:00
|
|
|
!define REGISTRY_ROOT "HKCU"
|
|
|
|
|
|
|
|
;-------------- Install Pages -------------
|
|
|
|
|
|
|
|
!insertmacro MUI_PAGE_WELCOME
|
2015-10-14 12:06:50 +02:00
|
|
|
!insertmacro MUI_PAGE_LICENSE "${PACKAGE_FOLDER}\LICENSE_GPL.txt"
|
2014-10-16 15:44:51 +02:00
|
|
|
!insertmacro MUI_PAGE_COMPONENTS
|
|
|
|
!insertmacro MUI_PAGE_DIRECTORY
|
|
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
|
|
; These indented statements modify settings for MUI_PAGE_FINISH
|
|
|
|
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
2015-10-14 12:06:50 +02:00
|
|
|
!define MUI_FINISHPAGE_RUN "$INSTDIR\${FILE_VALENTINA}.exe"
|
2014-10-16 15:44:51 +02:00
|
|
|
!define MUI_FINISHPAGE_RUN_CHECKED
|
2015-10-14 12:06:50 +02:00
|
|
|
!define MUI_FINISHPAGE_RUN_TEXT "Launch ${PRODUCT_VALENTINA}"
|
2014-10-16 15:44:51 +02:00
|
|
|
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
2014-10-25 13:10:48 +02:00
|
|
|
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.txt"
|
2014-10-16 15:44:51 +02:00
|
|
|
!insertmacro MUI_PAGE_FINISH
|
2014-02-07 13:44:44 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
;-------------- Uninstall Pages -------------
|
|
|
|
!insertmacro MUI_UNPAGE_WELCOME
|
|
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
|
|
; These indented statements modify settings for MUI_UNPAGE_FINISH
|
|
|
|
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
|
|
|
|
!insertmacro MUI_UNPAGE_FINISH
|
2014-02-07 13:44:44 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
;--------------- Languages ---------------
|
|
|
|
!define MUI_LANGDLL_ALLLANGUAGES
|
|
|
|
!insertmacro MUI_LANGUAGE "English" ;first language is the default language
|
|
|
|
!insertmacro MUI_LANGUAGE "German"
|
|
|
|
!insertmacro MUI_LANGUAGE "French"
|
|
|
|
!insertmacro MUI_LANGUAGE "Russian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Ukrainian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Czech"
|
|
|
|
!insertmacro MUI_LANGUAGE "Hebrew"
|
|
|
|
!insertmacro MUI_LANGUAGE "Italian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Dutch"
|
|
|
|
!insertmacro MUI_LANGUAGE "Spanish"
|
|
|
|
!insertmacro MUI_LANGUAGE "SpanishInternational"
|
|
|
|
!insertmacro MUI_LANGUAGE "SimpChinese"
|
|
|
|
!insertmacro MUI_LANGUAGE "TradChinese"
|
|
|
|
!insertmacro MUI_LANGUAGE "Japanese"
|
|
|
|
!insertmacro MUI_LANGUAGE "Korean"
|
|
|
|
!insertmacro MUI_LANGUAGE "Danish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Swedish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Norwegian"
|
|
|
|
!insertmacro MUI_LANGUAGE "NorwegianNynorsk"
|
|
|
|
!insertmacro MUI_LANGUAGE "Finnish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Greek"
|
|
|
|
!insertmacro MUI_LANGUAGE "Portuguese"
|
|
|
|
!insertmacro MUI_LANGUAGE "PortugueseBR"
|
|
|
|
!insertmacro MUI_LANGUAGE "Polish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Slovak"
|
|
|
|
!insertmacro MUI_LANGUAGE "Croatian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Bulgarian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Hungarian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Thai"
|
|
|
|
!insertmacro MUI_LANGUAGE "Romanian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Latvian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Macedonian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Estonian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Turkish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Lithuanian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Slovenian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Serbian"
|
|
|
|
!insertmacro MUI_LANGUAGE "SerbianLatin"
|
|
|
|
!insertmacro MUI_LANGUAGE "Arabic"
|
|
|
|
!insertmacro MUI_LANGUAGE "Farsi"
|
|
|
|
!insertmacro MUI_LANGUAGE "Indonesian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Mongolian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Luxembourgish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Albanian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Breton"
|
|
|
|
!insertmacro MUI_LANGUAGE "Belarusian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Icelandic"
|
|
|
|
!insertmacro MUI_LANGUAGE "Malay"
|
|
|
|
!insertmacro MUI_LANGUAGE "Bosnian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Kurdish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Irish"
|
|
|
|
!insertmacro MUI_LANGUAGE "Uzbek"
|
|
|
|
!insertmacro MUI_LANGUAGE "Galician"
|
|
|
|
!insertmacro MUI_LANGUAGE "Afrikaans"
|
|
|
|
!insertmacro MUI_LANGUAGE "Catalan"
|
|
|
|
!insertmacro MUI_LANGUAGE "Esperanto"
|
2014-02-07 13:44:44 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
; ------------- Reserve Files ---------------------
|
|
|
|
;If you are using solid compression, files that are required before
|
|
|
|
;the actual installation should be stored first in the data block,
|
|
|
|
;because this will make your installer start faster.
|
|
|
|
!insertmacro MUI_RESERVEFILE_LANGDLL
|
|
|
|
|
|
|
|
; ------------- Installer Functions ---------------
|
|
|
|
Function checkAlreadyInstalled
|
|
|
|
; check for already installed instance
|
|
|
|
ClearErrors
|
|
|
|
ReadRegStr $R0 "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "UninstallString"
|
|
|
|
StrCmp $R0 "" done
|
|
|
|
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
|
2015-10-14 12:06:50 +02:00
|
|
|
"${PRODUCT_VALENTINA} is already installed. $\n$\nClick `OK` to remove the \
|
2014-10-16 15:44:51 +02:00
|
|
|
previous version or `Cancel` to cancel this upgrade." \
|
|
|
|
IDOK UnInstall
|
|
|
|
Abort
|
|
|
|
;Run the uninstaller
|
|
|
|
UnInstall:
|
2014-09-20 17:18:40 +02:00
|
|
|
ClearErrors
|
|
|
|
ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
|
2014-10-25 13:10:48 +02:00
|
|
|
|
|
|
|
;uninstall.exe is still here
|
|
|
|
;Delete Files
|
|
|
|
RMDir /r "$INSTDIR\*.*"
|
|
|
|
;Remove the installation directory
|
|
|
|
RMDir "$INSTDIR"
|
2014-09-20 17:18:40 +02:00
|
|
|
|
|
|
|
IfErrors no_remove_uninstaller done
|
|
|
|
;You can either use Delete /REBOOTOK in the uninstaller or add some code
|
|
|
|
;here to remove the uninstaller. Use a registry key to check
|
|
|
|
;whether the user has chosen to uninstall. If you are using an uninstaller
|
|
|
|
;components page, make sure all sections are uninstalled.
|
2014-10-16 15:44:51 +02:00
|
|
|
no_remove_uninstaller:
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "Error while uninstalling \
|
|
|
|
previously installed version. Please uninstall it manually \
|
|
|
|
and start the installer again."
|
|
|
|
Quit
|
|
|
|
done:
|
|
|
|
FunctionEnd
|
2014-02-07 13:44:44 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
Function .onInit
|
|
|
|
!insertmacro MUI_LANGDLL_DISPLAY ;This has to come after the language macros
|
|
|
|
Call checkAlreadyInstalled
|
|
|
|
FunctionEnd
|
|
|
|
|
|
|
|
;-------------- Uninstaller Functions -------------
|
|
|
|
Function un.onInit
|
|
|
|
!insertmacro MUI_UNGETLANGUAGE
|
|
|
|
FunctionEnd
|
2013-11-28 18:48:27 +01:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
;-------------- Installer -------------------------
|
2015-10-14 12:06:50 +02:00
|
|
|
Section "${PRODUCT_VALENTINA} (required)"
|
2014-10-16 15:44:51 +02:00
|
|
|
SectionIn RO ; define mandatory sections
|
2013-11-28 18:48:27 +01:00
|
|
|
|
|
|
|
;Add files
|
2014-10-16 15:44:51 +02:00
|
|
|
SetOutPath "$INSTDIR" ; Set output path to the installation directory.
|
2015-10-14 12:06:50 +02:00
|
|
|
File /r "${PACKAGE_FOLDER}\*.*"
|
2014-02-07 13:44:44 +01:00
|
|
|
|
|
|
|
;create start-menu items
|
2015-10-14 12:06:50 +02:00
|
|
|
!define START_LINK_DIR "$SMPROGRAMS\${PRODUCT_VALENTINA}"
|
|
|
|
!define START_LINK_RUN "$SMPROGRAMS\${PRODUCT_VALENTINA}\${PRODUCT_VALENTINA}.lnk"
|
|
|
|
!define START_LINK_RUN_TAPE "$SMPROGRAMS\${PRODUCT_VALENTINA}\${PRODUCT_TAPE}.lnk"
|
|
|
|
!define START_LINK_UNINSTALLER "$SMPROGRAMS\${PRODUCT_VALENTINA}\Uninstall ${PRODUCT_VALENTINA}.lnk"
|
2014-02-07 13:44:44 +01:00
|
|
|
|
|
|
|
# In your main installer section...
|
2014-10-16 15:44:51 +02:00
|
|
|
SetShellVarContext current
|
|
|
|
CreateDirectory "${START_LINK_DIR}"
|
2015-10-14 12:06:50 +02:00
|
|
|
CreateShortCut "${START_LINK_RUN}" "$INSTDIR\${FILE_VALENTINA}.exe"
|
|
|
|
CreateShortCut "${START_LINK_RUN_TAPE}" "$INSTDIR\${FILE_TAPE}.exe"
|
2014-10-16 15:44:51 +02:00
|
|
|
CreateShortCut "${START_LINK_UNINSTALLER}" "$INSTDIR\Uninstall.exe"
|
2013-11-28 18:48:27 +01:00
|
|
|
|
|
|
|
;create desktop shortcut
|
2015-10-14 12:06:50 +02:00
|
|
|
CreateShortCut "$DESKTOP\${PRODUCT_VALENTINA}.lnk" "$INSTDIR\${FILE_VALENTINA}.exe" ""
|
|
|
|
CreateShortCut "$DESKTOP\${PRODUCT_TAPE}.lnk" "$INSTDIR\${FILE_TAPE}.exe" ""
|
2013-11-28 18:48:27 +01:00
|
|
|
|
|
|
|
;write uninstall information to the registry
|
2014-10-16 15:44:51 +02:00
|
|
|
!define UNINSTALLER_NAME "Uninstall.exe"
|
2014-06-24 13:11:41 +02:00
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
; File associations
|
2015-10-14 12:06:50 +02:00
|
|
|
; Valentina
|
|
|
|
!insertmacro APP_ASSOCIATE "val" "valentina.pattern" "${PRODUCT_VALENTINA} pattern file" "$INSTDIR\${FILE_VALENTINA}.exe,0" "Open with ${PRODUCT_VALENTINA}" "$INSTDIR\${FILE_VALENTINA}.exe $\"%1$\""
|
|
|
|
; Tape
|
|
|
|
!insertmacro APP_ASSOCIATE "vit" "valentina.IndividualMeasurements" "${PRODUCT_VALENTINA} individual measurement file" "$INSTDIR\measurements.ico" "Open with ${PRODUCT_TAPE}" "$INSTDIR\${FILE_TAPE}.exe $\"%1$\""
|
|
|
|
!insertmacro APP_ASSOCIATE "vst" "valentina.StandardMeasurements" "${PRODUCT_VALENTINA} standard measurement file" "$INSTDIR\measurements.ico" "Open with ${PRODUCT_TAPE}" "$INSTDIR\${FILE_TAPE}.exe $\"%1$\""
|
2014-10-25 13:10:48 +02:00
|
|
|
!insertmacro UPDATEFILEASSOC
|
2014-10-16 15:44:51 +02:00
|
|
|
|
2015-10-14 12:06:50 +02:00
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "DisplayName" "${PRODUCT_VALENTINA}"
|
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "DisplayIcon" "$\"$INSTDIR\${FILE_VALENTINA}.exe$\""
|
2014-10-16 15:44:51 +02:00
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "Publisher" "${PUBLISHER}"
|
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "DisplayVersion" "${MUI_VERSION}"
|
2014-10-25 13:10:48 +02:00
|
|
|
|
|
|
|
; Run GetSize after coping all files
|
|
|
|
${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
|
|
|
|
IntFmt $0 "0x%08X" $0
|
|
|
|
WriteRegDWord "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "EstimatedSize" "$0"
|
|
|
|
|
2014-10-16 15:44:51 +02:00
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "HelpLink" "${WEBSITE_LINK}"
|
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "URLInfoAbout" "${WEBSITE_LINK}"
|
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "InstallLocation" "$\"$INSTDIR$\""
|
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "InstallSource" "$\"$EXEDIR$\""
|
|
|
|
WriteRegDWord "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "NoModify" 1
|
|
|
|
WriteRegDWord "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "NoRepair" 1
|
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "UninstallString" "$\"$INSTDIR\${UNINSTALLER_NAME}$\""
|
2015-10-14 12:06:50 +02:00
|
|
|
WriteRegStr "${REGISTRY_ROOT}" "${REG_UNINSTALL}" "Comments" "Uninstalls ${PRODUCT_VALENTINA}."
|
2014-10-16 15:44:51 +02:00
|
|
|
|
|
|
|
WriteUninstaller "$INSTDIR\${UNINSTALLER_NAME}" ; Location of the uninstaller
|
2013-11-28 18:48:27 +01:00
|
|
|
|
|
|
|
SectionEnd
|
2014-10-25 13:10:48 +02:00
|
|
|
|
2013-11-28 18:48:27 +01:00
|
|
|
;--------------------------------
|
|
|
|
;Uninstaller Section
|
|
|
|
Section "Uninstall"
|
2015-10-14 12:06:50 +02:00
|
|
|
;Generate list and include it in script at compile-time
|
|
|
|
!execute 'unList.exe /DATE=0 /INSTDIR=${PACKAGE_FOLDER} /LOG=Test.log /PREFIX=" " /UNDIR_VAR=$INSTDIR /MB=0'
|
|
|
|
;Log contain commands for removing files
|
|
|
|
!include "Test.log"
|
|
|
|
|
2013-11-28 18:48:27 +01:00
|
|
|
;Delete Start Menu Shortcuts
|
2014-10-16 15:44:51 +02:00
|
|
|
SetShellVarContext current
|
2015-10-14 12:06:50 +02:00
|
|
|
Delete "$DESKTOP\${PRODUCT_VALENTINA}.lnk"
|
|
|
|
Delete "$DESKTOP\${PRODUCT_TAPE}.lnk"
|
2014-10-16 15:44:51 +02:00
|
|
|
Delete "${START_LINK_DIR}\*.*"
|
|
|
|
RmDir "${START_LINK_DIR}"
|
|
|
|
|
|
|
|
; Removing file associations
|
2014-10-25 13:10:48 +02:00
|
|
|
!insertmacro APP_UNASSOCIATE "val" "valentina.pattern"
|
2015-10-14 12:06:50 +02:00
|
|
|
!insertmacro APP_UNASSOCIATE "vit" "valentina.IndividualMeasurements"
|
|
|
|
!insertmacro APP_UNASSOCIATE "vst" "valentina.StandardMeasurements"
|
2013-11-28 18:48:27 +01:00
|
|
|
|
|
|
|
;Delete Uninstaller And Unistall Registry Entries
|
2015-10-14 12:06:50 +02:00
|
|
|
DeleteRegKey "${REGISTRY_ROOT}" "SOFTWARE\${PRODUCT_VALENTINA}"
|
|
|
|
DeleteRegKey "${REGISTRY_ROOT}" "${REG_UNINSTALL}"
|
|
|
|
|
|
|
|
Delete "$INSTDIR\${UNINSTALLER_NAME}"
|
|
|
|
|
|
|
|
;Remove the installation directory
|
|
|
|
RMDir "$INSTDIR"
|
|
|
|
|
2013-11-28 18:48:27 +01:00
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
;eof
|