outfile "inst-manager.exe"\r
\r
-Name "Tizen-SDK-for-Wearable"\r
+Name "Tizen-SDK"\r
\r
ShowInstDetails show\r
\r
\r
!include FileFunc.nsh\r
!include LogicLib.nsh\r
-!include x64.nsh\r
!insertmacro GetParameters\r
!insertmacro GetOptions\r
\r
FunctionEnd\r
############\r
\r
+\r
### TimeStamp\r
!ifndef TimeStamp\r
!define TimeStamp "!insertmacro _TimeStamp" \r
${GetParameters} $R0\r
${GetExePath} $R1\r
${TimeStamp} $0\r
- SetRegView 64\r
\r
StrCpy $1 "SOFTWARE\JavaSoft\Java Runtime Environment"\r
StrCpy $2 0\r
## Check java version and java execution.\r
ExpandEnvStrings $3 %COMSPEC%\r
\r
- ${If} $3 == "%COMSPEC%"\r
- ${DisableX64FSRedirection} ; execute cmd command for windows7 64bit\r
+ ${If} $3 == "%COMSPEC%"\r
nsExec::ExecToStack '"java.exe" "-version"'\r
- ${EnableX64FSRedirection} ; execute cmd command for windows7 64bit\r
- Pop $0\r
- Pop $6\r
${Else}\r
- ${DisableX64FSRedirection} ; execute cmd command for windows7 64bit\r
nsExec::ExecToStack '"$3" /C ""java.exe" "-version""'\r
- ${EnableX64FSRedirection} ; execute cmd command for windows7 64bit\r
- Pop $0\r
- Pop $6\r
${EndIf}\r
\r
+ Pop $0\r
+ Pop $6\r
## check java 1.6\r
Push $6\r
Push "1.6"\r