1. 程式人生 > >一鍵搞定Java桌面應用安裝部署 —— exe4j + Inno Setup 帶著JRE, 8M起飛

一鍵搞定Java桌面應用安裝部署 —— exe4j + Inno Setup 帶著JRE, 8M起飛

[Setup]
AppName=資料結構演示程式
AppVersion=1.5
DefaultDirName={pf}\DataStucture
DefaultGroupName=DataStucture
;UninstallDisplayIcon={app}\MyProg.exe
OutputDir=D:\java

[Files]
Source: "E:\DataStructure\jre\*"; DestDir: "{app}\jre"
Source: "E:\DataStructure\jre\bin\*"; DestDir: "{app}\jre\bin"
Source: "E:\DataStructure\jre\bin\client\*"; DestDir: "{app}\jre\bin\client"

Source: "E:\DataStructure\jre\lib\*"; DestDir: "{app}\jre\lib"
Source: "E:\DataStructure\jre\lib\audio\*"; DestDir: "{app}\jre\lib\audio"
Source: "E:\DataStructure\jre\lib\cmm\*"; DestDir: "{app}\jre\lib\cmm"
Source: "E:\DataStructure\jre\lib\deploy\*"; DestDir: "{app}\jre\lib\deploy"
Source: "E:\DataStructure\jre\lib\ext\*"; DestDir: "{app}\jre\lib\ext"
Source: "E:\DataStructure\jre\lib\fonts\*"; DestDir: "{app}\jre\lib\fonts"
Source: "E:\DataStructure\jre\lib\i386\*"; DestDir: "{app}\jre\lib\i386"
Source: "E:\DataStructure\jre\lib\im\*"; DestDir: "{app}\jre\lib\im"
Source: "E:\DataStructure\jre\lib\images\cursors\*"; DestDir: "{app}\jre\lib\images\cursors" 
Source: "E:\DataStructure\jre\lib\management\*"; DestDir: "{app}\jre\lib\management"
Source: "E:\DataStructure\jre\lib\security\*"; DestDir: "{app}\jre\lib\security"


Source: "E:\DataStructure\jre\lib\zi\*"; DestDir: "{app}\jre\lib\zi"
Source: "E:\DataStructure\jre\lib\zi\Africa\*"; DestDir: "{app}\jre\lib\zi\Africa"

Source: "E:\DataStructure\lib\*"; DestDir: "{app}\lib"
Source: "E:\DataStructure\DataStructure.exe"; DestDir: "{app}";
                                                                                  
[Icons]
Name: "{group}\DataStructure"; Filename: "{app}\DataStructure.exe"