iT邦幫忙

2

[Windows Installer] 筆記1.安裝檔打包

2018-02-27 16:32:5548639 瀏覽
  • 分享至 

  • xImage
  •  

最近在windows form專案需要打包安裝檔,利用了Visual Studio Installer來實作,稍微紀錄一下自己的手順。

  1. 2015版本安裝Microsoft Visual Studio 2015 Installer Project
    https://ithelp.ithome.com.tw/upload/images/20180227/20106503hrB53FO1kF.jpg
  2. 加入Installer專案,選擇Setup Project,自訂Installer名稱
    https://ithelp.ithome.com.tw/upload/images/20180227/2010650326vSfS7Xn0.jpg
  3. 選擇要加入Installer的檔案至Application Folder,可選專案輸出或自訂檔案
    https://ithelp.ithome.com.tw/upload/images/20180227/20106503kayBHonW2G.jpg
  4. 點選專案,設定打包的屬性
    https://ithelp.ithome.com.tw/upload/images/20180227/20106503EMGeMA0XpB.jpg
  5. 點選Application Folder,設定預設安裝路徑
    https://ithelp.ithome.com.tw/upload/images/20180227/20106503V0XLWRqBZS.jpg
  6. 建置專案,成功後可以測試安裝與解除安裝
    https://ithelp.ithome.com.tw/upload/images/20180227/20106503vFPN15nqCM.jpg
  7. 建置完成後,產生的檔案在Debug目錄下
    https://ithelp.ithome.com.tw/upload/images/20180227/20106503WY0IjKo5PJ.jpg

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言