Thread: typical operations of an installer

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    222

    typical operations of an installer

    Does an installer in windows typically extract the dlls to appropriate system/application folders and registers them in the windows registry? I'm just wondering what would be a bare minimum with error checking mechanisms to get a working installer.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Installers vary from very simple (just copy a few files and install some static registry variables, to ones that have programmable plug-ins that the install-programmer can write code to do whatever is he/she feels like.

    It all depends on "what do you need to do to install the application".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    222
    I know what my installer is supposed to do (i'm installing a printer driver, which has a set of files that needs to be copied to a specific filepath, registered in the registry and added in the list of printers in printers and faxes management). I've gone through a few projects out there which has an installer component, but a lot of them seems to be overcomplicated to me, hence the question "simplest" methodology to get the installation job done.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Why not use a finished installer?
    NSIS is free and popular.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    > NSIS is free and popular.

    And you can download its source and see for yourself how it performs the magic.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Atomic operations
    By MarkZWEERS in forum C++ Programming
    Replies: 3
    Last Post: 02-07-2009, 05:21 PM
  2. Linux software installer recommendations
    By BobS0327 in forum Tech Board
    Replies: 13
    Last Post: 09-24-2006, 01:19 AM
  3. doing floating operations using integer operations
    By ammalik in forum C Programming
    Replies: 10
    Last Post: 08-15-2006, 04:30 AM
  4. Matrix and vector operations on computers
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 05-11-2004, 06:36 AM