Hi @Bruno Lima ,
Welcome to Microsoft Q&A!
I can reproduce the same behavior when both packages use AppListEntry="none"
, the main app is deleted when the optional package is uninstalled.
For your scenario, if this unexpected behavior has a serious business impact, I suggest that you might need to open a support ticket for this.
Please contact our paid support at MS Support. You will get 1:1 support on that. Select Developer Tools -> Windows UWP Development -> Windows Universal App Dev -> Runtime Platform in the support page and you could contact the team. Please kindly note that your support ticket will be free if it is Microsoft's issue.
If this behavior has little impact, we recommend that you submit this behavior in Feedback Hub. You could find the Feedback Hub in the Start Menu. Please select Developer Platform->API Feedback as the category when you submit your request. The related team will check the request. After you submit the request, please share your link, I will help you submit this request as well.
Thank you.
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.