Skip to content
⌘ NSIS Forum Archive

Cuestions and Sugestion for NSIS 1.98

2 posts

Nideco#

Cuestions and Sugestion for NSIS 1.98

Cuestions:
- The INSTDIR in the uninstaller changes when you move the uninstaller.exe to another directory. For example, I have dir1 as INSTDIR and I want to copy the uninstaller to dir2:
WriteUninstaller "$INSTDIR\dir2\uninstaller.exe"
Thus, it is useless to write this:
Section "Uninstall"
RMDir /r $INSTDIR
SectionEnd
because when you run the uninstaller it takes dir2 as the INSTDIR, and what I want is to take dir1 as INSTDIR. Can I do anything to resolve this?

- Another problem is what I wrote in this thread:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.

I would like to know if somebody knows something about this, please.

Suggestions:
- Would it be possible to include a help button in the installer, and nsis code to use it, for instance .onHelpClick, etc.

Thank you.👍
kichik#
I would also like to suggest that the uninstaller too will use the registry key set with InstallDirRegKey.