[fpc-pascal] FPC install on windows with limited rights
Michael Van Canneyt
michael at freepascal.org
Thu Nov 2 08:17:36 CET 2017
On Thu, 2 Nov 2017, Graeme Geldenhuys wrote:
> Hi,
>
> I have a severely locked down laptop (work one) so I can't install
> anything that creates menu shortcuts, desktop icons or goes into
> "Program Files". So I can't run the official Windows FPC installer. I
> don't actually know what is the requirement in Windows to trigger the
> "admin rights" dialog - but the official FPC installer does trigger it,
> so I can't use it.
>
> Is there a way to unpack the installer so I can manually install FPC in
> my home folder? Or is there some other lesser known official Windows
> installer I could use. eg: the FPC Linux installer doesn't require root
> access. Is there a Windows FPC installer that uses the same installer as
> Linux or FreeBSD? A console installer?
>
> I managed to track down a very old FPC 2.6.0 bundled with Lazarus v1 in
> a "portable application" installer. This worked, but it's very old. I
> guess I would go through the tedious process of compiling each FPC
> release myself starting with the 2.6.0 fpc.exe I have - but if there is
> a faster way, I would obviously prefer that.
The installer is made with inno setup. There are several inno extract tools
available, e.g.:
http://constexpr.org/innoextract/
You can use that to extract the files to any location you want.
A fast USB3 for a portable installation seems like a good idea.
Michael.
More information about the fpc-pascal
mailing list