Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Silent uninstall of .exe or .msi file needed

    Help wanted · · · – – – · · ·
    2
    3
    1031
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Harrison Costas
      Harrison Costas last edited by

      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.

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @Harrison Costas last edited by PeterJones

        @Harrison-Costas

        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.

        PeterJones 1 Reply Last reply Reply Quote 2
        • PeterJones
          PeterJones @PeterJones last edited by

          @Harrison-Costas ,

          I said,

          quite a few hours before I could check my home machine

          I just checked. According to the registry Key section I mentioned, the UninstallString is "C:\Program Files\Notepad++\uninstall.exe" and QuietUninstallString is "C:\Program Files\Notepad++\uninstall.exe" /S

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors