Hello,
I am working on an updater that overwrite and add some files to my application.
Because I add some files, I have to rewrite my uninstaller also.
But I have trouble in getting the start menu folder uninstallation
This is what I do
warning: unknow variable/constant "<MUI_STARTMENUPAGE_Application_DEFAULTFOLDER>" detected, ignoring <macro:MUI_STARTMENU_GETFOLDER:20>
error in macro MUI_STARTMENU_GETFOLDER on macro line 20
The problem seem that I have not define the variable "Application". But this variable is define in my installer like this
So,how can I get this value?
Thanks in advance for your help
I am working on an updater that overwrite and add some files to my application.
Because I add some files, I have to rewrite my uninstaller also.
But I have trouble in getting the start menu folder uninstallation
This is what I do
But I am getting during compilation the following errorcode:
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
RMDir /r "$SMPROGRAMS\$StartMenuFolder"
warning: unknow variable/constant "<MUI_STARTMENUPAGE_Application_DEFAULTFOLDER>" detected, ignoring <macro:MUI_STARTMENU_GETFOLDER:20>
error in macro MUI_STARTMENU_GETFOLDER on macro line 20
The problem seem that I have not define the variable "Application". But this variable is define in my installer like this
but not in my updater because I don't want to reinstall a Start Menu, just want to get the existing one.code:
;page STARTMENU
Var StartMenuFolder
!insertmacro MUI_PAGE_STARTMENU "Application" $StartMenuFolder
So,how can I get this value?
Thanks in advance for your help
Comment