Creating an install for an OS.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
santellan17585
Posts: 15
Joined: Mon May 22, 2006 11:00 pm
Location: Fontana CA

Creating an install for an OS.

Post by santellan17585 »

I was wondering how to create an installer for my os, similar to the one used for Windows XP. Anyone know how?
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Post by carbonBased »

With all due respect, if you've already written an OS, the installer should be trivial ( by comparison, at least ).

How would I go about it? Well, ideally I'd make a business transaction with PartitionMagic in order to use their technology for partition sizing/management (a la the BeOS installer).

Failing that, however, I'd make sure my fdisk-ish program was rock solid. I'd make sure my HD format util was rock solid.

The install app, in my opinion, should boot directly off a disk or CD (as such, you may actually just use a self-contained version of your OS) and allow the user a choice of what partition to use, and/or allow the user to create new partitions.

Some form of simple packaging system should then be used to build a set of packages that the user can decide to install, or not to install **

Once the drive is formatted, the packages are unpacked onto the new driver.

In my opinion, the tricky part is what I've **'d above. You could use an existing dependancy based system like rpm, or make your own. Or you could simply use .zip files.

For simplicity, I would probably just use .zip files with an embedded manifest-like file (similar to a jar). The manifest would describe what is contained in the .zip file (short description and long description, etc) which would be used to generate the package listing presented to the user.

--Jeff
rexlunae
Member
Member
Posts: 134
Joined: Sun Oct 24, 2004 11:00 pm
Location: North Dakota, where the buffalo roam

Re: Creating an install for an OS.

Post by rexlunae »

santellan17585 wrote:I was wondering how to create an installer for my os, similar to the one used for Windows XP. Anyone know how?
I wouldn't use the Windows installer as a model. It's so complex and inflexible, has a terrible partitioning tool, requires multiple reboots, and worst of all, it installs Windows on your computer.
User avatar
matthias
Member
Member
Posts: 158
Joined: Fri Oct 22, 2004 11:00 pm
Location: Vlaardingen, Holland
Contact:

Re: Creating an install for an OS.

Post by matthias »

rexlunae wrote: It's so complex and inflexible, has a terrible partitioning tool, requires multiple reboots, and worst of all, it installs Windows on your computer.
_0_ I like your speech 8)

anyway, you should take a look to the installer of the testing distribution of debian, aka etch.

It's really simple, flexible, has a great partititoning tool, requires only one reboot, and best of all, it installs linux on your computer. ;)
The source of my problems is in the source.
Post Reply