软件打包安装

打包软件有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

 

posted @ 2022-06-25 16:40  十年之前,十年之后  阅读(92)  评论(0)    收藏  举报