Skip to content
⌘ NSIS Forum Archive

MUI_STARTMENUPAGE_DEFAULTFOLDER does nothing

2 posts

drvman02#

MUI_STARTMENUPAGE_DEFAULTFOLDER does nothing

When I try to use the MUI_STARTMENUPAGE_DEFAULTFOLDER the value I enter does not seem to take affect. I am not sure if it is my issue or a problem with the MUI_PAGE_STARTMENU macro.

I use it as follows:

!define MUI_STARTMENUPAGE_DEFAULTFOLDER "MyFolder"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\MyFolder"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"

!insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER

When the start menu page shows up my Name shows up as the folder.

Should the above code work?
kichik#
Make sure the registry key you point to using the other defines is empty. It probably contains a value from a prior installation.