This question already has an answer here:
Uninstall file in Start Menu applications list isn't always shown
(1 answer)
Closed 3 years ago.
I use CPack in my CMakeLists.txt to create an installer for my test application.
This is my code which generates the start menu entry
set(CPACK_GENERATOR "NSIS")
set(CPACK_START_MENU_SHORTCUTS "${PROJECT_NAME}")
set(CPACK_PACKAGE_EXECUTABLES "${PROJECT_NAME}" "${PROJECT_NAME}.exe")
include(CPack)
After installation I see my start menu folder and when opening it there are my application .exe and the uninstaller. After ~15s the uninstaller disappears magically.
Has anyone a clue why this happens? The application .exe stays.
#RaymondChen has the answer to your question:
A customer reported that their installer creates a shortcut on the Start menu called Uninstall Contoso Deluxe, but a few seconds after their installer completes, the Uninstall Contoso Deluxe icon disappears from the Start menu. The main Contoso Deluxe shortcut is still there. What’s going on?
The uninstaller shortcut is removed from the Start menu to reduce clutter. You can uninstall apps from the Apps page in Settings, or from the Programs and Features control panel (formerly known as Add or Remove Programs). You can also get to the uninstaller by right-clicking Contoso Deluxe and selecting Uninstall.
This is by design, Windows 8 and later will hide "useless" shortcuts.
Why does my app’s uninstaller disappear from the Start menu?
The uninstaller shortcut is removed from the Start menu to reduce clutter. You can uninstall apps from the Apps page in Settings, or from the Programs and Features control panel (formerly known as Add or Remove Programs). You can also get to the uninstaller by right-clicking Contoso Deluxe and selecting Uninstall.
Adding an uninstaller icon to Start menu is triply redundant, and it puts uninstallers in a high-traffic area of the user interface, when users are mostly looking for apps to run, not apps to uninstall.
The uninstaller shortcut is still there, so your uninstaller won’t get confused when it tries to delete the uninstaller shortcut. But the Start menu doesn’t show it.
Related
I remember there being a script for unpinning preinstalled apps from the start menu but I can't find it. Is there any way to remove these entries from the start menu? Examples of this include the calculator or the Nvidia Control Panel. give me some clear instruction how to remove these from the list in start. Ideally some Powershell script. Or pont me to the loaction in the registry.(If that works.)
Additional information:
This is about the start menu not about the autostart nor about the taskbar. I am also not talking about the tiles to the right of the start menu. I am talking about the list that shows up when you click on start. You know the one that sorts things alphabetically.
I have already checked
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
as well as
C:\Users\<User>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
there are no shortcuts to these unwanted entries there. So please do not point me there.
I do not want to remove these apps entirely. I just don't want shortcuts to these in my start menu. I know these entries disappear when you uninstall them using things like CCleaner but thats not what I am looking for.
As I said, I remember there being a script you could paste into Powershell to remove preinsalled apps from the start menu but I think it stopped working after a certain update. Can't test that though, since I cant find it. I think it was made by a german user on this forum in 2018 but I might be wrong. If someone knows what I am talking about please let me know.
And last but not least: I know this is a petty thing to worry about. But I like my start menu clean since I run everything from there instead of using desktop shortcuts.
I'm making a non-elevated software installer for Windows 10. The installer saves the application into C:\Users\USER_NAME\AppData\Local\MY_APP_NAME folder. It also creates a shortcut in C:\Users\USER_NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ folder. The shortcut correctly appears in Start Menu, but it never appears in search results.
I tried rebuilding the search index and ran Start Menu troubleshooter with no luck. I'm from Poland and thus Cortana is disabled on my machine.
I investigated other shortcuts in that folder and found that some applications appear in search results while others do not. For example, a link to SourceTree appears in search results while a shortcut to R-Link 2 Toolbox do not appear there. Both SourceTree and R-Link 2 Toolbox are installed into AppData\Local folder and both shortcuts are saved to AppData\Roaming\Microsoft\Windows\Start Menu\Programs\. I don't see any difference between their shortcut files. Yet I can find SourceTree in search results while R-Link isn't there. This behavior isn't related to spaces in the app name. I tried renaming my app not to have a space in its name and this changes nothing.
Is there something I should do to register my shortcut for indexing?
It seems the problem was related to indexing issues of the Windows OS. It seems sfc /scannow command solved the problem and now indexing works correctly for all menu folders and apps.
Two months ago Microsoft has released update (part of another question) which is causing problems to my software. I've found solution how to uninstall it, but after uninstallation, Windows installed it again.
I know the update mustn't be hidden without user permission - this is not a part of my question.
I'm looking for a way how to hide this update. I accept just any solution, but I prefer Batch or VB-script.
Read What is the "Get Windows 10" Tray Item and How Do You Remove It? and follow it mutatis mutandis:
To uninstall an update (e.g. KB3035583):
Manually: first open Windows Update and click “Installed Updates” in the bottom-left corner. To quickly find KB3035583, you can sort by name. Once you’ve located it, right-click and choose “Uninstall”. Restart the computer then.
Or programmatically wusa /uninstall /KB:3035583 using Windows Update Standalone Installer
If you have Windows updates set to download and install automatically, this means that if you uninstall this update, it will be reinstalled automatically a few days later. To hide the KB3035583 update and prevent it from being reinstalled, right-click on it in the Windows Update application and select “Hide update”.
To hide an update programmatically, see Opmet's answer to another question at SuperUser: How to disable the “Get Windows 10” icon shown in the notification area (tray)?
I'm working on a Windows Setup Project in Visual Studio. In the "File System" editor, below the "User's Programs Menu" node, I have a folder for my application that contains several shortcuts. One shortcut serves to launch the application; a different one restores the application's factory settings (so it also calls the application, but with an argument).
After running the installer, the folder - and shortcuts it contains - are created correctly in the Start Menu. Additionally, without any action on my behalf, the installer creates an additional shortcut at the "top level" of the Start Menu (i.e. it's visible when one opens the Start Menu by clicking the Start button).
This additional shortcut used to be the one for launching the application. That was fine. But since I added the "Factory reset" shortcut, this is the one that appears at the "top level" of the Start Menu. This is pointless, and will just confuse users. Is there any way to change this?
EDIT (clarification): Since I added the "Factory reset" shortcut, only this shortcut appears at the top level of the Start Menu (which I don't want), and the shortcut to launch the application no longer appears (but I want it to). Note that all shortcuts in the Start Menu's subfolder are correct. What I'm referring to here is the single shortcut that appears automatically at the top level of the Start Menu (immediately visible when the Start button is clicked).
You'll have to explicitly mark your "factory reset" shortcut with the System.AppUserModel.ExcludeFromShowInNewInstall property. Raymond Chen shows how to do this in this blog post.
Note that this question was asked before.
As you might know katmouse enables scrolling over non active windows. Which would be especially great in vs 2010 because now you can take source code windows to other monitors. But of course it does not work. Is there a trick to make WPF receive the right message?
Try WizMouse, remember to set it to run with administrator privileges to make it work for admin level windows.
Yes, well, mostly.
Open the KatMouse dialog by right clicking and choosing settings. Go to the Classes tab, and drag the icon on the bottom of the dialog to an open vs2010 window. That'll add the new class to KatMouse. Now double click that new entry to bring up the settings for that class, and turn off the "Window has wheel scrolling support" checked box.
Unfortunately it seems like the class name changes for every source window, so I think you have tell KatMouse about every source window every time you launch vs. :(