[Mingw-users] Offline installer GCC Compiler Suite

Back to archive index
Keith Marshall keith****@users*****
Mon Feb 17 07:53:03 JST 2020


On 16/02/2020 15:21, Anton Shepelev wrote, quoting me:
>> That said, we do not have the manpower resources to
>> maintain an offline installer, but it should be possible
>> for any user, with a live internet connection to create
>> their own.  The idea, which I have used in the past, is to
>> create the initial installation on removable (or network
>> shared) media, then clone that (offline) wherever you
>> wish.
> 
> Does that mean that MinGW is fully portable and does not
> depend on anything outside the MinGW directory?

Yes ... unless you create your own external dependencies.

>> You may subsequently remount the removable/shared media
>> installation in the online environment, update/upgrade it,
>> and distribute the updates to offline clones, as required.
> 
> How to distribute updates without overwriting the users'
> data?  By careful picking of the required files, as listed
> on the "Files" tab of the GUI installer?

If you keep the master clean, then it shouldn't include any user-data
files which might be overwritten; (an exception may be the features.h
file, if you allow users to customize that).  Safer, however, would be
to clone everything, on first time installation, but when upgrading
clone only the content of $MINGW_ROOT/var/cache/mingw-get/packages, and
of $MINGW_ROOT/var/lib/mingw-get/data, *excluding* profile.xml, and
*all* sysroot-*.xml and manifest-*.xml files, then run mingw-get in
place, on the cloned offline installation, to perform the upgrade;
(there is no need to run 'mingw-get update' on the clone -- it would
fail anyway, since it is offline; you should have done this in the
online master installation, and its effect is captured in the set of
files, which you've cloned from $MINGW_ROOT/var).

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200216/f44c6b77/attachment.sig>


More information about the MinGW-Users mailing list
Back to archive index