软件打包安装
打包软件有setupFactory
使用nsis这种免费的做,一个软件 在一台设备上可能只安装一次
安装包,删除的时候 ,并没有删除。
Shell.CreateShortcut("%AppFolder%", "卸载 NetManage.exe", "%AppFolder%\\uninstall.exe", "/U:.\\Uninstall\\uninstall.xml", "%AppFolder%", "%AppFolder%\\uninstall.exe", 0, SW_SHOWNORMAL, nil, "", START_OPTION_DEFAULT);
https://www.freesion.com/article/4740629939/


resultF = Folder.DoesExist(SessionVar.Expand("%AppFolder%"));
if (resultF) then
Folder.DeleteTree(SessionVar.Expand("%AppFolder%"),nil);
end

浙公网安备 33010602011771号