You are here

"7-Zip Portable cannot be run from inside C:\Program Files"

4 posts / 0 new
Last post
wallywalters
Offline
Last seen: 5 years 11 months ago
Joined: 2011-02-14 06:21
"7-Zip Portable cannot be run from inside C:\Program Files"

I was actually aware of the prohibition against putting (the Haller brand of) portable apps into the official "Program Files" folders when I unwrapped 7-Zip. Still wanting to retain something resembling the native Windows naming scheme, I created a root-level folder called "Program Files (portable)" and put my portable apps into that. Come to discover, however, that the prohibition extends even to this new folder, simply because it merely contains the name "Portable Files."

While the reasons for disallowing portable apps from installing into the formal Windows "Program Files" folder may indeed be valid (yes, I read the thread), this extra lockout -- which I hope is an oversight or a bug -- takes it too far. Could you please fix future releases so the limitation is restricted only to the "Program Files" folders created by the operating system? Thanks.

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 7 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Starting With Bug in PAL

There's a bug in the PortableApps.com Launcher that causes anything that starts with %PROGRAMFILES% to be locked out instead of %PROGRAMFILES%\ and %PROGRAMFILES64%\ (the slash at the end being the important bit). The PA.c Installer had a similar bug initially but that was fixed a while ago.

We haven't updated PAL in a while but are working on an update now. I'll ensure this is included in the bug fixes soon. Until then, I'd recommend C:\PortableApps as the installers will automatically find it and it should be just before Program Files and Program Files (x86) in alphabetical order listing in Windows Explorer.

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

wallywalters
Offline
Last seen: 5 years 11 months ago
Joined: 2011-02-14 06:21
Thanks. I already have

Thanks. I already have dozens of other well-behaved portable applications in that "Program Files (portable)" folder, however, and I'm not keen either on relocating them or having two different homes for my portable softwares, so my workaround for now will be to "subst" that folder to Drive (B) and run it off a shortcut to "B:\7-Zip\7-ZipPortable.exe."

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 7 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Rename

If they're portable, you can just rename the parent and all will continue to work. Our apps are built that way, though many zip-style portables may not be.

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

Log in or register to post comments