Under your Other Will Work.ĭeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programas\Tomodachi" StrCmp $MUI_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoopĭeleteRegKey /ifempty HKCU "Software\Tomodachi"Īnyways it Doesn't Seem to be a Problem However if you want Delete empty start menu parent diretories !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMPĭelete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"ĭelete "$SMPROGRAMS\$MUI_TEMP\Tomodachi 0.3.lnk" !insertmacro MUI_STARTMENU_WRITE_BEGIN ApplicationĬreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"ĬreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Tomodachi 0.3.lnk" "$INSTDIR\tomodachi.exe"ĬreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe" !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Tomodachi" !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU" Just for reference, I'll put below the pieces of my script that seems related to the startmenu.
#MUI STARTMENU APPLICATION SHOULD I REMOVE IT MANUALS#
I've seem no reference to it in the manuals and I think it's name is different under Win98 and I think this entry is duplicated somewhere else in the registry.Ĭan I delete these registers? Should I delete them? How can I delete them? Where "Tomodachi" is my application's name. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programas\Tomodachi The installer creates it with no problems.īut, after uninstalling the program, I still find an entry in the registry. I created a script for installing a program and, based in a Modern UI example (I don't remember the filename), I configured it to create a shortcut in the StartMenu.