文章目錄
一. 前言
Unity發佈發佈PC
平臺exe
的時候,是生成一個Data
目錄和一個exe
文件,如下:
而一般軟件發佈的時候,是隻有一個Setup.exe
這樣子的安裝程序,可以使用Smart Install Maker
這個軟件來製作這個Setup.exe
程序。
二. Smart Install Maker下載
三. Smart Install Maker的使用
1. 常規設置
2. 文件設置
3. 設置圖標
4. 保存smm文件
設置好之後,建議保存smm
文件,方便下次讀取
5. 開始執行
成功後,即可得到一個Setup.exe安裝程序
我們只需要把這個Setup.exe發佈出去即可。
四. 命令行
Smart Install Maker
提供了簡單的命令行功能。
/build FileName
Compile the project. FileName - the name of the project.
/open FileName
Open the project in the editor. FileName - the name of the project.
Example:
sim.exe /build C:\Projects\My_Setup.smm
sim.exe /open C:\Projects\My_Setup.smm