Sign in Join

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

Mailing lists / lazarus / 2017-04

How to deploy a Lazarus app for Windows?

11 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

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

Giuliano Colla

Hi all,

I have no experience at all on deploying Lazarus app for Windows, because up to now I have always addressed to Linux platform. The few Windows

Now I need to deploy an application for Windows, which requires not only the executable, but also some auxiliary files. It would be nice to put everything in a subfolder of the Programs folder, and maybe to touch also something in the Window registry.

I have no idea of where to start from, in order to create a setup.exe which will take advantage of the Windows installer.

Can someone point me in the right direction?

Thanks in advance,

Giuliano

Reply by email

Ondrej Pokorny
to Giuliano Colla
Giuliano Colla wrote
I have no idea of where to start from, in order to create a setup.exe which will take advantage of the Windows installer.

Try InnoSetup. AFAIK Lazarus IDE setup is built with it as well.

Ondrej

Reply by email

Leonardo M. Ramé
to Giuliano Colla: I have no experience at all on deploying Lazarus app for Windows, because up to now I…
Giuliano Colla wrote 21 lines
Hi all, I have no experience at all on deploying Lazarus app for Windows, because up to now I have always addressed to Linux platform. The few Windows Now I need to deploy an application for Windows, which requires not only the executable, but also some auxiliary files. It would be nice to put everything in a subfolder of the Programs folder, and maybe to touch also something in the Window registry. I have no idea of where to start from, in order to create a setup.exe which will take advantage of the Windows installer. Can someone point me in the right direction? Thanks in advance, Giuliano

I remember using these:

http://nsis.sourceforge.net/Main_Page
http://www.jrsoftware.org/isinfo.php

Regards,

Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (011) 40871877

Reply by email

Gastón Dall' Oglio
to coppolastudio

Hello all.

I to use InnoSetup with Inno Script Studio
https://www.kymoto.org/products/inno-script-studio/screenshots

Best.

2017-04-28 14:51 GMT-03:00 coppolastudio via Lazarus <

Show quoted text 33 lines
: innosetup has scrips in Pascal that allows some special features Inviato tramite il client di Posta WPS Il Giuliano Colla via Lazarus , 28/apr/2017 06:22 PM ha scritto: Il 28/04/2017 07:11, LacaK via Lazarus ha scritto: > If you need installer in Microsoft Installation Package format (*.msi) > then you can look at WiX toolset: http://wixtoolset.org and WixEdit: > http://wixedit.sourceforge.net/ > -Laco. Thanks again to everybody. I'll investigate what is more suitable for my case. Giuliano -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170428/09455553/attachment.html>

Reply by email

Tony Whyman
to LacaK: If you need installer in Microsoft Installation Package format (*.msi) then you can look…

+1

IMHO, WIX is the best way to create Windows installer packages. It has the great advantage of using XML scripts to define the installation package. This allows you to put them under proper change control and makes it easy to copy and edit the script for each new application rather than start from scratch. The WIX toolset also runs under wine and with a FPC cross-compiler, it is possible to build both a Windows executable and the installer package under Linux. I have some applications that I deploy under both Windows and Linux and all the builds are performed from a single bash script under Linux. You can also use 7-zip to create a self-installer package from the .msi.

LacaK wrote 12 lines
>> I remember using these: >> >> http://nsis.sourceforge.net/Main_Page >> http://www.jrsoftware.org/isinfo.php > > If you need installer in Microsoft Installation Package format (*.msi) then you can look at WiX toolset: http://wixtoolset.org and WixEdit: http://wixedit.sourceforge.net/ -Laco.

Reply by email

Henry Vermaak
to Tony Whyman
Tony Whyman wrote 12 lines
+1 IMHO, WIX is the best way to create Windows installer packages. It has the great advantage of using XML scripts to define the installation package. This allows you to put them under proper change control and makes it easy to copy and edit the script for each new application rather than start from scratch. The WIX toolset also runs under wine and with a FPC cross-compiler, it is possible to build both a Windows executable and the installer package under Linux. I have some applications that I deploy under both Windows and Linux and all the builds are performed from a single bash script under Linux. You can also use 7-zip to create a self-installer package from the .msi.

WiX also makes installing drivers painless. It fits nicely into the Makefile paradigm, so plays well with the rest of our build system, too.

Henry

Reply by email