Silent uninstall of .exe or .msi file needed
I am currently configuring Microsoft InTune and as a part of that I am rolling out Windows Autopilot, so I will be silently installing the app as a part of the build process. However when I package the .exe file, when I add the package to InTune it requires the install and uninstall command. Can anyone advise on the uninstall command for this or alternatively if there is an .msi file of Notepad++ then that would be my preferred choice.
There is no MSI installer, and the developer confirmed just 16 hours ago that there are no current plans to create one.
The official installer EXE is downloadable from each version’s page at https://www.notepad-plus-plus.org/downloads/ . (For example, the v8.4.4 page links to the 64-bit installer npp.8.4.4.Installer.x64.exe, so that’s what the “install command” looks like). The installer options are documented in the online user manual at https://npp-user-manual.org
I don’t know off the top of my head what the “uninstaller” looks like; I don’t know if it buries an uninst.exe or equivalent or not… I’ve never gone looking for such a thing, and my Notepad++ during the daytime is a portable copy, so it’s still quite a few hours before I could check my home machine to see if I can find where it put the uninstaller. The installer is NSIS-based, so it probably does the uninstaller however any other NSIS-based installer would do it. Addenda: Looking at the source code for the NSIS config, it looks like it stores the uinstall information in the registry at
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++, so looking at that registry entry that should tell you what you need to know about the uninstaller.
quite a few hours before I could check my home machine
I just checked. According to the registry Key section I mentioned, the
"C:\Program Files\Notepad++\uninstall.exe" /S