Hi, 2017-11-02 17:54 GMT-02:00 Graeme Geldenhuys <[email protected]>: > On 2017-11-02 07:17, Michael Van Canneyt wrote: >> >> The installer is made with inno setup. There are several inno extract >> tools >> available, e.g.: >> http://constexpr.org/innoextract/ > > > Thank you Michael, that worked perfectly. Strange that the inno setup > executable (the FPC installer) doesn't have a parameter to do that itself. I > have seen installers in the past that allows for that, but I don't know what > program they used to generate that installer.
Microsoft Installer (oops, now Windows Installer) implement this "natively", and I assume most MSI-based generators/packagers support it. AFAICS it would require quite a few enhancements (and modifications to the user scripts) to abstract away per-machine vs per-user declarations in InnoSetup. FWIW since InnoSetup is scriptable it seems one can implement this manually using a few hacks: https://stackoverflow.com/questions/21556853/make-inno-setup-installer-request-privileges-elevation-only-when-needed Best regards, Flávio _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
