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)?
Related
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.
I uninstalled the internet explorer as it wasn't working properly and thought of reinstalling it.
But after uninsatlling it from windows features I am not able to find it again in there. This is a work computer and I cant reinstall windows or update it. Please give suggestions on how to get it back.
You did not mentioned which OS you are using?
If you are using Windows 10 OS then you can try to refer steps below.
(1) Search for 'Optional features' in search box.
(2) It will show an option 'Manage optional features'. Click on it.
(3) Click on 'Add a feature' option.
(4) Find Internet Explorer 11 from the list and click on it.
(5) Click on install button.
Let me know, if you are using any other OS.
If you get any error while installing it and installation get failed then you may need to contact your IT department.
I have looked at this question, but it is something different.
I need to change the message of MsiRMFilesInUse Dialog box.
Currently the message is "Do not close applications. (A reboot will be required.)"
I need to get it changed to "Do not close applications. (Application may not work)" .
The message comes when application is open, and user try to uninstall the app.
The only (but big) restriction is to do it in Visual Studio 2010 setup project. (Installshield/Wix are not allowed).
I have looked at custom action, not able to figure out how to change the message.
Another approach is to create a custom dialog box, but then i am not able to change the dialog box somehow. Also new dialog box has a very limited set of controls.
Per MsiRMFilesInUse Dialog (Windows)
The MsiRMFilesInUse Dialog box can be authored to display a list of
processes that are currently running files that need to be overwritten
or deleted by the installation. The user can select between options to
"Automatically close applications and restart them" or "Do not close
applications. (A reboot will be required.)" If the user selects the
"Automatically close applications and restart them" option, a push
button control on this dialog box can be authored to publish the
RMShutdownAndRestart control event and the Restart Manager can close
the applications and restart them at the end of the installation. This
can eliminate or reduce the need to restart the computer. For more
information, see System Reboots.
Notice the generous use of the word "can be authored". It is written this way because the perspective is of the Windows Installer SDK (Windows Platform). InstallShield (Basic MSI) and WiX (UI Extension) both author this table. Visual Studio Deployment Projects do not because Microsoft (DevDiv) never put the effort in to support it. You can't modify what isn't there.
Now if you are a Windows Installer expert ( which I doubt otherwise you wouldn't even be posting this question ) there are things that can be done. You can write postbuild commands to modify the built MSI to perform SQL updates and/or apply transforms to inject a custom authored dialog into your MSI after VS is done building it.
I've been down this road, I know how to do it. I also know how counterproductive it is as you'll find yourself doing it ALOT to make up for the short comings of the tool. At that point you understand why WiX / InstallShield is needed and move on.
And for the record, I once quit a very well paying job because VDPROJ is all the development managers would allow. I also returned a couple years later for even more $$$$ when they finally realized that they didn't know what they were talking about.
Good luck.
I want .js, .css, .html, etc. files to be associated with Sublime Text 2. I tried to associate the file type with the Sublime Text program, but the Open With dialog wont let me select sublime_text.exe. When I browse to the sublime_text.exe and click Open, (under Program Files, not Program Files x86; I have ST 64bit version installed) nothing happens; the browse window closes and I'm back to the stupid Open With dialog, but sublime_text.exe isn't selected and within the list available programs, and the OK button is disabled because I have nothing selected.
I'm sure there's someone out there that's more familiar with how Windows works internally and would be able to shed some light on what could be going wrong.
This all started when I installed Sublime Text 2 official release. At the time, I had Sublime Text 2 32bit beta installed, when I installed the official release, I decided to go with 64bit. After I installed the new version, I had two versions on my computer, a 32bit version and 64bit version. All my file associations were using the 32bit version, so after I uninstalled the old 32bit version (using Revo Uninstaller), all my file associations broke, and I haven't been able to fix this sense then.
Any help on this is greatly appreciated.
Maybe this will help http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1652&start=10#p7646
In case the link will die, here is content
This actually isn't a problem with Sublime text, it's a generic quirk
introduced in Vista and left lingering in W7. I actually recently made
a blog post about this very issue, you can find it at
http://anders.tonfeldt.se/?p=775 but I'll detail it here since it's
generally considered bad form to drop an url and leave.
Open regedit.
Navigate to HKEY_CLASSES_ROOT\Applications\sublime_text.exe\shell\open\command
Verify that the path is accurate, correct it if it is not. Exit regedit.
Open task manager via ctrl+alt+del, kill explorer.exe, go to run and type explorer.exe (or skip this step and simply reboot).
Now attempt the same thing, right click a text file, open with, navigate to sublime, and it should now appear in the list of available
applications.
Disclaimer; My post above uses another application as an example and
it's not guaranteed to fix your problem, but it's likely to be the
same as I've encountered it countless times when installing /
uninstalling / reinstalling an application, or just updating one, in
Win7/Vista.
TFeldt
I am composing a setup project in VS2010 . I want to add a dialog with checkbox for the user to specify if he wants to delete the database or not. But I can't figure out how to do it: the user interface doesn't represent the uninstall dialogs on the "view dialogs" form. So I can show a messagebox instead, but then there is another problem: how can a person specify whether the database should be deleted or not if the uninstaller is launched in a quited mode? In that case some parameters should be passed to the setup project somehow. Got any thoughts?
Right now I am trying to use Orca, it is a part of Windows Installer SDK.
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
It might solve my problem.