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

Can't

Started by Screwtap, April 10, 2023, 09:26:03 AM

Previous topic - Next topic

Screwtap

Cannot get portable App path from the registry.

StPendl

If you have not set it then it is included as an information in the log file.

Screwtap

#2
How do I do that with a portable app?
-
The app is on my desktop, this appears on my desktop.
-
11/04/2023 15:01:51 - Cannot get portable App path from the registry.
11/04/2023 15:01:51 - Cannot get the path of the user's desktop folder: Could not find special directory 'Desktop'.
11/04/2023 15:01:51 - Patch My PC Started
11/04/2023 15:01:51 - Patch My PC running with command line option: /silent
11/04/2023 15:01:51 - Checking connection to patchmypc.com
11/04/2023 15:01:52 - Verified connection to patchmypc.com. Status Code: 200
11/04/2023 15:01:52 - Getting latest definitions from patchmypc.com
11/04/2023 15:01:53 - Definition load completed in: 0.71 seconds
11/04/2023 15:01:53 - Patch My PC version 4.5.0.3 is running. The latest is 4.5.0.3
11/04/2023 15:01:53 - Performing scan of installed applications
11/04/2023 15:01:54 - Scan completed in: 0.90 seconds
11/04/2023 15:01:55 - Starting to perform updates silently since /silent switch used
11/04/2023 15:01:56 - No application updates or installations needed. Patch My PC will now close.

StPendl

I do not know how PMPC gets the desktop folder, through API or registry.
You can specify the folder for the portable apps through the context menu of the group in the PMPC window.
See https://patchmypc.com/forum/index.php?topic=4907.msg12703#msg12703

Screwtap

Thanks StPendl, I have moved PMPC to D:Drive portable apps folder, told the app where it was and got 2 log.txts (Icombined them)
-
12/04/2023 13:18:00 - Using portable App path from the registry: E:\Portables Win 10
-
12/04/2023 13:18:00 - Patch My PC Started
12/04/2023 13:18:00 - Checking connection to patchmypc.com
12/04/2023 13:18:00 - Verified connection to patchmypc.com. Status Code: 200
12/04/2023 13:18:00 - Getting latest definitions from patchmypc.com
12/04/2023 13:18:00 - Definition load completed in: 0.20 seconds
12/04/2023 13:18:00 - Patch My PC version 4.5.0.3 is running. The latest is 4.5.0.3
12/04/2023 13:18:00 - Performing scan of installed applications
12/04/2023 13:18:00 - Scan completed in: 0.25 seconds
-
I have the app to run on a schedule, now I get 2 log.txts, 1 in portable apps folder, 1 on the desktop.