2007年6月15日 星期五

InstallShield 更新使用

感謝耀明的指導~

最近的工作轉變很大 從最早的需求分析、客服、教育訓練
到現在的轉檔 維護 還有現在的包更新檔

InstallShield的包更新檔的概念-
1.把要更新的檔案放入Installation Designer/Organization/Components/Executable/Files
a.取代原先的Distributed.exe檔
b.按右鍵設定『Set Key File』
c.按右鍵選取『Properties』,設定為『Always Overwrite』

2.更改更新版本
a.Installation Designer/Installation Information/General Information/Product Properties
b.修改欄位Version為更新後之版本(如:更新到2.2.3,則輸入2.2.3)

3.更改由那個版本前更新
a.Installation Designer/Media/Upgrades/Prepare Setup For Upgrade Scenaios/Upgrade Windows Installer Setup/Upgrade to 2.2.0

b.Common/Product Version 輸入Version Range Inclusive (如:更新到2.2.3,凡2.2.2之前的版本都要更新上來,則輸入2.2.2)

4.建立更新檔
a.Installation Designer/Media/Releases/Main Configuration/2.2.2
b.右鍵選取『Clone』複製,後修改檔名
c.右鍵選取『Build』-完成