XUL Talk:Installation Story: Difference between revisions

NSIS work
No edit summary
 
(NSIS work)
Line 10: Line 10:


[[User:Garyvdm|Gary]] 08:27, 23 Nov 2005 (PST)
[[User:Garyvdm|Gary]] 08:27, 23 Nov 2005 (PST)
== NSIS work ==
I've got an NSIS script which can deploy XULrunner, register it and then install apps. It adds shortcuts and appropriate registry entries to get things like irc:// links working in ChatZilla, and uninstalls cleanly.
Issues at the moment:
1. Because -install-apping something doesn't add shortcuts at the moment, I'm doing it myself in NSIS. This only means setting a variable in the install script, but it means that it isn't fully generalised. This should really change.
2. I can't see a documented way of querying XULrunner to find out how many apps are installed. This means uninstall is all-or-nothing at the moment.
3. Ideally the installer exe contains only the xulapp wrapped in nsis. I haven't added the logic required to check for an existing system xulrunner and net-install one if it isn't available, but I don't expect that to take more than a night.
4. The "install an XPI if you're using Firefox and an exe if not" thing seems really awkward to me. XULrunner apps are independent of the browser anyway. It means that XULrunner will have to go around generating its own uninstallers and so on, and that sites will have to keep two downloads (an xpi and an exe) and use a js install trigger rather than just providing download links.
Of these, the difficulty in order from hardest is 2, 1, 3 with 4 being a technical niggle with the spec. [[User:Thumperward|Thumperward]] 14:38, 7 Feb 2006 (PST)
28

edits