This commit is contained in:
Mario Fetka
2017-10-30 13:32:23 +01:00
parent 761360db70
commit 0c3f95210d
8 changed files with 16 additions and 18 deletions

View File

@@ -30,10 +30,10 @@ if FileExists($UninstallProgram$)
endif
comment "Delete files"
Files_uninstall /32Bit
Files_uninstall /64Bit
comment "Cleanup registry"
Registry_uninstall /32Bit
Registry_uninstall /64Bit
comment "Delete program shortcuts"
LinkFolder_uninstall

View File

@@ -1,5 +1,3 @@
[X86]
[COMMON]
PN=name
VERSION=version

View File

@@ -39,7 +39,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; no white space use '-' as a seperator
Set $MinimumSpace$ = "20 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\BlueGriffon"
Set $InstallDir$ = "%ProgramFiles64Dir%\BlueGriffon"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
@@ -52,9 +52,9 @@ else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
if FileExists("%ScriptPath%\delsub32.ins")
if FileExists("%ScriptPath%\delsub64.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub32.ins"
Sub "%ScriptPath%\delsub64.ins"
endif
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " ..."
@@ -65,10 +65,10 @@ else
Sub_check_exitcode
comment "Copy files"
Files_install /32Bit
Files_install /64Bit
comment "Patch Registry"
Registry_install /32Bit
Registry_install /64Bit
comment "Create shortcuts"
LinkFolder_install

View File

@@ -33,7 +33,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $InstallDir$ = "%ProgramFiles32Dir%\BlueGriffon"
Set $InstallDir$ = "%ProgramFiles64Dir%\BlueGriffon"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
@@ -43,8 +43,8 @@ ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
Message "Uninstalling " + $ProductId$ + " ..."
if FileExists("%ScriptPath%\delsub32.ins")
if FileExists("%ScriptPath%\delsub64.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub32.ins"
Sub "%ScriptPath%\delsub64.ins"
endif