XUL Talk:Installation Story: Difference between revisions

m
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
== NSIS work ==
== 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.
I've got an NSIS wrapper script which can deploy XULRunner apps. It fulfils most of the Microsoft-lover use case.


Installer: [http://thumper.kicks-ass.org/chatzilla-xulrunner-setup.exe]
ChatZilla / XULRunner Installer: [http://thumper.kicks-ass.org/ChatZilla-net-stub-setup.exe]
Script: [http://thumper.kicks-ass.org/xulrunnerinstall.nsi]
Script: [http://thumper.kicks-ass.org/net-bundle-setup.nsi]


Issues at the moment:
Issues at the moment:
Line 22: Line 22:
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.
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.
2. There isn't currently a 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.
3. 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. This is really a niggle with the spec.


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.
[[User:Thumperward|Thumperward]] 14:38, 7 Feb 2006 (PST)


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)
== Alternatives to Launch When Finished chekcbox on the last page ==
 
The ''[x] Launch Hexagonal Minesweeper When Finished'' is asking for an installation "option" while already installing which doesn't seem right. Furthermore it says ''When Finished'', while the actual installation may be finished already which might confuse the user.
 
I can think of two alternatives:
* Add it as an extra option next to the shortcut questions.
* Replace the finish button by two buttons: [Launch Now] and [Close Installer]. One could probably assume that if the user picks [Launch Now] he also is done using the installer and the installer can be closed.
 
[[User:bvleur]] 22:06, 20 Feb 2005 (CET)
6

edits