Code

some changes bcs of the name of uninstall.exe
authortheadib <theadib@users.sourceforge.net>
Fri, 15 Jun 2007 22:36:49 +0000 (22:36 +0000)
committertheadib <theadib@users.sourceforge.net>
Fri, 15 Jun 2007 22:36:49 +0000 (22:36 +0000)
packaging/win32/inkscape.nsi

index 3a9561a7e5f32fe4a1487a7dc4f31438edaf0749..ebd80cbd51f087dd646062d283ccf6ea7f3733a7 100644 (file)
@@ -1002,8 +1002,9 @@ Section -FinalizeInstallation
 
   ; uninstall settings
   ClearErrors
-  WriteUninstaller "$INSTDIR\uninst.exe"
-  WriteRegExpandStr SHCTX "${PRODUCT_UNINST_KEY}" "UninstallString" '"$INSTDIR\uninst.exe"'
+  ; WriteUninstaller "$INSTDIR\uninst.exe"
+  WriteRegExpandStr SHCTX "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\${UNINST_EXE}"
+  WriteRegExpandStr SHCTX "${PRODUCT_UNINST_KEY}" "InstallDir" "$INSTDIR"
   WriteRegExpandStr SHCTX "${PRODUCT_UNINST_KEY}" "InstallLocation" "$INSTDIR"
   WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "DisplayName" "${PRODUCT_NAME} ${PRODUCT_VERSION}"
   WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\Inkscape.exe,0"