Way too freaking complicated v.Nullsoft Installer

Discussion in 'OT Technology' started by deusexaethera, Aug 21, 2006.

  1. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    I'm trying to build an installer for an application. I already have it set up exactly as it needs to be on my test machine; why do I have to write scripts to build an installer, instead of just specifying a list of files to be unpacked to various locations, and a list of registry entries to be created? Two lists and a prebuilt UI that dumps files and settings where they need to go; that's all I need.

    Is there a decent tutorial on using the Nullsoft Installer correctly, or (even better) a simple installer creation app that I can download?
     
  2. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    Back in the day I used InstallShield, and it was pretty damn easy. Drag & Drop files, reg entrieds, etc
     
  3. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    Got any suggestions that don't cost several hundred dollars?
     
  4. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
  5. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    Funny, when I tried to go there before I got a 404 error...who knows.

    I guess my issue is that I need only very basic installer features; I need to make a folder, unpack a bunch of files into it, make a couple of Start Menu shortcuts, and register a couple of DLLs. Hell, I could write my own installer if I could accomplish the following two things:

    1. Create shortcuts in \Documents and Settings\All Users\Start Menu
    2. Delete the installer file after all other tasks are complete.

    Regarding #2: this used to be easy, before Windows NT came along. Executables didn't used to be protected from deletion while they were running; I could run an EXE file that would delete itself and then end, and there would be no trace. Not anymore -- I dunno how the big installer companies do that nowadays.
     
  6. EvilSS

    EvilSS New Member

    Joined:
    Jun 11, 2003
    Messages:
    5,104
    Likes Received:
    0
    Location:
    STL
    What about just a self-extracting ZIP/RAR file? You can usually even add a "run on unzip" option to run a setup file. In this case just extract everything out and have it run a batch file to finish up.
     
  7. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    That's what I'm using now. Problem is, the post-setup utility still can't delete itself when it's done with its job.
     
  8. EvilSS

    EvilSS New Member

    Joined:
    Jun 11, 2003
    Messages:
    5,104
    Likes Received:
    0
    Location:
    STL
    Well you could do like every other installer does and extract everything to temp and just leave it for the user to clean up.
     
  9. Avatar Viper

    Avatar Viper Guest

    it is not too bad la, just give yourself so time and study some examples and you are ready to go...
     
  10. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    what did you write the app in? Installshield is easy to use, and popular.
     
  11. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    Where can I find such examples? I seem to be stupid today.
     
  12. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    Visual Studio. I'm sure InstallShield is compatible, because I had a free version of it that came with an older edition of VC++. I just don't want to pay for something I'd use so rarely.

    Then again, maybe I should suck it up and buy it anyway. I dunno.
     

Share This Page