You are here

Eliminating pluginreg.dat & Mozilla folder on local machine

13 posts / 0 new
Last post
doogie
Offline
Last seen: 17 years 4 weeks ago
Joined: 2006-01-10 13:10
Eliminating pluginreg.dat & Mozilla folder on local machine

Hi, I just started using PFF and it's great. Hopefully someone can help me

I wish to avoid the known issue mentioned in the README file, which states:
----
LOCAL FILES CREATED - A directory (%userprofile%\Application Data\Mozilla\Firefox) is created on the local machine (if Firefox is not installed locally) and a pluginreg.dat file is created within it. This is a limitation of Firefox itself. If you set the UserProfile directory within the INI file, this will not happen.
----
Which INI file are we talking about here? I assumed the PortableFirefox.ini file is being referenced, and I changed this line from

UserProfileDirectory=userprofile

to

UserProfileDirectory=profile

thinking it would redirect the placement of this folder and file to the folder on my memory card. I wish to leave nothing on the local machine after closing PFF. What am I doing wrong?

Thanks.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Read the whole readme

the ini should be in the same directory as the exe and the userprofile directory must exist

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

doogie
Offline
Last seen: 17 years 4 weeks ago
Joined: 2006-01-10 13:10
Which ini? Which Directory?

the ini should be in the same directory as the exe and the userprofile directory must exist

*Which* ini? Are you talking about PortableFirefox.ini? I unzipped PFF and this file was not in the same directory as PortableFirefox.exe (it was in a directory called PortableFirefoxCode but I have since moved it to the same directory).

Do I create a directory within the same folder as the executable called userprofile?

I did both of these things and neither of these actions has stopped the Mozilla folder from being created on my local computer.

Thanks.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Read. The. Readme.

It says everything you need.

It's in the PortableFirefoxCode directory along with a sample INI.

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

doogie
Offline
Last seen: 17 years 4 weeks ago
Joined: 2006-01-10 13:10
Still. Not. Working.

John--

I read the readme from beginning to end. I deleted the Mozilla file from the local computer.

Here is my setup:

G:\portable windows apps\PortableFirefox\

Within this folder, I have PortableFirefox.exe and PortableFirefox.ini. I also have folders titled:

- appdata
- firefox
- plugins
- PortableFirefoxCode
- profile
- userprofile

Here are the contents of PortableFirefox.ini:

[PortableFirefox]
FirefoxDirectory=firefox
ProfileDirectory=profile
PluginsDirectory=plugins
UserProfileDirectory=userprofile
AdditionalParameters=
AllowMultipleInstances=false
SkipChromeFix=false
SkipCompregFix=false
WaitForFirefox=false
FirefoxExecutable=firefox.exe
DisableSplashScreen=false

When I double-click on on G:\...\PortableFirefox.exe, the program opens. When I am finished surfing, I close the program.

There now is a Mozilla folder containing the Firefox folder and pluginreg.dat created on the local computer at:

C:\Documents and Settings\doogie\Application Data

I appreciate your patience, but it is unclear to me what I have done wrong.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
What's in userprofile?

What's in userprofile? Anything at all?

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

doogie
Offline
Last seen: 17 years 4 weeks ago
Joined: 2006-01-10 13:10
Nothing at all. I also

Nothing at all.

I also tried copying the /Mozilla/Firefox directory that was created on the local computer to the portable version's userprofile directory, but that didn't help.

doogie
Offline
Last seen: 17 years 4 weeks ago
Joined: 2006-01-10 13:10
Should there be something in

Should there be something in that folder?

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Ditch the INI

Just be sure there's a userprofile directory and it'll work.

Just be sure to note the side effects of doing this.

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

doogie
Offline
Last seen: 17 years 4 weeks ago
Joined: 2006-01-10 13:10
Still creating Mozilla folder

John, I deleted the INI file as suggested.

A Mozilla folder is still generated on the local computer, though there are no files inside.

I don't really find this objectionable, but it would be nice if there was no trace of the portable application. Any other ideas?

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Sorry kid

No matter what I've tried, I simply can't reproduce what you're seeing. When mine has the userprofile within it here, nothing is created on the local drive. There's nothing I can do to help you further.

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

Deuce
Offline
Last seen: 14 years 1 month ago
Developer
Joined: 2005-12-24 16:32
John, I just want to let you know

That I to have the Mozilla\firefox\Pluginsreg.dat created in the C:\Documents and settings\%Useranme%\Application Data\ folder. I have the .INI file in the root of protable firefox with the executable and it is set as written.

I just use a batch file to delete it and it is gone. I just wanted you to know, so you don't think is just him that has it. No prob with it here though Smile

Deuce
Portable Software: Just the beginning.

Bruce Pascoe
Offline
Last seen: 12 years 10 months ago
Joined: 2006-01-15 16:14
John...

Perhaps a good idea for the next version of PFF launcher would be to delete the local folder after Firefox quits (assuming WaitForFirefox was set to true); however, you'd have to determine if a local copy of Firefox was installed first... hmm, nevermind. That would be a nightmare to program.

Topic locked