Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the mozilla stub installer works?

I'm currently working on a no-touch deployment and auto-update mechanism for a Windows application. I've tried Microsoft ClickOnce strategy but it did not work for me as the strategy only suits small-sized apps, and my application hauls at ~500MB.

I'm interested in how the stub based installation and update strategies work for Mozilla Firefox and Google Chrome and also Microsoft's packages including its .NET framework and VS installers. I've come across Google Omaha which hosts the Google product update deployment mechanism, but it is not very conclusive for me.

Can anybody please help me out how the stub-based deployment design works?

P.S. Any open source code for the same would be of a great help. ;-)

like image 615
dhrumilap Avatar asked Mar 21 '23 14:03

dhrumilap


2 Answers

I'm not quite exactly sure of what you mean by "stub-based". There's a handful of technologies and tools involved in what I understand you want to accomplish. For the setup packages creation there are: NSIS, Inno Setup and the WiX Toolset, for example. A core technology is MSI. On the other hand, for application updates and the such, there's BITS and also some web stuff involved in updates publishing, like using an ATOM feed, for instance (your referenced Google Omaha might fit into this category).

It's only a bunch of pointers, but I hope it helps.

like image 83
Leandro Avatar answered Mar 23 '23 06:03

Leandro


The Mozilla installer is opensource (as is the NSIS system it uses) so I'd suggest adapting the code found here: http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/installer/windows/nsis/

It's a bit complex so you could start with a simpler script and incorporate the bits you want (like finding/downloading updates and UAC evelation).

like image 39
SpliFF Avatar answered Mar 23 '23 04:03

SpliFF