• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Importing portable apps from apps list

Started by dking02, April 30, 2025, 04:26:47 PM

Previous topic - Next topic

dking02

I have noticed a problem importing portable apps from an exported (or imported) apps list. The portable app can be successfully installed using the app list but then cannot be uninstalled from the My Apps view via its context menu there. It can only be uninstalled within Home Updater from the Uninstaller tab. Both methods for uninstalling apps should be supported. This issue only seems to affect portable apps, not non-portable apps.

I also observed inconsistent auto-refreshing of My Apps and Uninstaller views in the above situation. When a new app is installed or uninstalled, the My Apps and Uninstaller views should be auto-refreshed to reflect the addition or deletion of the affected app in those views. Instead, a manual re-scan in the My Apps view or manual refresh in the Uninstaller view  may be required to update the affected display. Failure to update a view can be a source of considerable confusion if the user is unaware of the problem.



The following example shows how to replicate the problem.

Export an app list template containing only a single new portable app (AllDup Portable in this example) from Settings::Templates.

Now use the app list to install AllDup Portable. The AllDupPortable .zip file should be successfully downloaded.

Go to the MyApps view where AllDup Portable should now be listed as installed. Try to uninstall the app from its context menu. The app will not uninstall and its entry will remain in the My Apps view. At this point, an ERROR about AllDup Portable not found in the registry will be logged (see excerpt from log file below).

To successfully uninstall the app, go to the Uninstaller tab and uninstall it from there. (Alternatively, drag the AllDupPortable .zip file from the portables location folder and then perform a rescan from the My Apps view or exit and restart the Home Updater app.)

[2025-04-30 13:45:23]  DEBUG  View MainViewModel has been loaded
[2025-04-30 13:45:23]  INFO  Started long running operation...
[2025-04-30 13:45:25]  DEBUG  View InstalledApplicationTabViewModel has been loaded
[2025-04-30 13:45:25]  INFO  Long running operation has been completed. Execution time: 2.1433568 seconds.
[2025-04-30 13:45:48]  DEBUG  View ApplicationViewModel has been unloaded
[2025-04-30 13:45:48]  DEBUG  View InstalledApplicationTabViewModel has been unloaded
[2025-04-30 13:46:24]  DEBUG  [AllDup]: Started downloading portable app: 'https://www.alldup.info/download/AllDupPortable.zip';.
[2025-04-30 13:46:28]  DEBUG  [AllDup]: Portable application 'C:\PatchMyPC\AllDup_4.5.66.zip' has been successfully downloaded.
[2025-04-30 13:46:31]  DEBUG  View ImportAppCatalogViewModel has been unloaded
[2025-04-30 13:46:38]  DEBUG  View SettingsAggregatorViewModel has been unloaded
[2025-04-30 13:46:38]  DEBUG  View InstalledApplicationTabViewModel has been loaded
[2025-04-30 13:46:56]  ERROR  System.Exception: Application AllDup Portable was not found in registry.
   at ModernHomeUpdater.ClientApp.ViewModels.InstalledApplicationTabViewModel.TryUninstallAppAsync(InstalledApplicationViewModel model)
[2025-04-30 13:47:45]  DEBUG  View ApplicationViewModel has been unloaded
[2025-04-30 13:47:45]  DEBUG  View InstalledApplicationTabViewModel has been unloaded
[2025-04-30 13:47:45]  INFO  Started long running operation...
[2025-04-30 13:47:45]  INFO  Long running operation has been completed. Execution time: 0.6702098 seconds.
[2025-04-30 13:47:52]  DEBUG  [AllDup]: portable app: 'C:\PatchMyPC\AllDup_4.5.66.zip' has been removed.

Justin Chalfant (Patch My PC)

Thanks for taking the time to share all the details here. We really appreciate it. We are tracking this feedback internally now and will be reviewing how we can make uninstalling portable apps from the "My Apps" view more consistent.

Appreciate you helping us make the product better!