NSIs:
Nullsoft Scriptable install System
An installer is the first experience of a user with your application. slow or unsuccesful software installations are the most irritating computer problems. A quick and user friendly installer is therefore an essential part of your software product.
NSIs (Nullsoft Scriptable install System) is a tool that allows programmers to create such installers for windows. It is released under an open source license and is completely free for any use.
Link: http://nsis.sourceforge.net/
Paste a newly written packaging script and check it out. Hopefully, it's not a leak. God bless. You can see that there is basically no nonsense, and there is no need for comments. You can understand it either in a computer or in English, foreigners are funny. We can find Microsoft shit, I like f * ck sheep... fainted
------------------------------------------------------------------
Name "Run test"
Caption "Run's test"
OUTFILE "setup.exe"
Licensetext "A test text, make sure it's all there"
Installdir "$ ProgramFiles \ sms_client"
Page Directory
Page instfiles
Section ""
Detailprint "Welcome to setup program ..."
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "install_dir" "$ instdir"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "automovetohistory" "true"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "autocleantrashcan" "true"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "autoreceiveinterval" "10"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "timeformat" HH: Mi"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "autocleandays" "7"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "automovedays" "3"
Writeregstr "hkcu" "SOFTWARE \ comgi \ trafficstation" "WSDL" http://bdcb.m-mall.cn/TrafficService/services/TrafficService"
Writeregstr HKLM "SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ bignsistest" "displayname" "bignsistest (remove only )"
Writeregstr HKLM "SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ bignsistest" "uninstallstring" '"$ instdir \ bt-uninst.exe "'
Setoutpath $ instdir
File/a "F: \ bdcb SMS client \ stationsmsclient.exe"
File/a "F: \ bdcb SMS client \ data. dat"
File/a "F: \ bdcb SMS client \ dotnetfx.exe"
File/a "F: \ bdcb SMS client \ onlineupdater.exe"
File/a "F: \ bdcb SMS client \ trafficclient_1.2.0.0.dll"
File/a "F: \ bdcb SMS client \ trafficclient. chm"
File/a "F: \ bdcb SMS client \ stationsmsclient.exe. config"
Writeuninstaller "uninst.exe"
Createdirectory "$ smprograms \ SMS"
Createshortcut "$ smprograms \ Kang click SMS \ UninstallProgram. Lnk "" $ instdir \ uninst.exe"
Createshortcut "$ smprograms \ Kang click SMS \ SMS application. lnk" "$ instdir \ stationsmsclient.exe"
Createshortcut "$ smprograms \ kanchu SMS \ Help document. lnk" "$ instdir \ trafficclient. chm"
Createshortcut "$ Desktop \ SMS application. lnk" "$ instdir \ stationsmsclient.exe"
Exec "$ instdir \ dotnetfx.exe"
Sectionend
Section "Uninstall"
Delete "$ instdir \ stationsmsclient.exe"
Delete "$ instdir \ dotnetfx.exe"
Delete "$ instdir \ onlineupdater.exe"
Delete "$ instdir \ trafficclient_1.2.0.0.dll"
Delete "$ instdir \ trafficclient. chm"
Delete "$ instdir \ stationsmsclient.exe. config"
Delete "$ smprograms \ SMS application. lnk"
Delete "$ Desktop \ SMS application. lnk"
Delete "$ smprograms \ SMS \ Help document. lnk"
Delete "$ smprograms \ Kang SMS \ Uninstall program. lnk"
Delete "$ instdir \ uninst.exe"
Sectionend