Changes between Version 5 and Version 6 of jazz/hadoop4win-dev


Ignore:
Timestamp:
Dec 21, 2010, 7:03:45 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/hadoop4win-dev

    v5 v6  
    1818 * 學習使用 EclipseNSIS
    1919   * [限制] 目前 EclipseNSIS 並不支援 Linux - [http://sourceforge.net/tracker/?func=detail&aid=1792092&group_id=116143&atid=673852 開發者覺得工程浩大,暫時不會改]。
     20   * [結論] 光安裝就有點麻煩,得先裝 Eclipse 3.5 sr1 版本,然後還有 NSIS 、EclipseNSIS Plugin 要裝。若只是要產生安裝檔,似乎有點工程太大。加上仔細看了一下介紹,似乎都要寫 NSIS Script 腳本,EclipseNSIS 只是多了 !InstallOption 的介面設計工具罷了。所以還是改用指令好了~
     21 * 在 Ubuntu 10.04 底下測試 NSIS 指令 - 其實只要找對範例程式,也不難寫啦~drbl-winroll 應該是用 nsExec 寫的。
     22{{{
     23~$ sudo apt-get install nsis
     24~$ cp /usr/share/doc/nsis/Examples/nsExec/test.nsi .
     25~$ makensis test.nsi
     26
     27... 略 ...
     28Processed 1 file, writing output:
     29Adding plug-ins initializing function... Done!
     30Processing pages... Done!
     31Removing unused resources... Done!
     32Generating language tables... Done!
     33
     34Output: "nsExec Test.exe"
     35Install: 2 pages (128 bytes), 3 sections (3144 bytes), 46 instructions (1288 bytes), 47 strings (946 bytes), 1 language table (198 bytes).
     36Datablock optimizer saved 8092 bytes (~13.4%).
     37
     38Using zlib compression.
     39
     40EXE header size:               48128 / 50688 bytes
     41Install code:                    987 / 6032 bytes
     42Install data:                   4046 / 27660 bytes
     43CRC (0x93CB145C):                  4 / 4 bytes
     44
     45Total size:                    53165 / 84384 bytes (63.0%)
     46}}}
     47 * 如果要設計網路安裝版,倒也可以用 [http://nsis.sourceforge.net/Builtin_NSISdl_plug-in NSISdl] 這個 plugin 來開發。
    2048
    2149= 0.1.5 版 =