When using NSIS, how do I create an uninstaller with custom pages?

a 夏天 提交于 2019-12-11 06:28:09

问题


I would like to have an uninstaller with custom NS pages. How do I do that with NSIS?


回答1:


Example:

UninstPage custom un.mypage

Function un.mypage
    ;func body here
FunctionEnd

"un." is required for uninstall functions.




回答2:


Function un.mypageCreate
;call nsDialogs or InstallOptions functions here
FunctionEnd

UninstPage custom un.mypageCreate



回答3:


The Function has to begin with un. (e.g. "un.myPageCreate") though I'm not sure that is the problem the error message is referring to.



来源:https://stackoverflow.com/questions/1365268/when-using-nsis-how-do-i-create-an-uninstaller-with-custom-pages

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!