[Title] Modify executing IDE's batch script
authorTaeyoung Son <taeyoung2.son@samsung.com>
Thu, 13 Jun 2013 08:43:55 +0000 (17:43 +0900)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Thu, 13 Jun 2013 08:47:13 +0000 (17:47 +0900)
[Desc.]
[Issue]

Change-Id: I86862e800068448452dad376550e17871118bb8b

org.tizen.base.feature/IDE.bat
org.tizen.base.feature/IDE.nsi [new file with mode: 0644]
org.tizen.base.feature/build.properties
org.tizen.base.feature/rootfiles_for_windows/IDE.exe [moved from org.tizen.base.feature/rootfiles_for_windows_x86_64/IDE.exe with 63% similarity, mode: 0755]
org.tizen.base.feature/rootfiles_for_windows_x86/IDE.exe [deleted file]

index ceadda0..b7d93df 100755 (executable)
@@ -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 (file)
index 0000000..ad689e5
--- /dev/null
@@ -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
index 4c970f5..d031ab6 100644 (file)
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
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 (file)
index ced9d00..0000000
Binary files a/org.tizen.base.feature/rootfiles_for_windows_x86/IDE.exe and /dev/null differ