Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-07

Installer recommendations

13 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David M. Lawrence

Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield. Can ya'll recommend any decent -- preferably free -- replacements? If you like the Windows installer system, can anyone point me to a decent tutorial explaining how to use it?

Thanks,

Dave

------------------------------------------------------ David M. Lawrence | Home: (804) 559-9786 7471 Brook Way Court | Fax: (804) 559-9787 Mechanicsville, VA 23111 | Email: USA | http: http://fuzzo.com ------------------------------------------------------ "All drains lead to the ocean." -- Gill, Finding Nemo "We have met the enemy and he is us." -- Pogo "No trespassing 4/17 of a haiku" -- Richard Brautigan

Reply by email

Frank Church
to David M. Lawrence
David M. Lawrence wrote 10 lines
Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield. Can ya'll recommend any decent -- preferably free -- replacements? If you like the Windows installer system, can anyone point me to a decent tutorial explaining how to use it? Thanks, Dave

I use Inno Setup <http://www.jrsoftware.org/isinfo.php> it is Pascal based. I can't compare it to others because it is the only one I have used in earnest.

Show quoted text 22 lines
-- ------------------------------**------------------------ David M. Lawrence | Home: (804) 559-9786 7471 Brook Way Court | Fax: (804) 559-9787 Mechanicsville, VA 23111 | Email: USA | http: http://fuzzo.com ------------------------------**------------------------ "All drains lead to the ocean." -- Gill, Finding Nemo "We have met the enemy and he is us." -- Pogo "No trespassing 4/17 of a haiku" -- Richard Brautigan -- ______________________________**_________________ Lazarus mailing list .**freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110731/ba3a4937/attachment.html>

Reply by email

Graeme Geldenhuys
to David M. Lawrence: Back in the ancient days when I got Delphi, it was bundled with a version of…
David M. Lawrence wrote
InstallShield. ?Can ya'll recommend any decent -- preferably free -- replacements?

http://www.installjammer.com/

https://sourceforge.net/projects/mseinstaller/

Never used any of them, but they are open source and free. The latter one is implemented in Object Pascal as well.

I have also create a cross-platform installer for our company, but I haven't received the okay yet to release it as open source.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Henry Vermaak
to David M. Lawrence: Back in the ancient days when I got Delphi, it was bundled with a version of…
David M. Lawrence wrote
Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield. ?Can ya'll recommend any decent -- preferably free -- replacements? ?If you like the Windows installer system, can anyone point me to a decent tutorial explaining how to use it?

I can strongly recommend the Windows Installer XML (WiX) toolset:

http://wix.sourceforge.net/

It's an interface to the Windows Installer where you define all the specifics of your project in an XML file. It the compiles and links into an msi file. Documentation and tutorials are good. I've switched some of our products over to it and we haven't looked back. It even does automatic driver installs.

Henry

Reply by email

Graeme Geldenhuys
to Henry Vermaak
Henry Vermaak wrote
It's an interface to the Windows Installer where you define all the specifics of your project in an XML file. ?It the compiles and links into an msi file.

I can't comment on WiX (never knew about it), but I can say our company had terrible experiences with Windows Installer (msi files). Apps kept restoring, it's a bitch to actually uninstall an app, upgrading apps where a nightmare too. So much so, what we reverted back to an old version of InstallShield Developer. So I guess your mileage my vary. :-/

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Hans-Peter Diettrich
to Graeme Geldenhuys
Show quoted text 7 lines
On 31 July 2011 22:39, Henry Vermaak wrote: > It's an interface to the Windows Installer where you define all the > specifics of your project in an XML file. It the compiles and links > into an msi file. I can't comment on WiX (never knew about it), but I can say our company had terrible experiences with Windows Installer (msi files).

I can second that bad experience. Recently I was short on disk space, and wanted to uninstall several applications. Unfortunately the MSI rejected the uninstalls - due to lack of disk space :-(

DoDi

Reply by email

Graeme Geldenhuys
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote
I can second that bad experience. Recently I was short on disk space, and wanted to uninstall several applications. Unfortunately the MSI rejected the uninstalls - due to lack of disk space :-(

We have had that too. Makes you wonder what the Microsoft guys are smoking? :-)

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Mark Morgan Lloyd
to Henry Vermaak: I can strongly recommend the Windows Installer XML (WiX) toolset:…
Henry Vermaak wrote 15 lines
On 31 July 2011 17:18, David M. Lawrence wrote: > Back in the ancient days when I got Delphi, it was bundled with a version of > InstallShield. Can ya'll recommend any decent -- preferably free -- > replacements? If you like the Windows installer system, can anyone point me > to a decent tutorial explaining how to use it? I can strongly recommend the Windows Installer XML (WiX) toolset: http://wix.sourceforge.net/ It's an interface to the Windows Installer where you define all the specifics of your project in an XML file. It the compiles and links into an msi file. Documentation and tutorials are good. I've switched some of our products over to it and we haven't looked back. It even does automatic driver installs.

I wonder if I could phrase the OP's question in a slightly different way.

Allowing that Linux and other unix-style OSes have package formats of various kinds, and allowing that an MSI file is just another implementation of the same sort of thing, is there a "meta installer" that can at the very least be used to build dependency lists etc.?

Debian and derivatives have a utility called alien that can be used to convert between package formats, but it seems to me to be unfortunate if a programmer has to go through a sequence of stages to build a package for Debian, another for Ubuntu which might have different locations or symlinks for e.g. database libraries, another for Fedora and then finally something similar for Windows.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Lukasz Sokol
to Graeme Geldenhuys: We have had that too. Makes you wonder what the Microsoft guys are smoking? :-) - Graeme -
Graeme Geldenhuys wrote 14 lines
On 08/01/2011 02:55 AM, Hans-Peter Diettrich wrote: > > I can second that bad experience. Recently I was short on disk space, > and wanted to uninstall several applications. Unfortunately the MSI > rejected the uninstalls - due to lack of disk space :-( We have had that too. Makes you wonder what the Microsoft guys are smoking? :-) Regards, - Graeme -

Another Ballmer Peak ;) ?
http://xkcd.com/323/

l. ;)

Reply by email

Henry Vermaak
to Graeme Geldenhuys: I can't comment on WiX (never knew about it), but I can say our company had terrible…
Graeme Geldenhuys wrote 11 lines
On 31 July 2011 22:39, Henry Vermaak wrote: > It's an interface to the Windows Installer where you define all the > specifics of your project in an XML file. ?It the compiles and links > into an msi file. I can't comment on WiX (never knew about it), but I can say our company had terrible experiences with Windows Installer (msi files). Apps kept restoring, it's a bitch to actually uninstall an app, upgrading apps where a nightmare too. So much so, what we reverted back to an old version of InstallShield Developer. ?So I guess your mileage my vary. :-/

Probably a badly constructed msi file. Who made it? I've never had bad installers with wix generated msi (and I've made hundreds). It compiles the xml first, so it can give warnings/errors.

Henry

Reply by email

Henry Vermaak
to Mark Morgan Lloyd: I wonder if I could phrase the OP's question in a slightly different way. Allowing that…
Mark Morgan Lloyd wrote 7 lines
I wonder if I could phrase the OP's question in a slightly different way. Allowing that Linux and other unix-style OSes have package formats of various kinds, and allowing that an MSI file is just another implementation of the same sort of thing, is there a "meta installer" that can at the very least be used to build dependency lists etc.?

I guess so, but as you say, it probably would only be a skeleton. Which I think is fine. Things like driver installs are totally different, even between linux distros. There are installers that bypass the os specific installing mechanisms (e.g. just copy files). I think this is a supremely bad idea. The various package managers have saved me lots of hassle over the years.

Show quoted text 6 lines
Debian and derivatives have a utility called ?alien ?that can be used to convert between package formats, but it seems to me to be unfortunate if a programmer has to go through a sequence of stages to build a package for Debian, another for Ubuntu which might have different locations or symlinks for e.g. database libraries, another for Fedora and then finally something similar for Windows.

I agree, it's a massive pain. Perhaps someone will come up with some clever specification that everyone will adhere to. Most likely not.

Henry

Reply by email

Mark Morgan Lloyd
to Henry Vermaak
Henry Vermaak wrote 15 lines
On 1 August 2011 10:24, Mark Morgan Lloyd wrote: > I wonder if I could phrase the OP's question in a slightly different way. > > Allowing that Linux and other unix-style OSes have package formats of > various kinds, and allowing that an MSI file is just another implementation > of the same sort of thing, is there a "meta installer" that can at the very > least be used to build dependency lists etc.? I guess so, but as you say, it probably would only be a skeleton. Which I think is fine. Things like driver installs are totally different, even between linux distros. There are installers that bypass the os specific installing mechanisms (e.g. just copy files). I think this is a supremely bad idea. The various package managers have saved me lots of hassle over the years.

The thing that seems really painful to me is that a program which (say) uses database facilities would have to have a way of asking the target OS's package system for the name of the package that contained the appropriate libraries. This probably implies talking to a repository server, and also implies a build-time decision as to what versions of each distro it is to be qualified for.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Hans-Peter Diettrich
to Mark Morgan Lloyd
Show quoted text 6 lines
The thing that seems really painful to me is that a program which (say) uses database facilities would have to have a way of asking the target OS's package system for the name of the package that contained the appropriate libraries. This probably implies talking to a repository server, and also implies a build-time decision as to what versions of each distro it is to be qualified for.

Some years ago, when I had to dig into automake, I got the idea of an platform manager. We already have OS specific parts in the FPC libraries, which could be extended for more services. Then we only have to agree about the API, and find a person for every OS, which keeps the extensions up to date.

DoDi

Reply by email