"Completed" page problem
I'm new to NSIS & developing a very simple install. I have a problem that I've been so far unable to resolve:
I register a DLL using the 'RegDLL' function. Immediately thereafter I check for an error, display an explanatory message to the user, and then abort the install. Here's the code fragment I'm using:
ClearErrors
RegDLL "$INSTDIR\cfrlksda.dll"
IfErrors 0
Messagebox MB_OK "ERROR - Installation aborted.$\r$\nCurrent user privileges do not allow installation; install as Administrator."
Abort "ERROR: RegDLL failed, installation aborted."
The problem is that on the "Completed" screen, the text displayed at the top of the form is contradictory; it is as follows:
"Installation Aborted
Setup was completed successfully"
I've searched for a method to change this displayed text, but haven't found anything. Can someone please advise on how I should proceed?
Thanks,
jaymo