Issues (re)installing apps from company portal

Nijm565 1 Reputation point
2021-04-05T19:37:25.8+00:00

Hello, Im trying to deploy local experience packs to clients. The install works well but im having problems re-installing the packs. The main idea for me is to have users be able to choose and switch between languages they want. For this i prepared a few install scripts for the languages.

The first time install mostly works all the time, so I can switch from en-US to nl-NL for example. I can also switch back to nl-NL.. but I can only do this once. After doing this the company portal tells me the package is installed and wont allow me to reinstall it so I cant switch to it. The button is greyed out (for all installed languages).

Im using a powershell script to detect if the package is installed. Im doing this based off a registry key which I set with the script used to install the lxp package. During the install script I also remove the registry key for the previously installed package so the detection script should not see the package as installed anymore ??

Do I need to unregister the package from "installed" state in the company portal ? Not sure if this is possible, but how can I unregister it so the company portal does not have a registration of it being installed anymore (is this stored in registry ?) ?

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.
872 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Lu Dai-MSFT 28,341 Reputation points
    2021-04-06T02:26:56.817+00:00

    @Nijm565 Thanks for posting in our Q&A.

    For this issue, if we want to reinstall apps, it is suggested to try to add the device in the apps's uninstall assignment in the intune portal and then install the app again.
    84676-image.png

    Currently, there is no way to uninstall apps via company portal. During my research, I find other customer who has the same requested posted in Intune uservoice as below. We can vote and post our detailed request here. This is a place to collect customers' requirements and problems.
    https://microsoftintune.uservoice.com/forums/291681-ideas/suggestions/35751577-ability-for-end-users-to-uninstall-apps-using-comp

    If there is anything unclear, feel free to let us know.


    If the response is helpful, please click "Accept Answer" and upvote it.
    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. Nijm565 1 Reputation point
    2021-04-06T18:44:55.747+00:00

    I dont really want to uninstall the app. I think i found why it is not doing what I want. After the company portal notifies me of a successfull installation, the computer requires a reboot. The status set in the registry for the company portal for some reason is not registering the reboot and keeps the install status at "hardrebootrequired".. I have no clue why this is happening... 84976-reboot2.png

    84985-reboot3.png
    Have restarted the computer multiple times but the status is not updated.. any clue why this could happen ?