From: Taeyoung Son Date: Thu, 13 Jun 2013 08:43:55 +0000 (+0900) Subject: [Title] Modify executing IDE's batch script X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=511d195e1ca518b8e44c479232bec0ef320bcd1d;p=sdk%2Fide%2Fproduct.git [Title] Modify executing IDE's batch script [Desc.] [Issue] Change-Id: I86862e800068448452dad376550e17871118bb8b --- diff --git a/org.tizen.base.feature/IDE.bat b/org.tizen.base.feature/IDE.bat index ceadda0..b7d93df 100755 --- a/org.tizen.base.feature/IDE.bat +++ b/org.tizen.base.feature/IDE.bat @@ -1,7 +1,6 @@ -@echo on +@echo off -::set ide_path=%~dp0 -set ide_path=%CD% +set ide_path=%~dp0 set sdk_info_path=%ide_path%\..\sdk.info if exist %sdk_info_path% ( diff --git a/org.tizen.base.feature/IDE.nsi b/org.tizen.base.feature/IDE.nsi new file mode 100644 index 0000000..ad689e5 --- /dev/null +++ b/org.tizen.base.feature/IDE.nsi @@ -0,0 +1,45 @@ +; example1.nsi +; +; This script is perhaps one of the simplest NSIs you can make. All of the +; optional settings are left to their default settings. The installer simply +; prompts the user asking them where to install, and drops a copy of example1.nsi +; there. + +;-------------------------------- + +; The name of the installer +Name "IDE" +Icon "tizen-ide.ico" + +; The file to write +OutFile "IDE.exe" + +; The default installation directory +InstallDir $EXEDIR + +; Request application privileges for Windows Vista +RequestExecutionLevel user + +SilentInstall silent + +;-------------------------------- + +; Pages + +Page instfiles + +;-------------------------------- + +; The stuff to install +Section "" ;No components page, name is not important + SetAutoClose true + + ; Set output path to the installation directory. + SetOutPath $INSTDIR + + ; Put file there + File IDE.bat + + ; Execute batch file without opening a dos box + nsExec::Exec '$INSTDIR\IDE.bat' +SectionEnd ; end the section diff --git a/org.tizen.base.feature/build.properties b/org.tizen.base.feature/build.properties index 4c970f5..d031ab6 100644 --- a/org.tizen.base.feature/build.properties +++ b/org.tizen.base.feature/build.properties @@ -6,6 +6,6 @@ bin.includes = feature.xml,\ root = rootfiles root.linux.gtk.x86 = rootfiles_for_linux root.linux.gtk.x86_64 = rootfiles_for_linux -root.win32.win32.x86 = rootfiles_for_windows_x86 -root.win32.win32.x86_64 = rootfiles_for_windows_x86_64 +root.win32.win32.x86 = rootfiles_for_windows +root.win32.win32.x86_64 = rootfiles_for_windows root.linux.gtk.x86.permissions.755=startup.sh \ No newline at end of file diff --git a/org.tizen.base.feature/rootfiles_for_windows_x86_64/IDE.exe b/org.tizen.base.feature/rootfiles_for_windows/IDE.exe old mode 100644 new mode 100755 similarity index 63% rename from org.tizen.base.feature/rootfiles_for_windows_x86_64/IDE.exe rename to org.tizen.base.feature/rootfiles_for_windows/IDE.exe index 2d9cc16..ada43f1 Binary files a/org.tizen.base.feature/rootfiles_for_windows_x86_64/IDE.exe and b/org.tizen.base.feature/rootfiles_for_windows/IDE.exe differ diff --git a/org.tizen.base.feature/rootfiles_for_windows_x86/IDE.exe b/org.tizen.base.feature/rootfiles_for_windows_x86/IDE.exe deleted file mode 100644 index ced9d00..0000000 Binary files a/org.tizen.base.feature/rootfiles_for_windows_x86/IDE.exe and /dev/null differ