版权声明:原创作品请注明出处: Ma_Hong_Kai CSDN https://blog.csdn.net/Ma_Hong_Kai/article/details/84836287
Name "AdvSplash.dll test"
OutFile "UninstallRemaind.exe"
InstallDir "c:\ESTSIP"
XPStyle on
Section exeFile
SetOutPath $INSTDIR
File "SIPUninstallRemaind.exe"
SectionEnd
Section "unistall"
ExecWait '"$INSTDIR\SIPUninstallRemaind.exe" /S'
ExecWait '"$INSTDIR\uninstall.exe" /S'
SectionEnd
Function .onInit
SetSilent silent
FunctionEnd
SIPUninstallRemaind.exe 为自己使用nsi执行后的一个exe;
uninstall.nsi 为脚本
UninstallRemaind.exe为执行后的脚本
链接: https://pan.baidu.com/s/15qysGer6eLW8DNXzixzDoA 提取码: e4pe (7天有效)