Slashdot Mirror


Software Packaging Formats for Windows?

darkdepeche asks: "My department is attempting to standardize on a software packaging format for the majority of our clients (which generally use Windows 2000/XP desktops). I've been very impressed with the .deb/apt system that Debian and some other Linux flavours use, I wonder if any other slashdotters use something similar to this on a Windows platform? Using the traditional Installer is a possibility but the tools are cumbersome and quite expensive. We need something that would handle several hundred applications, hotfixes, service packs, and keep history for them all. Has anyone else worked on a project like this?" InstallShield can be more complex than it needs to be and can be very hard to use. Have any of you come across an installer for Windows that is easy to use, can uninstall whatever has been installed, can manage the registry and also (maybe) have versioning controls similar to what is offered by .dpkg/Apt?

43 comments

  1. lame, quick answer by Anonymous Coward · · Score: 0

    Nullsoft has a great installer. Go download winamp and install it to see the installer in action. It's quick and seems to work very well (from the user perspective, at least).

    1. Re:lame, quick answer by tenman · · Score: 2

      I really don't think that is what he/she is looking for. I'm thinking he wants a more "remote" install and continous update type application. In that case, I would suggest symantec's 'live update' code. You can (we did) license it from them, and rebrand it to fit your needs. It's is constently researched and updated. Security holes are pached in hours of notification, and we haven't had a problem with them in more than a year.

  2. Another thing... by Anonymous Coward · · Score: 0

    The URL for the installer.

  3. Nullsoft (SuperPiMP|Scriptable) Install System by Hobart · · Score: 4, Informative
    Nullsoft's installer is available here:
    http://www.nullsoft.com/free/nsis/
    --
    o/~ Join us now and share the software ...
    1. Re:Nullsoft (SuperPiMP|Scriptable) Install System by Wonko42 · · Score: 2

      I'll second that. NSIS is the best installer ever; I use it for all my Windows projects. And on top of that, it's open source. Who could ask for more?

  4. NSIS! by buzzbomb · · Score: 3, Informative

    an installer for Windows that is easy to use, can uninstall whatever has been installed, can manage the registry and also (maybe) have versioning controls

    The Nullsoft SuperPIMP Install System does three out of four...and it's quite possible that you could script the versioning yourself. Check it out.

  5. Go with a commercial package by Chacham · · Score: 2, Interesting

    (A few years ago, I was employed by WISE Solutions.)

    Installing on Windows is not just a matter of ease. It is also a matter of knowing what works, and what doesn't work on all platforms. Hacking the registry is easy, *knowing when* to hack it is not so easy. InstallShield can be very complex, but it allows great flexibility. WISE is generally easier to use, and generally has what you need.

    After seeing countless scripts, I can say that most people (of whose scripts I've seen) do not know what is going on. Luckily they used a tool, or else who knows what sort of damage they would have caused.

    Considering a decent tool costs less than one thousand dollars, it is well worth the time you will save learning how to install files. Also, considering the main tools keep up with Microsoft rules (usually) there are less "gotchas" to worry about.

    Both WISE and InstallShield have strong userbases. You can easily tap into a lot of knowledge with those tools.

    1. Re:Go with a commercial package by diesel_jackass · · Score: 2

      (I work for a company which is in no way affiliated with WISE)

      We use WISE Pro at work, and their software is well worth the money. It took me a little bit to figure out how the software works, but you can do almost anything with it.

      I've used it for everything from office template installers to complex ibm software packages to quake map installers.

      There's a couple of things that I'd like to see added to the software, but I haven't checked out the latest versions either.

  6. ZenWorks by BigDaddy · · Score: 1

    If you dare to travel into the domain of Novell, their ZenWorks system is quite robust. It allows for selective and forced installation, and the packaging system always struck me as quite sophisticated.

    --
    You can't get a blue screen on a black and white monitor.
    1. Re:ZenWorks by Micro$will · · Score: 1

      You forgot to mention the snapshot system they employ as well, which will scan the HD and registry of all clients before and after the install and allow you to completely clean any app from the workstations. Unfortunately, Zenworks and Snappshot still rely on the applications own install utilities, so this probably won't help much.

  7. Ask Slashdot by wdr1 · · Score: 1, Offtopic

    When did Cliff start to get paid by the question?

    Three questions today? And all three lame? Geezzz... Ease up on the posting trigger there, hoss!

    -Bill

    --
    SlashSig Karma: Excellent (mostly affected by moderatio
    1. Re:Ask Slashdot by Sentry21 · · Score: 2

      Actually, I'm inclined to think this is one of the better Ask Slashdot questions out there lately. When you have a large userbase of installed Windows machines, it would be nice to have a consistant way to manage them all, in an apt-get, software/windows update sort of fashion - software installation and updates, and system updates, patches, fixes, and drivers, combined with an intelligent packaging system, would be a great product.

      Hmm... I smell money-making opportunity...

      --Dan

      PS: Just before I hit post, I mentioned this money-making opportunity to a friend of mine, who pointed out that MS has had a product called the Systems Management Server out for about four years now, that will do exactly this - system and application installation and updating. Probably works well too, up until the whole thing goes to hell. Yay for Norton Ghost.

    2. Re:Ask Slashdot by Anonymous Coward · · Score: 0

      SMS is a royal pain to setup and maintain, plus, if you think InstallShield or Wise is expensive, SMS is WAYYY out of your price range.

  8. Another installer: Inno Setup by uradu · · Score: 4, Informative

    That would be another totally free option. You can get it at http://www.jrsoftware.org/isinfo.php. It creates installers with the new Windows Installer look, consisting of one single Setup.exe file. Plus, some third party extensions add scripting capabilities (http://www.wintax.nl/isx) and an install builder IDE (http://www.bhenden.org/istool). Many consider this to be the best free install builder, rivaling even some commercial ones.

    Of course, it doesn't address versioning or online updating. But any of the systems I've seen seemed proprietary and bound to a particular product--check out Microsoft's Windows Update, for example. It would be nice if someone came up with a complete solution, including a back-end server (or maybe FTP or HTTP based) and a client-side app that was installed along with your app and knew enough about it to do a live update. Plus, of course, an admin tool for the back-end to manage all the bits there.

    1. Re:Another installer: Inno Setup by dirtydamo · · Score: 1

      I just followed this guy's advice and went and used this for a project that has been crying out for a decent setup program for a long time now.

      It's fantastic! I have used InstallShield, WISE, etc, and they are all crap (WISE much less so than others). I had a reasonably complex installer up and running in under 2 hours with Inno Setup!

      I love it!

  9. Um... Microsoft Installer, people! by thenerdgod · · Score: 5, Insightful

    http://www.microsoft.com/windows2000/techinfo/howi tworks/management/installer.asp

    I mean, really. MSI has got what you need. And if you use Visual Studio, then, well, DUH. It lets you remotely install stuff... it helps you manage your installs... it integrates with Terminal Services. Really. It's the Offical Microsoft Answer to RPM. sheesh!

    1. Re:Um... Microsoft Installer, people! by Anonymous Coward · · Score: 0

      and it even does repair installations.

    2. Re:Um... Microsoft Installer, people! by Anonymous Coward · · Score: 0

      And it makes you stick in the CD just out of the blue. It is the worst installer ever!

    3. Re:Um... Microsoft Installer, people! by Anonymous Coward · · Score: 0

      And it crashes every time I look at it.

    4. Re:Um... Microsoft Installer, people! by psicE · · Score: 3, Interesting

      Plus, MSI supports one feature found nowhere else (except on Sorcerer Linux): it can set stuff to auto-install on first use. Let's say you copy Office to a network server, for example, and install everything on clients at "first use". The install will end up taking you a couple minutes per workstation. The first time that someone on a client computer opens Word, it will automatically download, install, and set up Word, with no additional work required from you, the administrator.

    5. Re:Um... Microsoft Installer, people! by memfree · · Score: 1

      By itself, I find Microsoft's Windows Installer to be next to useless. Our software packages generally include hundreds -- if not thousands -- of files in dozens of directories and at least 20 different install options for each. Trying to construct MSIs with *just* the Microsoft SDK tools is incredibly painful and slow.

      If I had the option, I would NOT be using the Microsoft package, but I don't get to make the decision. We do have the InstallShield frontend for it, but it seems a bit buggy. Ah well, back to writing automation tools for this stuff.

      --
      "The girl makes Godot look punctual." -- Buffy
  10. nsis (open sores even) by honold · · Score: 0

    http://www.nullsoft.com/free/nsis/

  11. Certainly would be NICE! by Anonymous Coward · · Score: 0

    As a Windows support tech for a large company, I have seen it all! Most software installations are absolute CRAP! Makes you wonder how many monkeys put the install package together!

    Seriously, most install packages are very very very broken! i.e. Newer DLL's get overwritten by older DLL's. I had systems setup with DB2, Oracle, Sybase, etc. All nicely setup in ODBC and all working side by side. Then the user installs some MS-Access based VB Application with a broken installer and WHAM! No other database on the workstation will function! Come to find out it only installed a partial ODBC setup and overwrote newer files with old ones.

    Thank God for http://www.microsoft.com/data/ - Where one can download a working MDAC, unfortunately, it's required to UPGRADE to repair the damage. But at least they provide many versions of MDAC. I usually just upgrade to the next version up and not all the way, lest I have to do this again next week!

    The absolute worst of all application installations come from Microsoft development systems. i.e. Visual Studio, VB, etc. It is a royal pain to fix a developers workstation after they've been allowed to muck it up.

    We had to implement a system we call the DLLStack. This forcefully downloads a known good set of DLL's for the OS and major applications (MSOffice, etc). An automated installation system was setup so users can pick the software to install and it will run answer files while it walks through the installation. Then the DLLStack is run to repair the broken installations.

    Besides broken version testing (namely DLL checking) the second most common problem is caused by incorrect registry entries. In many cases these entries are made by the Microsoft installer or InstallShield. The problem is the person making the installation package doesn't even know this key was autogenerated by the tool. I've found keys that actually are not supposed to be there at all! Invalid paths, etc.

    We have to lock down everyone's PC so users don't install something and break it. Engineers, Desktop Technicians, and programmers get local admin rights but no one else.

    Linux RedHat RPM and Debian Apt-Get are very very cool systems. Even Solaris has something similar. It would be nice if this type of system were available for Windows but Windows works differently. i.e. the Registry is a big problem as well as registering DLL's, OCX's, etc.

    I suppose it could be done. Ever priced out InstallShield? How about the courses required to learn how to use it properly? OUCH!

  12. Tivoli Software Distribution by z4ce · · Score: 2

    Tivoli's Software Distribution (now part of the Tivoli Configuration Manager) system works pretty nice. It integrates nicely with Tivoli inventory so you can do things like install a certain software package to all computers with more than 300mhz, 128megs of ram, and windows 2000. It supports checking dll versions, variables, package versioning, and package dependencies.

    It even has a "Transactional" system to allow updating of core system files that are locked.

    It is also cross-platforms from Windows to Linux to HP-UX to AS400. Pretty much every platform imaginable is supported.

    I've been working with it non-stop for the last few weeks and I've been pretty impressed with it.

    Oh yeah, and call Maryville Technologies if you need any help designing and implementing Tivoli infrastructure and packages. *shameless plug*

    Ian

  13. Use Commercial Software by Tsk · · Score: 1

    I've setup and used SDO from computer Associates, and Visio64 (but they are closing). Has mentioned above tivoli is also an option.There's also SMS from Microsoft but some dev is necessary to make it work.
    Whith SDO you'll be able to distribute to Microsoft OSes,Novell and a bunch of Unix systems has well. The architecture is build around a MS SQL database which will store information on packages, client machines. You'll be able to schedule when you're distribution will occur (thus not killing your network). A neat option that's bundled with the product is called DTO. This option lets your decide which network route will be used to reach the clients. With it you'll be able to say : to reach machine C go thru machine B, not A. This really is cool.

    --
    none Yet.
  14. Wise : Not free, but good. by Domini · · Score: 2

    Could be worth a look.

    (Used by some open source projects, that's where I saw it first...)

  15. Re:Full House: The Grocery Store by ickyfreak · · Score: 0

    fuck i want more :))))

    --

    ---------------
    100% Australian

  16. Cant wait. by Anonymous Coward · · Score: 0

    C:\> apt-get upgrade
    Processing File Dependencies... Done
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages have been kept back
    security-fixes
    The following packages will be upgraded
    dot-net-service-pack
    Get:1 http://apt.microsoft.com xp/updates dot-net-service-pack 264 [30367762kB]

  17. Seconded by mattbee · · Score: 2

    Seconded on all those points, particularly the professional look of the installer. What really sold me on this installer was the fact that it runs entirely from a script file, GUI is optional, and you compile your script and program resources into a single squashed .exe. This makes it ideal to run from build scripts, and even better the setup compiler runs under Wine, so sending out frequent releases from a Linux development machine is easy.

    --
    Matthew @ Bytemark Hosting
    1. Re:Seconded by uradu · · Score: 2

      > and even better the setup compiler runs under Wine, so sending out
      > frequent releases from a Linux development machine is easy.

      Actually, since the full Delphi source code is available, it should be quite possible to port it to Linux using Kylix, resulting in a native installer. I don't know if such an effort is underway, but I wouldn't be surprised.

  18. InstallAnywhere by cdh · · Score: 2, Informative

    I've used InstallAnywhere for the couple Window projects I've done. These were Java apps and the program didn't care. The beauty of it is that it is cross platform. It can generate installers for Windows, Unix and Mac. They have a limited free version and the sales guys give up after a couple non-responses. The full version isn't too expensive either. Fully scriptable. Very slick.

  19. Go with Open Source Installer! by slashkitty · · Score: 2

    Nullsoft's NSIS is great and it took me no time to learn. I've been using it for ages and it works perfect. It is much smaller and faster the your "WISE" installer, and it is a hell of a lot less expensive. This is especially important if you are going to standardize on it!

    --
    -- these are only opinions and they might not be mine.
  20. Glad you liked it! by uradu · · Score: 2

    Actually, it's probably one of the better kept secrets in the installer world, although, judging by the number of downloads on their website, it's quite popular. Plus, doing a Google Groups search on installers returns lots of references to Inno.

  21. InstallShield == crap .. use Wise's InstallBuilder by Anonymous Coward · · Score: 0

    I had a small, popular application (> 2M on download.com) and we initially packaged it using InstallShield. It was god awful.

    Installer size was 3 times the size of the app's footprint post-install, and there were many bugs in the installer code that caused many users fits. The 2 most galling (and frequent) bugs were

    --- "oh, ok it does that sometimes... open up your task manager .. TASK MANAGER... yes, open that up and look for a task named _isdel that's underscore india sierra delta echo lima... yes. KILL IT!"

    --- "it says you are out of disk space even though you have 500 G available? hmmm try deleting \windows\temp\*.* Try again and pray!

    With such a simple challenge as installing files and touching some registry doo-dads, I was left wondering: did they ever test this code?

    Based on this poor performance, we tried the middle-of-the-road version of Wise's Install_____ line : InstallBuilder. Instant bliss. Installer size was reduced around 50% (!!!!) and ALL issues of the installer not working just VANISHED. Moreover, while I cannot say I loved either interface for designing your installation logic, InstallBuilder was substantially better in this area.

    You cannot afford to have a popular product and rely on InstallShield. The bandwidth wastage is significant for small apps, and the problem incidence rate is just pissing away goodwill.

    tone

  22. Simple Internet Version Control Protocol by maggard · · Score: 2
    Frankly few if any Wintel apps do version-checking as part of the install. They install then check if there are any newer components, updates, whatever.

    This makes sense from a managing-customer-expectations view: They likely want a working copy now and they (and you!) don't want to be involved in getting online, finding out it's stale software, long downloads, corrupted downloads, etc. Let the installer install, that's nasty enough.

    Many apps offer a menu option that fires off a URL event for update-checking. The web-browser opens up the page and there you are. Some applications are clever and fire off a URL event with the version number already encoded so you get your version-check right away, automatigically answer is there more or not. Others make you look up your own version number and then figure out what your choices are. And some take the opportunity to include the serial number and such "for the record."

    An alternative is a polite version checker that (with permission!) automatically checks for updates every so often, say two weeks, or on demand. If there's no new version it quietly shuts down and nobody was disturbed. Or if it was a manual check it gives a nothing-new response. If there is something new it gives a response and supplies a link to the appropriate web-page/download/whatever.

    Of course any such transaction should be well documented and easily interpreted so folks know exactly what is being 'phoned home' and don't start getting the willies. This may mean a larger transaction then strictly neccessary but keeping it human-interpretable is likely valuable in a suspicious world.

    So with all of that said I'd like to point folks to one existing implementation: Simple Internet Version Control Protocol. I've no connection whatsoever with it beyond having a product or two on my machine that use it but it's always seemed to me to be a well-thought-out bit of code and after 7 years of in-production-use likely well-tested. Oh, and I may have met the author years ago (Chris, were you @neu.edu?)

    It does version-control, also does anonymous user counts, it's free in all senses, there's code examples, etc. Here's their summary:

    The Simple Internet Version Control protocol (SIVC - pronounced "civic") is a system intended to help people on the Internet keep their software up-to-date, while providing software developers with good estimations of their products' Internet user bases. While interesting to all developers, these estimations are particularly useful to developers of public domain, freeware and shareware products since the size of a product's user base is often a major factor in justifying continued development. In addition, SIVC can reduce product support demands, and improve user experiences, by helping to ensure that users have current versions of their SIVC-equipped software.
    --
    I don't read ACs: If a post isn't worth so much as a nom de plume to its author then I wont bother either.
  23. ZENWorks by behrman · · Score: 1

    Novell has had a package out for some time now that does this quite well... It was NAL (Novell Application Launcher) and it got turned into part of ZENWorks a few years ago. I assume they're still supporting it, although, I haven't done anything Novell-related in a few years. Great NDS integration, and an application image generation that works great (takes a snAPPshot of your system before install and after install and then saves the deltas to apply to other PCs), will allow you to choose what icons show up where, and will check to make sure the app is installed, allowed to run, has availible licenses, and is of the right version before launching. If it's not installed, or needs an upgrade, it'll install it automatically. It's really flexible and quite sturdy... Maybe MS will have something that's that easy in Active Driectory soon, but Novell's had that working with NDS for years now.

  24. Spoon Installer by alatesystems · · Score: 1
    Spoon Installer is the best installer for free that I have found. It is VERY user friendly and very flexible. I always use it for distributing my windows programs. The author is very responsive in adding features and bug fixing if you contact him about it via email. The program automagically generates uninstallers.

    The link is http://www.dbpoweramp.com/developer-spoon-installe r.htm. I hope this helps as I have not seen it mentioned. I was so happy when I ran across it while using dbPowerAmp made by the same person to convert my mp3s to wma for my portable wma player.

    Chris

  25. Rapid development environment, or nightmare? by Anonymous Coward · · Score: 0
    I recently attempted to use Install Shield and thanks to the inept [lack of] guidance of the staff I had to abort and go a custom route. While part of the problem was (to me at least) the very unintuitive and consistent, flowing interface and process (AdminStudio) I found that in order to do the simplest customizing required such intimate knowledge with the registry and details of the system, the parts and all possible variations that their was then another learning curve of detailed windows installation knowledge.

    The problem here was that I have never built any packages, much less on windows and of course had never used Install Shield. While this was explained in various communication formats to the staff they just threw me into the icy, windy sea of AdminStudio without so much as an idea of where I was much less a life raft. I needed (and will most likely in the future need) a graduated system that will get you up and running and take advanced steps one at a time. Instead of the method they employed of two 'modes': simplistic and useless (except for simply copying files) and then full blown 'you must mind meld with your machine' mode.

    While they had simpler products I found that for such simplicity the price was a complete lack of customizable dialogs, third party app controling methods and any sort of system/user/admin variable use.

    Now I am not really busting on Install Shield, beleive it or not. I saw great potential with AdminStudio once you became intimate with every aspect and nuance of Windows Installer, installation methods, registry control, internal file/service locations, service and app (third party) install and config methods, and of course AdminStudio itself.

    On a side note, after doing a bit of checking for tutorials, guides and training, I found only expensive classes (that my 'complete-lack-of-buisiness-sense-or-forward-think ing-but-totally-ego-ridden-and-dishonest-and-incon sistent' management consider an option, regardless of the very real need). I saw that Wise touts itself as a very intuitive interface and targeted (philosophically) towards rapid development, and have seen some echoing on various boards. Is this true? Is it too much to ask for a scalable packaging system that will be simple to use? If I must know every detail of of the systems to be on, the parts installed, and the whole packaging process, then why not save money and the vendor specific learning curve by simply working with the Windows Installer database method (they have an SDK and it works with VB). What do these vendor systems offer except heart ache? :)

  26. strong user base, yes! responses online, no by Anonymous Coward · · Score: 0

    as the subject says, I found that responses to problems were cricket chirping on the Install Shield forums.

  27. installation process, tools optional by Anonymous Coward · · Score: 0
    While an installation tool that polishes my boots and manages my deployments, I am also very interested in good methods of installing. What I mean, is that the whole concept of installing, packaging, deploying and managing these is like any problem and requires a good process or even the best tools will fizzle out. While it is great when the tools and methods integrate with version control systems like CVS, Razor and Rational, this is still a tool and not a process/method issue.

    Where is a good reference piece, forum and/or tutorial that points out various methods of adapting exisiting projects to be more friendly to multi system (even platform) deployment? As an example: With a system that uses multiple scripts to copy files, register components and edit the registry, is it better to create a master list of the parts, organized by function, version, etc that can then be called upon? (and thus abstracted enough to avoid lengthy updates and cross dependency recalculations of each part if a change is made) What I am looking for is a sort of 'Dummies guide to building apps and installing them'
    thanks :)

  28. oh come on now, Chris! by Anonymous Coward · · Score: 0
    SPOOOOOOOOOOOOOOOOOOOOON!

    Surely you anticipated this! :O

  29. Why not use Software Group Policies? by t0qer · · Score: 1

    Start>programs>administrative tools>group policies

    play around with the software group policies, you can figure out the rest.