Archive: Just keeps getting worse


Just keeps getting worse
I don't want the Start Menu Program Group to display, I just want to force it, as the uninstaller isn't smart enough to keep tabs on where things are installed (see a previous post for details).

So, now I'm getting on compile:
Unknown Variabel {MUI_STARTMENUPAGE_VARIABLE} not defined, ignoring... or whatever.

How can I disable a user from changing a strictly defined Start Menu group? Do I even need to define these things?

Also... now one of my issues is I'm trying to customize the DirText, and have READ the entire ModernUI readme. It is not clearly enough defined for a new(er) user of NSIS what command/definitions SUPERCEDES the DirText command from the Classic Interface.

What do I define for MUI to change the DirText without re-defining it later, causing a warning?

The uninstaller for NSIS really needs some work.
I can't get the uninstaller to be in one place, yet uninstall files in the $INSTDIR folder unless I place the uninst.exe explicitly in the $INSTDIR root.


Hello,

For the start menu program, I don't see where the problem is. If you do not want the user to change anything, then don't display the MUI_PAGE_STARTMENU at all.

Place all the code related to creating your shortcuts in a section whose name will begin with '-' .


As for the uninstaller, you can always write a registry key in the installer containing $INSTDIR and then read it from the uninstaller. This behavior is by design, allowing users to move installed products and still have uninstallers work. It's also this way to avoid NSIS automatically writing unwanted registry keys.


Ok. I'm getting it, just a bit frustrated.
Changing the topic title as it's a bit inappropriate.

Oops. Can't edit it now. :) Feel free to edit the topic title.