Setup factory 9 刪除前一版本的方法(即升級的方法):xml
一、在Actions的On Pre Install中加入如下語句io
result = File.Run(SessionVar.Expand("%AppFolder%\\uninstall.exe"), "/U:Uninstall/uninstall.xml", SessionVar.Expand("%AppFolder%"), SW_SHOWNORMAL, true);方法
二、在Uninstall的Settings選項卡中,設定靜默卸載升級
Options中Allow silent uninstall和Start in silent mode都打勾版本
以上方法親測正常可用tar