Reputation:
I would like to have an uninstaller with custom NS pages. How do I do that with NSIS?
Upvotes: 2
Views: 4580
Reputation: 101636
Function un.mypageCreate
;call nsDialogs or InstallOptions functions here
FunctionEnd
UninstPage custom un.mypageCreate
Upvotes: 6
Reputation: 2230
Example:
UninstPage custom un.mypage
Function un.mypage
;func body here
FunctionEnd
"un." is required for uninstall functions.
Upvotes: 5
Reputation: 1699
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.
Upvotes: 0