You are here

Updater - change directory where updates are downloaded to?

3 posts / 0 new
Last post
ejplat
Offline
Last seen: 8 years 1 month ago
Joined: 2011-08-10 07:21
Updater - change directory where updates are downloaded to?

Hi,

First, thanks to you all who made portableapps.com such a wonderful piece of software!

I've been eagerly waiting for the 2.x platform in order to keep my apps up2date automatically. However things don't work as expected in my environment:

We've got a rather stringent policy in place that restrict .exe-files of being executed only from certain locations. Googling my way around I found that the auto-updater ("check for updates") in the portableapps suite seems to download the updates so some subdir of %TEMP% then trying to install it from there.

This is where my problem starts: Files/executables in %TEMP% and/or subdirectories thereof are blocked by policy from execution. As a consequence the updater downloads all necessary files, but can't update the apps.

So here's my question:

How do I change the directory where the updates are downloaded to from the default to some other place? (Please note that I don't have admin-privileges in the machine in question, so fiddling with the system-settings (control-panel) is a no-go here).

Thanks much in advance for your help!
-ejplat

Aluísio A. S. G.
Offline
Last seen: 7 years 8 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Command prompt

You can try this:

  1. Open a command prompt
  2. Type
    CD /D X:\PortableApps\PortableApps.com
    MD Temp
    Set TEMP=%CD%\Temp
    PortableAppsPlatform.exe
    

Previously known as kAlug.

ejplat
Offline
Last seen: 8 years 1 month ago
Joined: 2011-08-10 07:21
Changing directory for download of updates via commandline works

Hi,

Thanks much for the hint wrt trying this from the commandline.

Yes, it work, though, at least in my installation, you not only have to set %TEMP% but also %TMP%.

Suggestion to development: What would be really nice is setting these things from right within the platform-app itself (possibly restarting) or in an .INI file.

Log in or register to post comments