如何在 Visual Studio 2022 建立 Windows 程式(軟體)安裝檔(C# 打包)

如何在 Visual Studio 2022 建立 Windows 程式(軟體)安裝檔(C# 打包)

如何在 Visual Studio 2022 建立 Windows 程式(軟體)安裝檔(C# 打包)


資料來源: https://blog.hungwin.com.tw/visual-studio-2019-winform-setup/



心得:我在VS2015時都用 NSIS TOOL

5 thoughts on “如何在 Visual Studio 2022 建立 Windows 程式(軟體)安裝檔(C# 打包)

  1. visual studio installer setup project installation path [修改 產生安裝檔案的安裝預設路徑]

    https://stackoverflow.com/questions/3028263/changing-the-default-installation-path-in-windows-application

    01.Right click on your setup project root in Solution Explorer and choose “View -> File System”

    02.Click on (select) “Application Folder” in the window which opened.

    03.If you look in the “Properties Pane” in Visual Studio there is an entry called “DefaultLocation”. Change this to point it somewhere besides “Program Files”.

    Default value for location is [ProgramFilesFolder][Manufacturer]\[ProductName]. These are placeholders variables which are looked up when you compile the setup project. [ProgramFilesFolder] is the one which will point to “Program Files” in an English version of Windows.

    1. VS2022 繁中 實際對應(翻譯)

      01. 專案(右鍵) ->View->檔案系統

      02.Application Folder(右鍵) -> 屬性視窗

      03.DefaultLocation 屬性值,修改成自己想要的內容:「EX: C:\VTeamCreditCard」

  2. How to Create a Setup File in Visual Studio 2022 | Create Installer for C#, VB and C++ Applications

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *