You are here

FP Live starting performance

3 posts / 0 new
Last post
HugoSeppel
Offline
Last seen: 17 years 5 months ago
Joined: 2007-04-16 07:05
FP Live starting performance

It's me again...

As I understand the FP Live copies all the necessary files to the hard disk. On computers with a slow CD-ROM drive this takes some time. The launcher does this every time the Firefox Portable is started even if I don't delete the files on the HDD. I wonder if there is a chance to let the launcher only copy the files from CD to HDD which are different or are missing on HDD. I looked around in the nsi file and started to read the documentation of NSIS but found nothing. Has anyone of you an idea how to make this?

While looking around in the nsi file I came to lines 313 and 314 which are

		CopyFiles /SILENT $PLUGINSDIRECTORY\*.* $TEMP\${NAME}\plugins
		StrCpy $PROFILEDIRECTORY $TEMP\${NAME}\profile

Is line 314 correct or should it be

		CopyFiles /SILENT $PLUGINSDIRECTORY\*.* $TEMP\${NAME}\plugins
		StrCpy $PLUGINSDIRECTORY $TEMP\${NAME}\plugins
Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think youre right

and line 314 should really be
"StrCpy $PLUGINSDIRECTORY $TEMP\${NAME}\plugins"

Dunno about the live mode question though (never used it off cd).

"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 51 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

It has to clean up after itself on exit. And it can't leave files behind. So, that's how long it takes to start. It's not the most useful of features to be able to run it off CD, so it's not something you'd use daily or as a primary browser. It's useful for specific things like distributing webpages/sites on a CD with a browswer built in or trying out Firefox without installing it.

On the bug, yes it's a bug. But it doesn't actually affect anything since the plugins dir will point to the one on the CD (which does have all the plugins in it) and it doesn't need to be writable... so everything still works.

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

Log in or register to post comments