[fpc-pascal] FPC install on windows with limited rights
James Richters
james at productionautomation.net
Thu Nov 2 11:31:18 CET 2017
I'm curious if it really needs to be installed? I installed it on my desktop computer then just copied the entire FPC directory to my NAS, then went to my laptop where FPC was never installed, mapped a drive to access the FPC copy on the NAS and ran it, and everything seems fine to me. I have even put the entire thing on a USB hard drive and plugged it into customers computers and made source adjustments then recompiled the program and had no problems at all.... I certainly would never have my source code on their hard drive... and I never install anything on their computer.
Maybe this is just something I get away with because my source code and FPC are on the same drive or NAS share and I use relative paths in fp.ini for FU like -Fu..\..\FPC\3.0.4rc1\units\$fpctarget\* and I also usually have a batch file in with my source code that just calls FPC with a relative path like ..\..\FPC\3.0.4rc1\bin\FPC %1 %2 %3 %4 It's just something I always have done since turbo pascal, which I also never installed, just copied the TP directory wherever I wanted to run it.
Anyway.. I run FPC all over the place and never "install" it.
James
-----Original Message-----
From: fpc-pascal [mailto:fpc-pascal-bounces at lists.freepascal.org] On Behalf Of Graeme Geldenhuys
Sent: Thursday, November 02, 2017 2:48 AM
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Subject: [fpc-pascal] FPC install on windows with limited rights
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.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list