question

waldecker-2662 avatar image
0 Votes"
waldecker-2662 asked LuDaiMSFT-0289 commented

Windows 10 Intunewin package E-Porto exe

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!


mem-intune-application-management
errorintunewin.png (26.4 KiB)
intunewin2.png (34.9 KiB)
intunewin3.png (17.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LuDaiMSFT-0289 avatar image
0 Votes"
LuDaiMSFT-0289 answered

@waldecker-2662 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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

waldecker-2662 avatar image
0 Votes"
waldecker-2662 answered LuDaiMSFT-0289 commented

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!



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@waldecker-2662 Based on my research, error code 0x80070001 means incorrect function – generally related to invalid tasks. Please understand that for such kind of issue, the error is not enough to analyze and find the root cause, we may need more logs to analyze the whole process based on your specific environment. With Q&A limiation, it is better to create an online support ticket to handle this issue more effectively. It is free. Here is the online support link:
https://docs.microsoft.com/en-us/mem/get-support

Thanks for your understanding and hope everything goes well with you.

0 Votes 0 ·