Recent

Author Topic: Building An Installer  (Read 6086 times)

Jishaxe

  • Full Member
  • ***
  • Posts: 103
  • Hobbist Programmer
Building An Installer
« on: July 12, 2010, 12:16:37 pm »
I'm planning on building an installer on Lazarus, but I need some background info on installers that isn't in Google.
  • When I download something official from the internet, it comes with a setup. But it's just one program, (setup.exe), and then magicly it places all these files on my computer.
  • How does it do this? Does it download the files from the Internet, or actually builds the files at runtime?
Thanks in advance.
-Josh
Linux Mint 12
Windows 7 Home Premium
______________________
Definition of programmer: An organism that converts caffeine into software.

stonefull

  • Jr. Member
  • **
  • Posts: 54
Re: Building An Installer
« Reply #1 on: July 12, 2010, 12:39:37 pm »
Inno Setup is a open source installer for Windows.

http://www.jrsoftware.org/isinfo.php

Fred vS

  • Hero Member
  • *****
  • Posts: 3720
    • StrumPract is the musicians best friend
Re: Building An Installer
« Reply #2 on: July 12, 2010, 03:28:56 pm »
Hello
And for Linux, Mac and Windows :
http://www.installjammer.com/
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

OpenLieroXor

  • New Member
  • *
  • Posts: 38
Re: Building An Installer
« Reply #3 on: July 12, 2010, 09:35:28 pm »
I think that he's asking not for a ready-made installer, but for information how to code a installer in his own. Joshuzzz, am I right? So, the executable installer contains all application files in its resources (on Lazarus you can use normal windows resources or dedicated Lazarus Resources, which are cross-platform). When the installer is executed, these files are extracted from the .exe and copied into real directories on hard disk, so the application is able to run. The installer can also do other things (i.e. setting up registry variables) needed by installed application. In addition, good installer should check if it's not damaged (i.e. by calculating and comparing a checksum).

//edit: Of course if you just need to do a setup program for your application, you can use ready-made installer.
« Last Edit: July 12, 2010, 09:37:28 pm by OpenLieroXor »

Jishaxe

  • Full Member
  • ***
  • Posts: 103
  • Hobbist Programmer
Re: Building An Installer
« Reply #4 on: July 12, 2010, 09:43:11 pm »
Quote
I think that he's asking not for a ready-made installer, but for information how to code a installer in his own. Joshuzzz, am I right?
Haha, I was just about to say that, OpenLieroXor.
You are right.
Thank you very much for your help.
Linux Mint 12
Windows 7 Home Premium
______________________
Definition of programmer: An organism that converts caffeine into software.


 

TinyPortal © 2005-2018