folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

For discussions specific to the Portable version of the browser.
Post Reply
lavabo
Moonbather
Moonbather
Posts: 56
Joined: 2015-07-29, 08:47
Location: paris

folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by lavabo » 2019-12-21, 04:46

palemoon portable keeps creating this empty folder at
C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

how do I stop this to leave no trace on C ?

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6711
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by New Tobin Paradigm » 2019-12-21, 08:52

You can't.
Image
- It appears we will be required to ignite the midnight petroleum, sir. -
https://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

User avatar
RoestVrijStaal
Apollo supporter
Apollo supporter
Posts: 40
Joined: 2019-06-19, 19:18
Location: Dependency Hell

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by RoestVrijStaal » 2019-12-21, 19:05

@lavabo

Follow these instructions first: viewtopic.php?f=3&t=49

Are you sure you use the Portable edition and not the Zip-ed edition?

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6711
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by New Tobin Paradigm » 2019-12-21, 20:21

He doesn't need to include info. I know what he is talking about and answered him.
Image
- It appears we will be required to ignite the midnight petroleum, sir. -
https://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

User avatar
RoestVrijStaal
Apollo supporter
Apollo supporter
Posts: 40
Joined: 2019-06-19, 19:18
Location: Dependency Hell

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by RoestVrijStaal » 2019-12-22, 21:22

New Tobin Paradigm wrote:
2019-12-21, 20:21
He doesn't need to include info. I know what he is talking about and answered him.
Well, mind to share with the rest of us what's he talking about?

A portable edition creating a folder in a non-temporary-folder within the %userprofile% directory structure is...abnormal imho.

The idea of a portable edition is to keep the system untouched, as in writing only in the folder and subfolders where the portable program is stored.

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6711
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by New Tobin Paradigm » 2019-12-22, 22:39

I am aware of that. The portable version, stub aside is identical to the other release binaries. Also, the stub is not a sandbox. This relates the fact that as the actual binaries are not specially created for the portable version it contains the Updater and ShellService of which CAN make modifications on the host machine. Specifically, the updater code requires a place to stage any updates for the application and has no concept of knowing that this is a portable copy and shouldn't write to it's default location of %localappdata% for such things and even when an update isn't in progress it preps those locations on startup. It doesn't do anything with %appdata% aka Roaming Application Data because the stub provides it a direct path for the profile to use so the Profile Manager doesn't get involved past loading the profile at the location provided.

Save for setting a few preferences and issuing what is essentially a -profile command line argument plus a handful of other arguments and setting environmental variables for invoking the actual application executable.. It doesn't do anything much else aside from a kickass splash screen.

It is portable in that it is directed to store and use a profile relative to its self but besides that it is just standard Pale Moon with every feature and function a normal installation would have because the actual application binaries ARE EXACTLY THE SAME FILES.

Oh you might argue that that is not portable in the PortableApps.com sense but the definition of portable is not absolute. In any case, there is no way to resolve this without creating a special build JUST for the portable version and at that rate it is just isn't worth the extra release engineering not to mention code changes to accomplish this thus far.

NOW TELL ME.. Did my long involved explanation tangibly change anything for you?
Image
- It appears we will be required to ignite the midnight petroleum, sir. -
https://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

Frasier
Fanatic
Fanatic
Posts: 249
Joined: 2014-05-07, 02:44
Location: Indiana

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by Frasier » 2019-12-22, 23:01

New Tobin Paradigm wrote:
2019-12-22, 22:39
NOW TELL ME.. Did my long involved explanation tangibly change anything for you?
Nope, but it did confirm my suspicions of the reason for it's existence.

Thanks much.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1060
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by Isengrim » 2019-12-22, 23:26

Is it feasible and/or worthwhile to add a command line flag to tell the application to use a different folder than %localappdata%?
Linux Mint 19.2 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6711
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by New Tobin Paradigm » 2019-12-22, 23:33

No.
Image
- It appears we will be required to ignite the midnight petroleum, sir. -
https://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 25777
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by Moonchild » 2019-12-22, 23:43

It might be an option to make portables exclude the shellservice and updater but that will mean more release engineering and most likely more people not updating the browser when they should, so I'm apprehensive about that concept.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Herb_
Hobby Astronomer
Hobby Astronomer
Posts: 25
Joined: 2019-02-13, 07:05
Location: Opposite the brewery

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by Herb_ » 2019-12-23, 10:27

Why not run it with a batchfile if it is a real problem for users?

some_path\Palemoon-Portable.exe
rd %userprofile%\appdata\Local\Moonchild Productions /s/y
web 2.0, industry 3.0 - rubbish, Automobile 5.0 rocks - Mustang feif lidäähh, goil :mrgreen:

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 25777
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by Moonchild » 2019-12-23, 11:18

I've considered (a long time ago already, actually) the option to remove files and folders on the host system after running (from the portable shell .ini file which allows that natively) to answer the people who would like it to run "stealth" even though that's not the portable's design, but realized that that can't be done because people will also use the portable alongside installed versions of the browser and that would be disastrous for the installed version. It's always better to not be destructive in that way.

The same applies to using a batch file for it -- it's risky.

(semi-offtopic) As an aside, one has to wonder why users want to run it "under the radar" -- if this is bringing USB sticks into your place of work or something you have to realize that that is usually against policy for some very good security reasons and it might cost you your job if you run unsanctioned software on company networks.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
RoestVrijStaal
Apollo supporter
Apollo supporter
Posts: 40
Joined: 2019-06-19, 19:18
Location: Dependency Hell

Re: folder in C:\Users\XXX\AppData\Local\Moonchild Productions\Pale Moon\palemoon

Post by RoestVrijStaal » 2020-01-15, 20:33

@New Tobin Paradigm & @Moonchild

Thanks for your clarifications.

Post Reply