Is Installshield the only way to go for Delphi Installations?

自古美人都是妖i 提交于 2019-11-30 22:17:12

I like InnoSetup a lot. Combined with ISTool it's quite comfortable too.

Mick

It depends, but it does not depend on the application's language (Delphi, C#, C++, C, etc).

You need to primarily decide if you want to create MSI's, which is Microsoft's official installation format (and the one I prefer), or if you are fine with installations that are executable files (as created by InnoSetup or NSIS)

MSI's offer many very nice features, such as integration with SMS for deployment in organizations, automated installation and removal, on the fly modification using transforms, very strong prerequisite handling, "custom actions" that can be written in VBScript or C++ or Delphi.

See this guide to writing MSI custom actions using Delphi.

I can't speak to the specific features of InnoSetup or NSIS, because I create MSI's. I personally use a recent version of InstallShield, but you can also use the widely supported and actively maintained open-source Windows Installer XML toolkit (known as WIX). In fact, most Visual Studio users prefer WIX because it integrates well with MSBuild....as does Delphi 2007 and newer.

Here's a great WIX tutorial if you are interested in using it to build an MSI installation package for your Delphi application.

However, wrapping your head around MSI's can take some time. It's extremely powerful, but it takes some patience and dedication to learn it well. If you are looking for a quicker way to get moving with your software installation (and aren't familiar with Windows Installer) I'd probably select InnoSetup (used with ISTool).

If you want to build MSI-Setups, you may take a look at Advanced Installer (www.advancedinstaller.com). It makes building MSI-Setups a lot easier than with the tools Microsoft provides. I use it a lot here.

You can use any installer you want to to build an installer for a Delphi app. You certainly don't have to stick with InstallShield. My humble opinion is that almost anything else is better. I also like InnoSetup (+1 for fvu) for smaller installs. For supporting group policy installs, though, you'll need something MSI based. So it depends on your needs, but the fact that you're installing a Delphi app doesn't have to affect your decision at all.

I use Inno Setup, a great tool. Includes it's own Delphi like scripting language for custom actions but I've never needed to use that feature.

You could also try InstallAware but I think it's expensive.

I recommend DeployMaster from JGSoft. Very easy to use and it has all the features I ever needed. It's not free, but well worth the money. Check it out.

@fvu, @Despatcher:

As Inno Setup received many votes I would like to mention that it exists Embarcadero RAD Studio expert which integrates Inno Setup directly in this IDE called RAD & Installer: http://rad-installer.com/

I use Tarma Installer 5 from Tarma.com. Inexpensive, Interface-Builder included and multilingual setups possible. For me the perfect solution.

I use 'Setup Factory' from Indigo Rose, which I switched to last year after many years of using Wise InstallMaster 8.

SetupFactory is a bit quirky, but it's certainly powerful and it's nowhere near as expensive as InstallAware and InstallShield etc.

But as Craig and Mick have pointed out, your choice of installer should be development-language independent and really driven by your customers' expectations, the amount of time and effort you are prepared to spend on the install experience, and your financial constraints. :-)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!