add java uninstall check back
This commit is contained in:
@@ -18,6 +18,8 @@ endif
|
||||
DefVar $MSVersion$
|
||||
Set $MSVersion$ = GetMsVersionInfo
|
||||
|
||||
DefVar $java_reinstall$
|
||||
Set $java_reinstall$ = GetProductProperty("java_reinstall", "1")
|
||||
|
||||
DefVar $timer_value$
|
||||
Set $timer_value$ = GetProductProperty("timer_value", "40")
|
||||
@@ -32,7 +34,7 @@ Set $dotnet3.0$ = GetProductProperty("dotnet3.0", "install")
|
||||
DefVar $dotnet3.5$
|
||||
Set $dotnet3.5$ = GetProductProperty("dotnet3.5", "install")
|
||||
DefVar $dotnet4.0$
|
||||
Set $dotnet4.0$ = GetProductProperty("dotnet4.0", "install")
|
||||
Set $dotnet4.0$ = GetProductProperty("dotnet4.0", "none")
|
||||
DefVar $dotnet4.5$
|
||||
Set $dotnet4.5$ = GetProductProperty("dotnet4.5", "install")
|
||||
DefVar $msjsharp$
|
||||
|
||||
@@ -83,7 +83,10 @@ else
|
||||
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..."
|
||||
comment "Start setup program"
|
||||
ChangeDirectory "%SCRIPTPATH%"
|
||||
Winbatch_jre_uninstall
|
||||
if ($java_reinstall$ = "1")
|
||||
Message "Uninstalling " + "Java" + " 32 + 64 Bit..."
|
||||
Winbatch_jre_uninstall
|
||||
endif
|
||||
Dosbatch_install_32
|
||||
Sub_check_exitcode
|
||||
comment "Copy files"
|
||||
@@ -98,7 +101,10 @@ else
|
||||
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..."
|
||||
comment "Start setup program"
|
||||
ChangeDirectory "%SCRIPTPATH%"
|
||||
Winbatch_jre_uninstall
|
||||
if ($java_reinstall$ = "1")
|
||||
Message "Uninstalling " + "Java" + " 32 + 64 Bit..."
|
||||
Winbatch_jre_uninstall
|
||||
endif
|
||||
Dosbatch_install_64
|
||||
Sub_check_exitcode
|
||||
comment "Copy files"
|
||||
|
||||
Reference in New Issue
Block a user