You are here

Feature Addition: Scanning multiple directories for apps, opinions sought

40 posts / 0 new
Last post
John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Feature Addition: Scanning multiple directories for apps, opinions sought

There have been a few requests over the years to have the PortableApps.com Platform scan additional paths for apps. The rationale is usually that users want to keep non-PAF apps separate from PAF apps or apps that are updated automatically by the platform separate from those that are not. I'm planning on implementing this within a future release of the PortableApps.com Platform and wanted to layout the setup and see if there are any comments or suggestions.

Since some people want to keep non-PAF apps separate and some want to keep unofficial apps separate, I think using 3 separate paths would make the most sense. I'll be talking about this as if the user has the platform installed to the root of a drive, but this will work with other relative paths as well.

X:\PortableApps - The PortableApps directory we have now which will be scanned by the platform for PA.c Format apps as well as non-PAF apps. Apps will automatically appear in the PA.c Platform and will be automatically updates.

X:\PortableAppsUnofficial - Apps in PA.c Format that have not yet officially been released from our forums and from publishers who have posted versions we do not yet officially update. Apps in this folder will be found by the platform's menu but will not be checked for updates by the PA.c Updater. Only PAF style appinfo.ini files will be scanned for existence in this folder.

X:\PortableAppsOther - Apps not in PA.c Format that are portable. Apps in this folder will be found by the platform's menu but will not be checked for updates by the PA.c Updater. The platform will only scan for EXE files and will not search for appinfo.ini configurations within this path.

For users who have no wish to separate things out, nothing will change from the way it currently works. It's entirely optional and these other two paths will not exist by default. This is strictly an option for power users.

Any thoughts or suggestions? The one thing I'm considering is the name of the last path. Possible PortableAppsNonPAF instead of PortableAppsOther.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 3 months 3 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
Unofficial --> Official handling?

Is there a way we could automagically move apps from PortableAppsUnofficial to PortableApps upon release? That way when we do support apps, users don't need to manually move files themselves, or reinstall new.

Something along the logic lines of {When scanning PortableAppsUnofficial: "If app is found that is in App Store list, move app from PortableAppsUnofficial to PortableApps"}

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No

The secondary folders won't be monitored by the updater at all. This is more for people who want to specifically separate things out.

Sometimes, the impossible can become possible, if you're awesome!

kentgeaney
Offline
Last seen: 5 years 3 months ago
Joined: 2018-11-18 07:49
I sort apps into Categories similar to Portable Apps directory

Thank you for your good work.

Secondary directory search.

I realise you said...
The secondary folders won't be monitored by the updater at all. This is more for people who want to specifically separate things out.

That's exactly what I want to do. The thing is I sort the apps directories into Categories similar to the Portable Apps directory listing, I generally have all the available portable apps on hand sorted into directories as in...
_Accessibility
BalabolkaPortable
DicomPortable
On-ScreenKeyboardPortable
VirtualMagnifyingGlassPortable
_Development
...
etc..

When I use Portable Apps, I simply would like to move a singular directory or directories ie "_Accessibility" with the apps it contains to the active apps directory and move it out again when I am finished. That leaves the PortableApps menu uncluttered (After Icon refresh), the active portableapps directory clean and a lot more usable when doing day to day tasks.

Also to note, I could copy the 10 or more categorised directories to the active directory folder and do a bulk update, and again put them back in the inactive directory.

So yeah, if it's possible I would love to have a secondary directory monitored if possible by default or an option setting.

Thank you again for your efforts.

RogerL
Offline
Last seen: 2 weeks 17 hours ago
Joined: 2007-03-14 09:17
PortableAppsNonPAF

PotableAppsNonPAF gets my vote.

Are you planning on initial setup to move the Unofficial and NonPaf apps out of the PortableApps folder into their respective folders?

Looking forward to this btw.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Optional, Manual

This will be an optional feature for folks who wish to use it. The folders won't be created by default but will be detailed in a readme.txt within the PortableApps directory, in the on-site documentation, and within the menu UI. Nothing will be automatically moved to or from the folders.

Sometimes, the impossible can become possible, if you're awesome!

eresele
Offline
Last seen: 7 years 4 days ago
Joined: 2007-10-28 18:21
PortableAppsNonPAF please!

I think it is more explicit, besides it was the name that intuitively came to my mind - even before I had read the last sentence of your posting Smile

BTW: Your, and your fellow developers hard work is very much appreciated. Thanks!

OFF TOPIC, and JFYI: Insecure password warning in Firefox (when logging in at PA.c).
Please see: https://support.mozilla.org/t5/Protect-your-privacy/Insecure-password-wa...

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not SSL

That's just because we don't use SSL yet. It requires setting it up on 5 different servers/accounts, most of which don't support Let's Encrypt. Soon, though.

Sometimes, the impossible can become possible, if you're awesome!

RaphaelRB
Offline
Last seen: 1 month 4 weeks ago
Joined: 2011-07-20 11:10
The idea of two or three

The idea of two or three folders (including a non PAF folder) is still on hold? Or it has been deprecated already?

RaphaelRB - Brazil

Samuel Elstein
Offline
Last seen: 5 years 8 months ago
Joined: 2012-02-29 12:00
Maybe allow it as a configureable option

I think it would be a good idea, but only if as a configurable option. Maybe a list of directories that can be whitelisted or blacklisted for subdirectory scanning, as well as a simple checkbox for enabling disabling in the platform's options.
I think if implemented, it should be off by default, as many users who have many apps in platform like me will most likely have a long wait for apps to be loaded. It might confuse some of the less informed expecting automatic updates if enabled by default.

Also, this could help some advanced users who keep multiple official portable apps to not have to wait to load apps they do not use often by keeping them in separate directories that can be enabled or disabled at a whim, instead of moving them back and forth.

Proud user of Firefox

RogerL
Offline
Last seen: 2 weeks 17 hours ago
Joined: 2007-03-14 09:17
Probably won't use

I am in the process (at last) of transitioning from ASuite to PAM.

Knowing that the Platform doesn't mind if a non-released-app's root folder name is changed:

I prepended all my Non-PAF apps' root folders with _NonPAF-

and prepended my Dev-Tests' root folders with _DevTest-

Prepended so they are grouped together, the underscore keeps them grouped away from the released apps. DevTest preferred to Unofficial as all mine are DevTests and it's shorter. I am aware that I have to correct the destination folder when installing a Dev test.

PortableApps\_NonPAF-Appname
PortableApps\_DevTest-Appname
PortableApps\Appname

I don't think I will move these to separate folders - it's quite convenient to have them like this all in one folder.

Moon Moon
Offline
Last seen: 6 years 8 months ago
Joined: 2017-04-15 23:24
I like "Unofficial" and

I like "Unofficial" and "Other" folders.

Moon Moon
Offline
Last seen: 6 years 8 months ago
Joined: 2017-04-15 23:24
I really need this, please

I really need this, please provide test build

da1k
Offline
Last seen: 6 years 4 months ago
Joined: 2013-11-13 18:07
Hello,

Hello,

Is your idea with scanning multiple directiories alive? If yes did you think about possibilty to scan two folders e.g X:\PortableApps1 and X:\PortableApps2 (PortableAppsUnofficial and PortableAppsOther are also demanded Smile )? I have a lot of apps installed and all of them including platform I keep in my cloud drive to sync between different computers, but depends on computer sometimes I need only few apps. So it will be great for me to divide apps to two groups, let we say Essential and Extra and keep them in two folders. Than I will only tick (or not) Portableapps2 and my sync will do the rest Smile

thanks

syspsi
Offline
Last seen: 1 week 2 hours ago
Joined: 2010-07-07 05:03
I really need this feature,

I really need this feature, for separate official from unofficial Pac format.
Thanks a lot for your work.

pleiades
Offline
Last seen: 5 years 8 months ago
Joined: 2016-08-22 22:29
Hello,

Hello,
I think it would be better to support custom directory path and have an option to tell PortableApps.com if the content should be updated, in this way it will be more flexible and simple for users with their own directory.

bgks
Offline
Last seen: 1 year 9 months ago
Joined: 2010-07-21 18:13
Suggests: PortableAppsManaged, PortableAppsOnUse

The Feature Addition would be completed by:

X:\PortableAppsManaged - Apps in PA.c Format that are managed exclusively using the PortableApps Platform, i.e. don't need to be scanned on startup of the platform, but are remembered by the platform to exist. Benefit: drastically speed up the startup time. Apps in this folder will be stored in the platform's menu. If they got lost because of malicious user behavior, but the user tries to use them while they are missing, the user is asked to remove them from the platform or to reinstall them. Apps in this folder will be checked for updates by the PA.c Update. If they got lost because of malicious user behavior they will (anyway optionally) be restored on the next update of the respective app.

X:\PortableAppsManageOnUse - Apps in PA.c Format that are handled like Apps within the folder PortableAppsManaged, but will not be checked for updates by the PA.c Updater until they are used the first time during a session. Benefit: no updating of apps that are never used. For comfort an additional option to the Apps menu Prepare for Offline Use below Check for Updates would also check all Apps in the folder PortableAppsManageOnUse. Benefit: offline use is prepared easily.

mrharris73
mrharris73's picture
Offline
Last seen: 4 years 11 months ago
Joined: 2019-04-03 03:41
Multiple Directories (Folders)

I like the idea of "choosing" folders for the platform. First off, I'm a computer tech. I run MULTIPLE operating systems on MULTIPLE computers, tablets, and phones. My client base range from Apple Macintosh to Palm OS. I don't "know" all of my (their) OSes, so, I make multi-boots. With this in mind, I keep some "must-haves" on almost all systems. Some OSes (OS's ?) don't like lots of root folders. Some don't like long names. I keep an external USB drive with my "master set" of apps and programs. My folder structure is as simple as possible; Windows, Linux, Android, etc. Second level is Utils, Portables, etc. You get the idea. Would it be possible to suggest (request) that I could choose my root folder for PortableApps? I'd like to use something like X:\Windows\Repo\PAPS\Installs, X:\Windows\Repo\PAPS\Betas, X:\Windows\Repo\PAPS\Stable. (PAPS=PortableApps Platforms, Repo=Repository) I have to keep different versions of quite a few programs, as my customers don't always update. This is necessary to properly attempt to duplicate a reported issue they may be having. Sometimes, I make specific flash drives for my small business clients I have on maintenance contracts. They have their own set of apps that make up a "standard install" workstation. I know, a bit long for a comment, but I felt my reasoning was necessary for my request.

Simple version:
Can I choose my PAPS root install folder? Can I rename my subs? (installs, betas, stable, lite, full, etc.)

Jestre
Offline
Last seen: 3 months 4 weeks ago
Joined: 2005-12-09 12:01
Second this.

Flexibility in naming for all these directories would be preferred with possibly a check box or UI.
Only use x:\PortableApps\ since an update broke one of the apps.
Used x:\#Apps for many years across multiple drive and computers. (FYI files names starting with # appear at the top alphabetically, no scrolling or hunting)
All the apps work fine and update with the PA dir named this with the exception of x:\PortableApps\PortableApps.com.
It worked for years until one update removed the ability to update itself in any other dir.
Jestre

Movie Wisdom: Don't kick the monster!
Build mechanized armored assault suit to annihilate it, program robots to smash it, Shoot, Spear or even Throw something at it (preferably a grenade), but NEVER kick the monster!
NOTE: Doesn't apply to Black Belts

MunemWp
Offline
Last seen: 1 year 3 months ago
Joined: 2019-06-19 03:20
I like the idea of a seperate

I like the idea of a separate "Others" folder. Unofficial does not sound good to me.

Smile

ioqbit
Offline
Last seen: 3 months 2 weeks ago
Joined: 2019-02-15 06:54
I think this idea is great, I

I think this idea is great, I have the need to manage both official and unofficial applications separately.

I am boring.

Andy Jackson
Offline
Last seen: 4 years 6 months ago
Joined: 2017-03-12 05:32
Great! What about ability to launch Apps as an Administrator?

I like the idea for separating manually installed portable apps from officially supported ones, but some portable apps require administrator credentials to work. I know you can right-click and launch apps as an Administrator, but it would super helpful to be able to set that up once and than have the freedom to always launch apps using left-click.
I ask for this feature here since, in my mind, it's related to launching unofficial/other apps. If you would rather I posted this request on a different thread than you have permission to move it or let me know what's best.
To be clear, I'm requesting the ability to allow users to permanently set apps that require Administrative rights to always launch that way.

JustHangin
Offline
Last seen: 2 years 6 months ago
Joined: 2019-06-30 14:15
Has anything come of this?

Has anything come of this? Perhaps the tool could recursively scan its main PortableApps folder rather than requiring flatness? It would make organization so much easier, for all the same reasons as every hierarchy simplifies organization

additional thoughts:

perhaps the subdirectory structure could precisely mirror the category names the user assigns on the platform, if this would simplify implementation.

perhaps an option switch for each discovered app which specifies if this app is to be auto-updated or hand managed by the user? this would seem no more complex that the already existing "Hide" setting. Might be more elegant than the idea of a manages and unmanaged root for portable apps. one can place all his portable apps in the single logical directory hierarchy and simply set whether that app should be auto-updated by the platform or not, so that it wont overwrite versions of apps which the user would prefer to hand-manage

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Never Planned

The ability to scan sub-directories was never planned. This is just a possible option for official vs dev test vs non-PAF apps.

Sometimes, the impossible can become possible, if you're awesome!

JustHangin
Offline
Last seen: 2 years 6 months ago
Joined: 2019-06-30 14:15
while unplanned, might i

while unplanned, might i request you consider these options? they would seem a considerable convenience for users. But perhaps there are technical reasons which would make these proposals most difficult. What might they be? It just strikes me that were this not the case, then allowing a hierarchical structure would add all the same benefit that it does in every users home directory, or mail program...rather than having a single directory with perhaps 200 apps in it and in time losing track of what one has an why when not otherwise using the platform interface

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Majority Platform, Little Reason, Time and Energy

The majority of users use the PA.c Platform. Over 75%. And it lets you explore directly to any app's directory with a right-click. Whether using the platform or not, there's not much reason to regularly explore to the actual app directories. That's the point of using something to launch your apps. If you manually launch your apps in Explorer, then there's not much reason for the platform, and you can arrange them as you'd like. The installers won't automatically find the sub-directories the way they will something installed to X:\PortableApps\AppName, of course.

Windows itself is moving away from all organization by folders. Windows 11 just presents your apps in a single flat list now even in the menu. Just like folks are used to on phones.

Adding the complexity of deeper searches to both the platform and the updater for a little-used feature that wouldn't even be exposed to most users other than those who manually move their apps around isn't something I am interested in pursuing with all the other functionality still to be created and supported. If someone else wanted to and to commit to supporting it for a minimum of 5 years, it could be considered.

Sometimes, the impossible can become possible, if you're awesome!

megaslowpoke
Offline
Last seen: 1 year 4 months ago
Joined: 2019-06-22 13:25
Maybe it's better to give the user complete freedom in choosing

That is, expect a configuration file in the same location and with the same name, but with the "ini" extension. In which the user will be able to explicitly indicate the directories he needs for all three types of PAF, and even several for each type.

Also want to suggest in this configuration file to allow the user to specify the location of the "TempForPortableApps" directory. And, if possible, then dirs "Documents", "Music", "Pictures", "Videos", of course, relative to the start file.

And for example, specify additional variables from it for this process, which, accordingly, will be passed to all launched PAFs.

And since we're talking about names, would like to be able to rename "Start.exe" into a more suitable name, albeit a template one from a list of possible names prepared in advance, for example "Portable.exe". Yes, I can just rename it, but the next platform update will ignore the new file.

nothingness
Offline
Last seen: 1 year 4 days ago
Joined: 2018-12-27 18:56
Has it been updated?

I found this article was posted in 2017, but I don't see the option for the multiple directories option. Is it still under development?

QTN
Offline
Last seen: 1 year 9 months ago
Joined: 2022-05-26 04:43
My Log Screen Opinion

If similar opinion posted before i am sorry i cant see, my opinion for installing page, i think we can add a small real time log page and %xyz text, we can see program progress running succesful and with no problem, because i am think program get stopped or get bugged or get issue because i cant see any signal for progress running succesful.

{QTN}

bgks
Offline
Last seen: 1 year 9 months ago
Joined: 2010-07-21 18:13
Regard Start-up Time, please!

It's great to emphasize as a bonus value of the PortableApps-Platform, or let's say, the PortableApps App Store to keep the portable Apps proactively up to date -- neither utilizing a wild bunch of autostart-crap and phoning home connections, nor having an out of date App when needing it in a situation that not allows an update.

I had quite some portable apps integrated into the :\PortableApps tree, so they showed up in the PortableApp-Platform's launcher menu.

This had a sigificiant impact onto the laucher's start-up time.

I don't think that the start-up time was so bad because of update requests, but simply because of searching through the directories.

So I sorted them out into a directory PortableApps.Unmanaged. Since that time most of my PortableApps.Unmanaged-Stuff became obsolete, anyway. The prime father of a portable app is a standalone command to be run from a command shell, by the way Wink An example for a portable app of this kind gives a systernals.lnk with the target «%CMD% /S /D /K cd /D P:\PortableApps.Unmanaged\systernals && dir *.exe /W/D && path=%cd%;%path%».

tomts
Offline
Last seen: 2 months 2 weeks ago
Joined: 2020-03-20 13:17
Dynamically mount a second logical portable disk...

Hi,
I have been using Portable applications for 15 years without installing a PA platform. The advantage is to use applications from 2 disks (unencrypted + encrypted through Veracrypt) using WIN links (eg as logical disks "k:" and "x:" ) and that I need only a few applications on the encrypted disk (eg Thunderbird)...

I tried to install a PA platform, where the great advantage is automatic updating and the possibility of integrating third applications (such as Total Commander) and that I do not need WIN links (unfortunately Windows does not know variable mapping in .lnk files located on removable disks) for fast access. Start.exe can do all this.

However, if I have most portable applications on an unencrypted disk (eg "k:" ) and some on an encrypted disk (eg "x:" ), I have to go through a complex procedure through a double installation of the PA platform. First run start.exe on disk k: and run Veracrypt and open the encrypted disk "x:" (container-file on the same portable disk k:) and run the second installation of start.exe on it (on "x:" ), which knows only its applications there, installed on the encrypted disk "x:" ...

It would suit me if the PA platform could dynamically mount a second logical portable disk, on which there would be only the installation of several portable applications (but without the second installation of the PA). And ideally, if she could update them as well...

lapnhan
Offline
Last seen: 4 months 6 days ago
Joined: 2022-07-28 09:21
Bro can you support me please

Bro can you support me please ?

madburg
Offline
Last seen: 1 year 1 month ago
Joined: 2023-01-28 14:09
The 3 separate paths in OP is

The 3 separate paths in OP is a great idea and if the official path could also support us renaming directories for apps which are installed multiple times it would be great (versus "_Copy_2, _Copy_3, etc...) and supports auto updating them, since it will be scanning for an "App\AppInfo" sub directory and reading the app ini file existence it shouldn't matter what the top-level app directory name is. Thx for your consideration.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Seperate Request, Not Planned

This is a separate request from what we're discussing here and not something that is planned.

Sometimes, the impossible can become possible, if you're awesome!

armbold
Offline
Last seen: 9 months 3 weeks ago
Joined: 2019-05-15 06:01
feature ideas

Hi John,

I read this thread and I want to ask you to finally implement the feature. So that anyone will be free to use it or not. Below I am writing some argument in favor of this idea and a few suggestions.

The Platform app will just give the option of adding custom folder paths, and the option to use them to organize the apps. I will explain what I mean below.

This will be helpful in many cases, as when you have hundreds of apps already grouped by folders, and are looking to quickly categorize them in the Platform app, or to easily find them when say you need to copy single apps into a second PC. Of course there are other use cases already mentioned in the thread.
If you put the idea in this perspective, it would be very useful.

Since there is no "drag and drop to categorize", we can use these "custom folders" as addidional category names.

So basically you create an "add/remove custom folders" functionality. These folders will be scanned, along with the standard path.

Now, also provide an option to use these folder names as categories. So when the platform loads each app's link from each custom folder, it automatically puts it in the category defined by the folder name. If this category is already existent and defined by the standard way, just show these additional apps into the same category. Otherwise create the category.

As for the manual categorization (already existent), you can keep it working as before. It will work normally even for these apps, if the user need it.

So basically the default behaviour of the platform is not altered in any way. These additional functionalities can be added without creating any issue.

I hope you wil take this idea into consideration.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Seperate Request, Not Planned

Different directories by category would be a different feature than being discussed here and is not planned. This is mainly about separating your PA.c Format apps from non-PA.c Format and possibly official from test versions.

Sometimes, the impossible can become possible, if you're awesome!

armbold
Offline
Last seen: 9 months 3 weeks ago
Joined: 2019-05-15 06:01
Hi, yes the thread is about a

Hi, yes the thread is about a different scope, but the solution I suggested would solve both of them.
It would make it easy to rapidly categorizing multiple portable apps, and keeping the folders organized as you like.
This was requested multiple times in the past.
If the Platform was open source I would be glad to send you a pull request.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Open Source

The PA.c Platform is open source under the GPL as it has been since I first wrote and released it. I won't be implementing the request to separate out apps by directory categories, however. This would require restructuring the platform's menu, updater, app store, and backup utility as well as the PA.c Installer itself. All of this work and added complexity - which adds to maintenance - would be for a very small gain for a very small subset of users. Improving categorization including adding the ability to drag and drop apps into and between categories in the menu itself would be far more beneficial. The ability to add your own categories and move apps into them already exists, it just isn't as convenient as it could be.

Sometimes, the impossible can become possible, if you're awesome!

ioqbit
Offline
Last seen: 3 months 2 weeks ago
Joined: 2019-02-15 06:54
I support distinguishing between official and unofficial applica

I've been using PortableApps since 2018, downloading and using a variety of software. These applications, however, don't come with a .pac file format; instead, they provide a compressed package for users to extract and use. I need to distinguish which software can update automatically and which ones require manual updates. From 2019 to the upcoming year 2025, I'm really looking forward to it and couldn't wait, so I'm here to urge for updates.

I am boring.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Platform Distinguishes

The platform can show you what apps are not in PA.c Format within Help - About - Apps. non-PAF apps will show without a version number at the bottom of the list grouped together.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments