You are here

Major Bug?

31 posts / 0 new
Last post
portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Major Bug?

I am doing this now several years.

When to "install" this to drive "D"
it ends to...D:\PortableApps\PortableApps
and there it goes for all.

but if i end up to install a lonely app it goes to
D:\PortableApps

This is a bug, error or whatever you might call it.
It disturbs the whole Structure of the Project.
Please fix it.

Might be the fault in your Description of "how to..."
but it is definately wrong.

causing many problems.

Thanks!

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Platform?

By "this" I'm guessing maybe you mean the PA.c Platform? If so, it's designed to be installed to the root of the drive. So D:\. As it installs, it creates the PortableApps and Documents directories. If, when installing the platform, you manually select the D:\PortableApps directory, it will install those directories within the existing PortableApps directory.

The PA.c Installer used by the apps is much more simple. It just scans drives for a PortableApps directory in the root, essentially making things a little easier for most users. If you manually installed your platform to a non-standard directory, you'll need to manually select the D:\PortableApps\PortableApps directory yourself if you run the installer directly. Or you can use the App Store (which will put everything in the right place) and for apps not in the App Store, click Apps and then Install a New App (paf.exe) within the platform and then select the app installer you want to run. It will automatically feed it the correct path.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Huh,

I thought you would make it easy to a "normal" user to use it?

It is not a normal problem for me, but it messes up an Installation for many not so IT-Tech Nerds than me.
I know, you will have to rewrite all install scripts to new...

Hard work, or you have scripts to do that, but it is definately an Error in this Platform to have two different paths!

please don't misunderstand me, I appreciate your work, but this is a major flaw!

THX

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
The fault:

It just scans drives for a PortableApps directory in the root, essentially making things a little easier for most users.

Yup, it does and then makes the fault to not directly accessing the right directory. - it does the wrong directory one stairs above.

Do you understand me right now? - It is just a directory structure Problem.

HTH

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
okay, step by step...

Ok. download and install to root D:

Apps will go to D:\PortableApps\PortableApps

when I download a app and install it - it will go to D:\PortableApps
so , it messes up the directory structure...

Edit:
even after restart and registered

anyone? am I the only one? - no, tried this on many...

THX

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
it creates the PortableApps and Documents directories.

This is correct.
And I like this, cause I can copy all essentials to where I want.
But again: Your Scripts are fault by design, by not going into the correct directory.

HTH

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Example:

7Zip portable .paf download
setup
now i have 2 - (Two Folders) 7Zip folders. One in: D:\PortableApps\PortableApps\7-ZipPortable
and one in: D:\PortableApps\7-ZipPortable

Which one is used? I know, but not so tech-assumed might not be.

Edit: one was registered, the other one not.
I know that registering portable soft might be problematic, but in this case it works flawlesly.

THx
Why is that? Why?

Please keep this handy job doing.
THX

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
More Info

After closing the platform and all apps, please temporarily rename your D:\PortableApps directory to D:\PortableApps2 or similar. Download the PA.c Platform fresh, run it, select Custom Location, then select D:\. It should place Start.exe in your D:\ root and create a Documents and PortableApps directory. The PortableApps directory should contain a PortableApps.com directory containing the platform, etc. When you use the Platform's App Store, it should install apps in paths like D:\PortableApps\AppNamePortable. If you then download and run an app installer directly, it should automatically detect that location. You can then move any existing apps within D:\PortableApps2 and D:\PortableApps2\PortableApps to D:\PortableApps and everything should work as expected from there forward.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
huh, how to friendly post?

It is what i like about to portabalize soft to go where it has to go.
please dont get me wrong.

"it should automatically detect the direction" is what is going wrong...

HTH

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Really

If you install to a non-standard place, how would a standalone installer know where to install to? The installers are working as designed. If you manually install to a custom location, it's assumed you'll know where you installed to and to manually install to the correct location that you selected. If you use the standard locations, it's handled for you. The other option would be to go back to what it was over a decade ago and have it blank by default requiring everyone to manually select a location.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Lookup

registered paths in the registry
temporary
deleted and - closed

You seem not to understand my problem, which is a problem to make it smart.

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Platform Running

In which case, the platform would be running. So why not install it via the Apps - Install (paf.exe) option within the platform?

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
In the case the platform is not running

I download a program from your platform as a .paf and save it to my drive.

I double click it and it will go to the wrong directory.

Anything wrong?

HTH

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Search Paths

We're talking about a .paf.exe for an app... not the platform here. The PA.c Installer will look for ?:\PortableApps on each of your drives. The last drive found where that exists will be pre-filled in the path with \AppNamePortable after it. If it can't find that, it will prefill the location of the installer with \AppNamePortable after it. This is the way it's supposed to work.

If you install your PA.c Platform to X:\PortableApps\PortableApps, the installer will not automatically detect it. It will detect X:\PortableApps and offer to install to X:\PortableApps\AppNamePortable. It's up to you to manually select X:\PortableApps\PortableApps and then have it add \AppNamePortable.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
You name it

It's up to you to manually select X:\PortableApps\PortableApps and then have it add \AppNamePortable.

Why not to automate this?

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
OK, close

Thanks for your answers, really.
I now understand why you did it the way you did it.

THX

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Why?

Why automate your specific use case? Why is that more valid than folks who have it set up as X:\PAc\PortableApps? Not to mention the fact that over 1/2 of our apps haven't been updated in over a year (since there's no new version) so your requested change won't even come to the majority of apps for years.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Answer:

Might be a specific use case, but I do this somedays...

......
Why is that more valid than folks who have it set up as X:\PAc\PortableApps?

Because you do it in your app...

Not to mention the fact that over 1/2 of our apps haven't been updated in over a year (since there's no new version)

Hmmmmm....

Double Driver?
Have been using via SyMenu - flawlessly old school driver help tool - would be great to have that in papps...
Don't Sleep?

HTH

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Sorry, that was to offensive.

reading this again, I apologize for this.

sorry

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Oh my God

You seem not to understand my advice to the fault that you are doing in your installer.
You are doing the wrong path.
It is just some correction in the script to do some other lines and everything works perfect.

HTH

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Example

Edit: delete.

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
So this now state of the art

Doing faults
and not correcting.
We name this...

nomorwords

doing github

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Sorry, I am going on and on again.

This is still a major Bug. And if you don't fix it, it will somehow fight back.
It has always done.
Greetings

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
It has just been fixed by Microsoft

Never Thought, but has become reality....

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
Do I have to research at what Version this happened?

Meaning the Platform version.
Once this was for example X:\PortableApps
but you changed it to X:\PortableApps\PortableApps
I assume it to the introduction of the Documents folder.
At this time you didn't change or update the "howto portable" and this leads to some errors.
It even leads to some security problems that you don't want to have.
Greetings

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Never Changed

The PA.c Platform has always offered X:\ as one of the defaults which creates the PortableApps directory at X:\PortableApps. It has never offered X:\PortableApps\PortableApps as an option unless the user manually browses to it or enters it. One way this can happen is if the user had the platform/apps installed to X:\PortableApps and then ran the Platform installer and manually selected X:\PortableApps instead of X:\ as the install location.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
I get it, but I think you are wrong.

Do a clean install in a VM
Of corse you changed the paths...
Blaming me to be a complete idiot, this doesn't work for me.
It goes for X:\PortableApps\PortableApps and leads to problems I told before?

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Worked As Expected, One Exception

In a clean Windows 10 VM with a flash drive plugged in, I ran the installer. Selected Portable Install. One option was listed, my USB drive as E:\. I selected that. The platform was correctly installed to E:\ with Start.exe, Documents, and PortableApps directories within.

I then downgraded and let the platform update itself using the built in updater. It worked as expected installing to E:\.

I then closed the platform and ran the platform installer again. It correctly defaulted to Upgrade Existing Install and then E:\ on the next page. It worked as expected installing to E:\.

Please note that there is one exception. If you already have a platform installed at X:\PortableApps\PortableApps\PortableApps.com and you select to upgrade X:\, it will select the deeper platform. To remedy this situation, remove the deeper platform.

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

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
might be we found the problem...

Please note that there is one exception. If you already have a platform installed at X:\PortableApps\PortableApps\PortableApps.com and you select to upgrade X:\, it will select the deeper platform. To remedy this situation, remove the deeper platform.

That is a classical recursion error and there are ways to avoid this behavior.
But that is not what I was talking about. It still seems to be a major bug.
Please keep in mind, that I really like your software, I am just trying to optimize it.
HTH and Greetings!

portablepro
portablepro's picture
Offline
Last seen: 3 hours 19 min ago
Joined: 2016-02-14 07:34
one exeption

Please note that I told to do a CLEAN installation which exhibits any further installations.
HTH

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No Issues

As detailed above, there are no issues with a clean install. You have one platform installed within another. Please remove the deeper platform to use the main.

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

Log in or register to post comments