MozillaZine

Firefox 13+ in Windows 2000

Discuss various technical topics not related to Mozilla.
tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted July 30th, 2012, 6:11 am

Thank you very much!

I've just tested it. Placing a file there seems to work for the release channel but doesn't work for other (tested for beta/aurora). In order to make the autoupdate function work I had to add the code either to the prefs.js in my user profile folder or just add it directly to the about:config. Only after that Firefox beta/aurora started to download a new version.

I'll do more tests and try to check if silent updates work too. What's good is that new versions are installed in background in Win2k without any problems while normally the installer refuses to run.

xabolcs
 
Posts: 39
Joined: August 29th, 2011, 10:38 pm
Location: GMT+1 / GMT+2

Post Posted July 30th, 2012, 8:42 am

For testing You could set the app.update.log to true. This would provide lot of info to You.


It's interesting.
Did You put into the correct place(%installation%/defaults/pref, where %installation% is the Fx directory for each channel)?
Because my Aurora reads it correctly (on XP).

By the way I could pack up a simple extension which does this override for You. :)
Anyway, I vote for a *.js in application directory (to be more specific: where channel-prefs.js besides), which isn't bound to profiles.

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted July 30th, 2012, 9:33 am

Yes, the file is in the correct directory ;) I've tried different ones:

- new installation of Aurora to its default directory
- overwriting the existing release to beta/aurora
- switching between aurora/beta

but the situation was always the same.

The problem is that even if I put the file in the defaults\pref folder, then launch Firefox (aurora) and search for "app.update.url" in about:config the value set there is still the default one, i.e.:

Code: Select all
app.update.url;https://aus3.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml

not the one set in the .js file.

xabolcs
 
Posts: 39
Joined: August 29th, 2011, 10:38 pm
Location: GMT+1 / GMT+2

Post Posted July 30th, 2012, 6:11 pm

Here is a bootstrapped extension for You! :)
I left it in logging mode: it logs if it modifies the app.update.url preference.

Version: 1.0.0
Built at: 2012-07-31
Built from: 8f0667be339a
Download: win2k-updateurl_v1.0.0_8f0667be339a.xpi

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted July 30th, 2012, 7:10 pm

Wow, great =D>

It seems to do the job perfectly. Would you mind if I add information about it to the instructions in #1?

xabolcs
 
Posts: 39
Joined: August 29th, 2011, 10:38 pm
Location: GMT+1 / GMT+2

Post Posted July 31st, 2012, 11:27 pm

tomasz86 wrote:[...]
Would you mind if I add information about it to the instructions in #1?


Of course not! :)
:!: But please note that this addon doesn't play well others which manipulate app.update.url also!
And please note too that this addon modifies the default value of app.update.url!
For example with Update Channel Selector after #7 get fixed. :-"

Anyway: a modficication in about:config is enough. :D
As You wrote, a line in prefs.js (in profile dir) is enough:
tomasz86 wrote:[...]
I had to add the code either to the prefs.js in my user profile folder or just add it directly to the about:config. Only after that Firefox beta/aurora started to download a new version.
[...]


By the way it would be nice if somebody (e.g. me :wink:) could test out why %installation%/defaults/pref directory doesn't gets parsed!

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted August 4th, 2012, 2:01 am

I have updated the instructions. Apart from adding the information about the addon I've added info about how to actually run the new Firefox installer in Win2k. Thanks to the addon it's also possible to install it in Firefox 12 and update the browser automatically to the newest available version (details in #1).

Thank you once again for everything, xabolcs!

patrickjdempsey

User avatar
 
Posts: 22863
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted August 7th, 2012, 2:07 pm

Back when Mozilla first announced removal of Windows 2K support, a few people asserted that it was possible to build Firefox for W2K using MVS 2010 with a few modified flags. Strangely, I see no-one mentioning that now. Is that simply not possible?

Or is it possible to build using MVS 2008 and just disable the effected features?
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted August 8th, 2012, 9:58 am

I don't know anything about compiling, etc. but there are also many unfixed dependencies which will probably prevent newer versions of Firefox from working in Win2k even if it was compiled in older/modified VS. You can check this topic for information about which APIs are missing.

I think BlackWingCat said that it was possible to use modified libraries and therefore build applications compatible even with Windows 95.

patrickjdempsey

User avatar
 
Posts: 22863
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted August 8th, 2012, 11:44 am

Thanks... I have a work machine that just may end up running out-of-date Firefox.... better than running IE6 anyway.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted August 11th, 2012, 8:31 am

@xabolcs

I've got bad news. It seems that something has changed in the update mechanism. The autoupdate function stopped working on Aurora 2012-08-09. I've tested it in a VM and the situation is the same with Aurora 2012-08-10. It just keeps saying that the browser is "up to date". If I install an older version of Aurora then I can update it to the newest one but that's it. The function doesn't work on versions newer than 2012-08-08.

Have you (or anyone else) got any idea what the problem may be about?

Edit: Hmm, I've just managed to update it on a VM... but not on my desktop. I guess more testing is needed.

Edit2: I guess I've found the reason. Strangely there is no newer Polish versions of Aurora. The last one is from 2012-08-09 and it was the one I had here. No surprise that it didn't update itself... but now I'm curious why it's not available 8-[

patrickjdempsey

User avatar
 
Posts: 22863
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted August 11th, 2012, 11:20 pm

Non-English versions always take a bit longer to get out AS-FAR-AS-I-KNOW.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted August 12th, 2012, 1:35 am

It seems that there was no Polish version available on 2012-08-10. 2012-08-09 was updated straightly to 2012-08-11. Fortunately it was just a false alarm.

tomasz86
 
Posts: 46
Joined: June 4th, 2012, 3:39 am

Post Posted August 15th, 2012, 8:58 pm

This is important information for everyone using Win2k. M$ has started to remove older Win2k updates from their servers. If there are any files you need you should hurry up and download them as soon as possible before they are removed.

M$ is finally killing Windows 2000...

Older XP/2003 will be removed too, ex. XP SP2 cannot be downloaded from M$ servers any more.

patrickjdempsey

User avatar
 
Posts: 22863
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted August 15th, 2012, 9:40 pm

Hmm... that's certainly going to prove problematic for some businesses. But I guess Microsoft is now just aping everything about Apple so yeah... I need to learn Linux.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

Return to MozillaZine Tech


Who is online

Users browsing this forum: No registered users and 3 guests