Windows 10 Intunewin package E-Porto exe

Alexander Tiemann 176 Reputation points
2022-05-12T10:24:41.503+00:00

Hello,

i am trying to distribute the German Post E-Porto Add-In for Microsoft Word.
(https://www.deutschepost.de/content/dam/dpag/images/i_i/Internetmarke/technische_downloads/update_internetmarke_neu/ms_e-porto_installer_3400_x64.exe)
I created successfully the intunewin package and the Add-In is successfully installed but the uninstall command always returns 0x80070002201434-errorintunewin.png

I use the following commands to install/uninstall the package:
Install: ms_e-porto_installer_3400_x64.exe /S
Uninstall: C:\ProgramData\Package Cache\MsiExec.exe /x{77330F0F-9861-4C84-B2EB-8C2D811E79F4}
201492-intunewin2.png

and for detection i use the registry
Registry: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IntuneManagementExtension\Inventories\00004b929635827f72a45f251f92fb5dd76c0000ffff
value: Version
detection method: is present
201482-intunewin3.png

Thanks in advance for the help!

Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
966 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Lu Dai-MSFT 28,431 Reputation points
    2022-05-13T01:26:05.247+00:00

    @Alexander Tiemann Thanks for posting in our Q&A. From your description, did you mean that you have installed this app, but it occurs error "0x80070002" when you try to uninstall it? If there is any misunderstanding, please correct me.

    To clarify this issue, we appreciate your help to collect some information:

    1. Please make sure that the uninstall command is a slient command and try to run manually in the device to check if it successfully uninstalled this app.
    2. Please check if there is more detailed message about this error code in IntuneManagementExtension log under C:\ProgramData\Microsoft\IntuneManagementExtension\Logs

    If there is any update, feel free to let us know.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Alexander Tiemann 176 Reputation points
    2022-05-13T11:45:40.367+00:00

    So, i changed my approach and used the powershell deployment toolkit

    I used the following commands:

    <Perform Installation tasks here>

        Execute-Process -Path 'ms_e-porto_installer_3400_x64.exe' -Parameters '/S'  
    

    <Perform Uninstallation tasks here>

        Execute-Process -Path 'ms_e-porto_installer_3400_x64.exe' -Parameters "/uninstall /quiet" -WindowStyle 'Hidden'  
    

    with both following powershell commands the installation and uninstallation on a test device without Intune is working

    powershell.exe -executionpolicy bypass -file .\Deploy-Application.ps1

    powershell.exe -executionpolicy bypass -file '.\Deploy-Application.ps1' -DeploymentType 'Uninstall'

    but with Intune only the installation command is working

    powershell.exe -executionpolicy bypass -file .\Deploy-Application.ps1

    and the uninstallation command

    powershell.exe -executionpolicy bypass -file '.\Deploy-Application.ps1' -DeploymentType 'Uninstall'

    gives back generic 0x80070001201786-deploy-application.txt

    Please help!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.