From 83751f7102359ffe964916342f295ddc1d49614d Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 23 Jan 2012 19:58:10 +0100 Subject: [PATCH] really uninstall --- CLIENT_DATA/delsub.ins | 8 ++++---- build.sh | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CLIENT_DATA/delsub.ins b/CLIENT_DATA/delsub.ins index 4cd0546..ac291cf 100644 --- a/CLIENT_DATA/delsub.ins +++ b/CLIENT_DATA/delsub.ins @@ -5,10 +5,10 @@ Set $MsiId32$ = '{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}' -Set $UninstallProgram32$ = $InstallDir32$ + "\unins000.exe" +Set $UninstallProgram32$ = $InstallDir32$ + "UVERSION\uninstall.exe" Set $MsiId64$ = '{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}' -Set $UninstallProgram32$ = $InstallDir64$ + "\unins000.exe" +Set $UninstallProgram32$ = $InstallDir64$ + "UVERSION\uninstall.exe" if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") Message "Uninstalling " + $ProductId$ + " 32 Bit..." @@ -59,7 +59,7 @@ LinkFolder_uninstall ; Choose one of the following examples as basis for program uninstall ; ; === Nullsoft Scriptable Install System ================================================================ -"$UninstallProgram32$" /VERYSILENT +"$UninstallProgram32$" /S [Winbatch_uninstall_msi_32] @@ -74,7 +74,7 @@ msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress ; Choose one of the following examples as basis for program uninstall ; ; === Nullsoft Scriptable Install System ================================================================ -"$UninstallProgram64$" /VERYSILENT +"$UninstallProgram64$" /S [Winbatch_uninstall_msi_64] diff --git a/build.sh b/build.sh index 5a2d956..0882f55 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,8 @@ #!/bin/sh PN="immunet" VERSION="3.0.5.7688" -RELEASE="2" +UVERSION="3.0.5" +RELEASE="3" PRIORITY="0" ADVICE="" TYPE="testing" @@ -96,6 +97,7 @@ unix2dos $OUT/$PN/CLIENT_DATA/* sed -e "s!VERSION!$VERSION!g" -e "s!RELEASE!$RELEASE!g" -e "s!PRIORITY!$PRIORITY!g" -e "s!ADVICE!$ADVICE!g" -i $OUT/$PN/OPSI/control sed -e "s!X86FILE!$X86FILE!g" -e "s!AMD64FILE!$AMD64FILE!g" -i $OUT/$PN/CLIENT_DATA/setup.ins +sed -e "s!UVERSION!$UVERSION!g" -i $OUT/$PN/CLIENT_DATA/delsub.ins if test -d ".git"; then git log --date-order --date=short | \