Ravi
Ravi

Reputation:

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

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

Upvotes: 2

Views: 4580

Answers (3)

Anders
Anders

Reputation: 101636

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

UninstPage custom un.mypageCreate

Upvotes: 6

Rover
Rover

Reputation: 2230

Example:

UninstPage custom un.mypage

Function un.mypage
    ;func body here
FunctionEnd

"un." is required for uninstall functions.

Upvotes: 5

Russell Gallop
Russell Gallop

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

Related Questions