Hi, I'm seeing some strange behavior during uninstall. The $SHORTCUTFOLDER$ is physically removed from the drive, but is still visible in the Start Menu. Logging out or changing Start Menu preferences removes it.
I was able to reproduce this with a new "web build" project, and calling "delete recursive" before apply uninstall did nothing to remedy this.
Does anyone have a good way to fix this? Many thanks in advance,
Dawid
uninstall start menu shortcut folder
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Apparently still broken in some cases. It's a Windows bug and Microsoft has a workaround
http://support.microsoft.com/kb/q193293/
Dawid
http://support.microsoft.com/kb/q193293/
Dawid
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I can do better than that:
Code: Select all
~InstallAware Clipboard Data~
~Call DLL Function~
~{C8EBEF25-3C3A-4050-AFD8-33EC79036F40}~
~user32.dll,PostMessageA,bool,,"double word",65535,"double word",26,"double word",0,"double word",0,$~
~mIDEFunc.dll\\mEXEFunc.dll~
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Thanks. I tried it, but it didn't work. Looks like instead I might need to call:
SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST, pidl, NULL);
But first I need to obtain a "pidl", which is the address of the Start Menu folder by calling:
SHGetSpecialFolderLocation( (HWND)NULL, CSIDL_STARTMENU, &pidl)))
Sounds like I need to write my own small app to do this. Is there an easier way to accomplish this within AI?
http://msdn.microsoft.com/en-us/library ... S.85).aspx
Dawid
SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST, pidl, NULL);
But first I need to obtain a "pidl", which is the address of the Start Menu folder by calling:
SHGetSpecialFolderLocation( (HWND)NULL, CSIDL_STARTMENU, &pidl)))
Sounds like I need to write my own small app to do this. Is there an easier way to accomplish this within AI?
http://msdn.microsoft.com/en-us/library ... S.85).aspx
Dawid
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:

