InstallerForWindows

Differences between revisions 28 and 29
Revision 28 as of 2007-05-31 00:12:23
Size: 5102
Editor: adsl-69-235-58-255
Comment:
Revision 29 as of 2007-05-31 09:12:26
Size: 5410
Editor: netmail
Comment:
Deletions are marked like this. Additions are marked like this.
Line 44: Line 44:
 * Locates the ISO on your system or downloads it via bittorrent {{{if the user is running it from the CD, can the CD be used to create the ISO rather than downloading it? -mdz}}} {{{how will mirror selection be handled? -mdz}}}  * Locates the ISO on your system or downloads it via bittorrent {{{if the user is running it from the CD, can the CD be used to create the ISO rather than downloading it? -mdz}}} {{{how will mirror selection be handled? -mdz}}} {{{metadl is a good alternative, it's now used in wubi -ago}}}
Line 71: Line 71:
 * Different versions for Ubuntu, Edubuntu, Kubuntu and Xubuntu, where only the artwork and ISO differ.  * Different versions for Ubuntu, Edubuntu, Kubuntu and Xubuntu, where only the artwork and ISO differ.
 {{{how do you plan to achieve this? A customised installer for each distro, or a single installer with a distro selector? - In the second case the distro might be preselected if a CD/ISO is detected and the banner changed accordingly -ago}}}

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

A loop-mounted Ubuntu install initiated in Windows. The installer asks fewer questions and does not partition or format drives.

Release Note

Installing Ubuntu is now even easier for Windows users! The small installer program will copy a fully-functional Ubuntu system into a directory on your Windows drive, which you can then boot in a "dual-boot" configuration. This is a great way to try out Ubuntu over a period of time, with no re-partitioning or formatting required. For long-term use, we recommend migrating to a native disk install.

Rationale

Windows users are often more comfortable downloading and running a small ubuntu-setup.exe file than downloading and burning an ISO. This also avoids the requirement of booting from the CD, which can be troublesome as some laptops do not have a CD drive and many systems are configured to boot from the hard disk first.

Advantages

  • No disk resizing or partitioning required
  • No CD burning required, works on laptops without CD drives
  • Easy to remove Ubuntu from the system, restoring the system to its previous state
  • The bootloader is not replaced, an additional boot option is addded to it
  • Ubuntu is installed/uninstalled as any other application, which is comfortable for the user
  • Runs at near-native speeds using all system resources (provided the loop mounting is efficient)
  • Uses all available hardware as a normal install would (in like a virtualbox install)

Use Cases

  • Sindre wants to give Linux a try but uses his only computer for work and does not want to repartition his drive, worried that something will break. The Live CD he received guides him through installing Ubuntu in a file on his widows system, which he then boots into.
  • Hellena writes tech reviews for on-line journals. She has tested various Linux distros in the past using VMware, but this does not quite yield a native experience. On the Ubuntu website she finds a small download that runs in Windows and produces a loop mounted install. After testing and reviewing she can delete it easily.

Assumptions

  • ntfs-3g doesn't break the world
  • ubiquity pre-seeding is implemented (else we fall back to alternate for gutsy)

Design

A small executable that can be included on the CD which does the following:

  • Locates the ISO on your system or downloads it via bittorrent if the user is running it from the CD, can the CD be used to create the ISO rather than downloading it?  -mdz how will mirror selection be handled? -mdz metadl is a good alternative, it's now used in wubi -ago

  • Asks for a user name and password
  • Gathers information from Windows for the remaining install settings
  • Creates a 5GB image file in a user-defined location, C:\ubuntu by default

  • Creates a pre-seed file for the install
  • Adds Ubuntu entry to the Windows bootloader
  • Reboots to start an install process (non-interactive)
    • ISO and disk image are both loop-mounted from the Windows drive
  • Will use a pre-seed enabled version of ubiquity if available, otherwise the alternate ISO this should be contingent on ubiquity pre-seeding, as we want it to use that method in the long term, unless there's a good reason to target the alternate installer

  • Reboot again to start Ubuntu (or Windows)
  • Allows simple removal of Ubuntu if desired how?  is there an uninstaller? -mdz yes, there is a windows-based uninstaller used to uninstall ubuntu, in add/remove programs -gezakovacs

  • Installer can be launched from the WinFOSS browser

Optional features

  • Teach the ubiquity migration assistant to migrate from a loop-mounted file in Windows
  • Option to install to a real partition
  • Set the size of the image file (5GB is default)
  • Better post-install management features. A control panel running in windows that lets you resize discs, make backups, select between different installed systems.

Implementation

  • Windows installer is written in NSIS with various plug-ins (bittorrent, what else?)
  • Tighten the graphical design with a nice NSIS skin and suitable ubuntu graphics
  • Merge [http://launchpad.net/lupin lupin] patches in with d-i and intramfs to support loop-installation mode.

  • Add usplash to the initial install boot (perhaps we get this for free with the Live CD ISO?)
  • Refinement and testing of Vista support
  • Different versions for Ubuntu, Edubuntu, Kubuntu and Xubuntu, where only the artwork and ISO differ.

    how do you plan to achieve this? A customised installer for each distro, or a single installer with a distro selector? - In the second case the distro might be preselected if a CD/ISO is detected and the banner changed accordingly -ago

Website

  • Prominent download location on the website

Test/Demo Plan

  • Widespread community testing
  • Test the install procedure on a range of hardware and Windows versions

Outstanding Issues


CategorySpec

InstallerForWindows (last edited 2008-08-06 16:32:01 by localhost)