<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to deinstall lpc device driver from the console? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976991#M38586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the command line utility&lt;/P&gt;&lt;P&gt;pnputil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This allows you to enumerate devices and to delete them (as well as install them etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;pnputil /help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2020 17:07:48 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2020-02-17T17:07:48Z</dc:date>
    <item>
      <title>How to deinstall lpc device driver from the console?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976990#M38585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am developping a Windows application to update Nxp Microcontrollers in DFU mode. I want the application installer to contain the necessary drivers, so that the user only needs to install my application for it to work.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;During my tests I installed &lt;STRONG&gt;LPCScrypt_installer_2.1.0_842.exe&lt;/STRONG&gt; and found a&lt;STRONG&gt; lpc_driver_installer.exe&lt;/STRONG&gt; under &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\NXP\LPCScrypt_2.1.0_842\Drivers&lt;/SPAN&gt;, when I run it the drivers are getting installed and I get the .inf files under &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Program Files\NXP\LPC Driver Installer&lt;/SPAN&gt;. There are:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;lpc313x_dfu_msc&lt;/LI&gt;&lt;LI&gt;lpcdevice&lt;/LI&gt;&lt;LI&gt;lpc-linkII-hid&lt;/LI&gt;&lt;LI&gt;lpc-linkII-vcom&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;In my Installer I call &lt;STRONG&gt;lpc_driver_installer.exe&lt;/STRONG&gt; from the console in silent mode and it works well, but I also need to be able to deinstall the drivers. When I call the help page of &lt;STRONG&gt;lpc_driver_installer.exe&lt;/STRONG&gt; I can see this:&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Windows ® Installer. V 5.0.18362.1
Installationsoptionen
&amp;nbsp;...
&amp;nbsp;&amp;lt;/uninstall | /x&amp;gt; &amp;lt;Produkt.msi | Produktcode&amp;gt;
&amp;nbsp;&amp;nbsp;Deinstalliert das Produkt.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;/DIV&gt;&lt;DIV&gt;I tried to call &lt;STRONG&gt;lpc_driver_installer.exe /uninstall&lt;/STRONG&gt;, but the problem is that I am not able to find the corresponding Product code. I ran this Installer with the log option and found this:&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;...
Property(S): Manufacturer = NXP
Property(S): MsiLogging = v
Property(S): NewDirIcon = New
Property(S): PROMPTROLLBACKCOST = P
Property(S): ProductCode = {18BC6831-5259-4914-B09A-DE370BCF8AD1}
Property(S): ProductLanguage = 1033
Property(S): ProductName = LPC Driver Installer
Property(S): ProductVersion = 2.0.2
Property(S): Progress1 = Installing
Property(S): Progress2 = installs
...&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I tried to call &lt;STRONG&gt;lpc_driver_installer.exe /uninstall {18BC6831-5259-4914-B09A-DE370BCF8AD1}&lt;/STRONG&gt; but got an error window "Patch was not applied to this product" (translated from german).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can someone tell me where to find the correct product code or if I am doing something wrong?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Many thanks,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Pierre&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 16:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976990#M38585</guid>
      <dc:creator>palaplan</dc:creator>
      <dc:date>2020-02-17T16:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to deinstall lpc device driver from the console?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976991#M38586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the command line utility&lt;/P&gt;&lt;P&gt;pnputil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This allows you to enumerate devices and to delete them (as well as install them etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;pnputil /help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 17:07:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976991#M38586</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-02-17T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to deinstall lpc device driver from the console?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976992#M38587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for the quick answer,&lt;/P&gt;&lt;P&gt;I tried your method with &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;pnputil&lt;/SPAN&gt; and it works fine, I can get the list of all installed Drivers with &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;pnputil /enum-drivers:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;C:\Users\Tester\Desktop\tmp&amp;gt;pnputil /enum-drivers
Microsoft-PnP-Hilfsprogramm

Veröffentlichter Name:     oem6.inf
Originalname:      lpc-linkii-hid.inf
Anbietername:      NXP
Klassenname:         Eingabegeräte (Human Interface Devices)
Klassen-GUID:         {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Treiberversion:     11/03/2014 1.0.0.1
Name des Signaturgebers:        NXP Semiconductors USA. Inc.
...&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then I can deinstall a driver with &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;pnputil /delete-driver oem#.inf&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;C:\Users\Tester\Desktop\tmp&amp;gt;pnputil /delete-driver oem6.inf
Microsoft-PnP-Hilfsprogramm

Das Treiberpaket wurde erfolgreich gelöscht.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The problem for me is that in that case I would be forced to parse the Standard Output and find the correct oem#.inf file, which also sounds risky!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another method I thought About is with &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;dpinst&lt;/SPAN&gt;, included in &lt;A href="https://docs.microsoft.com/de-de/windows-hardware/drivers/install/difx-guidelines" rel="nofollow noopener noreferrer" target="_blank"&gt;DIFX&lt;/A&gt;, which was part of the &lt;A href="https://docs.microsoft.com/de-de/windows-hardware/drivers/download-the-wdk" rel="nofollow noopener noreferrer" target="_blank"&gt;Windows Driver Kit (WDK)&lt;/A&gt;. There is a 32 bits and a 64 bits Version of the tool, and for it to work you need the .inf files with the corresponding .cat files, which I got from the LPCScrypt Installation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 09:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976992#M38587</guid>
      <dc:creator>palaplan</dc:creator>
      <dc:date>2020-02-18T09:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to deinstall lpc device driver from the console?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976993#M38588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out, that there are 2 different help pages for&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;lpc_driver_installer.exe&lt;/SPAN&gt;, one with&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;lpc_driver_installer.exe /h&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which seem to give a list of &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;msiexec&lt;/SPAN&gt; Parameters, and another one with&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;lpc_driver_installer.exe /?&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which gives a list of &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;setup&lt;/SPAN&gt; parameters, like &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;/extract&lt;/SPAN&gt; for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to extract the setup in a local directory and found out that it contains:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;lpc_driver_installer.msi&lt;/LI&gt;&lt;LI&gt;lpc_driver_installer.x64.msi&lt;/LI&gt;&lt;LI&gt;and directories&amp;nbsp;lpc313x_dfu_msc,&amp;nbsp;lpcdevice,&amp;nbsp;lpc-linkII-hid and&amp;nbsp;lpc-linkII-vcom containing the .inf files&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Installation:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;msiexec /i lpc_driver_installer.x64.msi&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;did not work&lt;/STRONG&gt;&lt;/SPAN&gt;, I get an error "This package can only be run from a bootstrapper". So I still have to use&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;lpc_driver_installer.exe&lt;/SPAN&gt;, but once the programm is installed I can deinstall it with the .msi file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Deinstallation:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;msiexec /x lpc_driver_installer.x64.msi‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or in quiet mode&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;msiexec /q /x lpc_driver_installer.x64.msi&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this is an acceptable solution, though I am a bit upset, that I have to use a combination of setup AND msi to install/deinstall the drivers but the result looks clean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 09:53:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976993#M38588</guid>
      <dc:creator>palaplan</dc:creator>
      <dc:date>2020-02-18T09:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to deinstall lpc device driver from the console?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976994#M38589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case you need it for future reference, this link gives a simple way to parse the pnputil output&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.dostips.com/forum/viewtopic.php?t=5160" title="https://www.dostips.com/forum/viewtopic.php?t=5160"&gt;Parsing pnputil - DosTips.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 22:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-deinstall-lpc-device-driver-from-the-console/m-p/976994#M38589</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-02-18T22:18:09Z</dc:date>
    </item>
  </channel>
</rss>

