Commit Graph
21 Commits
Author SHA1 Message Date
Mike Kaganski b84244378d Install UCRT from MSUs, not using nested VC Redist install
Using nested install is bad because (1) MS advises against it (though it
most possibly doesn't relate to our specific case, when we install the
vc redist exe package in UI part, so actually only a single MSI session
is active at any time); (2) because it adds some extra interactions
(user sees something "unrelated" being installed, which raises concerns;
additional admin authentication required); and (3) because it runs in
InstallUISequence, thus only installing the UCRT when doing interactive
installation (unattended installs, including GPO, need to install UCRT
separately).

This patch aims to incorporate the original UCRT MSU (Windows Update)
packages (https://support.microsoft.com/en-us/help/2999226) available as
a zip archive from
https://www.microsoft.com/en-us/download/details.aspx?id=48234
- the same as used in VC redists for VS 2015 and 2017. This obsoletes
the separate installation of the redist; since we also have the redist
as merge module in our MSI, that is enough (and removes redundancy).
The MSUs are installed using wusa.exe in a custom action (deferred,
non-impersonating).

As a small bonus, embedding MSUs instead of redist EXE allows us to
shrink the size of installer a little (~10 MB).

As deferred custom actions cannot access current installer database,
we workaround this by using initial immediate impersonating action to
extract the binaries into a temporary location. To ensure that the file
gets removed upon completion (both successful and failed), we use an
additional cleanup action.

Commit 61b1d63133 is effectively reverted.

Change-Id: I1529356fdcc67ff24b232c01ddf8bb3a31bb00bd
Reviewed-on: https://gerrit.libreoffice.org/52923
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-25 06:57:23 +02:00
michael.weghorn 82a213880f Remove now unused libgetuid.so
Some scripts in which it was used have been removed
(commit e1082e4536) and
the more reliable 'fakeroot' is now in use at all
other places where libgetuid.so was previously used
(s. tdf#115554).

Change-Id: I638e96e5c8d671e3b145b79f33de718fe34ea514
Reviewed-on: https://gerrit.libreoffice.org/49837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-19 16:17:02 +01:00
Tor Lillqvist e597ef0489 No need for --disable-activex and --disable-atl any longer
Change-Id: I7ac4f32cb01bfcc3a2c06e69280c2150d408ec6b
Reviewed-on: https://gerrit.libreoffice.org/35174
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2017-03-14 21:41:26 +00:00
Stephan Bergmann 8646ab97dc Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW.  Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux.  That attempt can be considered abandoned, and
the relevant code rotting.

Due to this heritage, there are now three kinds of MinGW-specific code in LO:

* Code from the original OOo native Windows effort that is no longer relevant
  for the LO cross-compilation effort, but has never been removed properly.

* Code from the original OOo native Windows effort that is re-purposed for the
  LO cross-compilation effort.

* Code that has been added specifially for the LO cross-compilation effort.

All three kinds of code are removed.

(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)

Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 18:01:27 +00:00
Matúš Kukan 67398a8d97 tdf#90753: AutoInstall setup_native packages
Change-Id: Iecf059b974b996fceb57b04197c7dac9b7c8dd47
2016-12-02 20:14:39 +01:00
Michael Stahl 677670e467 setup_native, scp2: remove "regpatchactivex" MSI custom-action and lib
This was effectively omitted from the installation set since commit
26c142ca5f, and is apparently related to
the obsolete StarOffice patch mechanism.

Change-Id: I9a4c113e19e5b2b751e3da64b4dde53320132a35
2014-08-02 22:23:50 +02:00
Michael Stahl 2b16f68044 setup_native: remove Package_ulf
... instead hard-code macinstall.ulf location in installer.

Change-Id: I4a6b35c093ff3f4a19d84e8803821909a5ae03db
2013-10-31 10:42:23 +01:00
Michael Stahl 2a0a670945 setup_native: remove Package_scripts_generated
... instead add an include path to the installer.

Change-Id: I5650d5d1d84620a04a9a92825733f3927da2053d
2013-10-31 10:42:23 +01:00
Michael Stahl 4066d31903 setup_native: Package_misc to INSTDIR
Change-Id: Ieaceb78438712bf4bde05daf3a7fd0a82ad9baed
2013-10-31 10:42:23 +01:00
Korrawit Pruegsanusak f3464f5e09 no need for Library_regactivex in --disable-activex build
as stated on Repository.mk

Change-Id: Id88c9d1eae27754f10246004ac8d8ae6326ae143
2013-09-17 20:29:13 +02:00
Michael Stahl a7b7f03a21 setup_native: remove Package_spell
Change-Id: I082956036843b6a88e3e1db3d799985599ae2980
2013-05-07 17:07:44 +02:00
Andras Timar a5783fe922 remove stale javafilters
Change-Id: Id0c413d64e6f6fa7ded3c5ff10e764bc2e40f006
2013-03-03 19:19:26 +01:00
Jan Holesovsky 52efa22867 MinGW: Actually, this is usable only with MSVC.
Change-Id: Ida4715033f45f4857c8355b40878f9b05362a222
2013-03-01 10:53:40 +01:00
Jan Holesovsky 7820a13f61 MinGW: Build makecab.exe and friends only when WINEGCC is set.
Change-Id: I37ed3c2ef456c4a258101a9f1ea9568798a6ce80
2013-02-28 18:50:11 +01:00
Andras Timar 5a9b1bcc39 CustomActions are not for MinGW, yet
Change-Id: Id17a596131b42a31fe007e2c4840798a387f3d04
2013-02-16 23:17:36 +01:00
Andras Timar eb6fa6be75 remove thesaurus indexer CustomAction
It was never integrated and used. If we made the effort to integrate it,
Windows installer would be a few megabytes smaller, because indexes of
thesauri would be generated in install time (instead of packaging
pre-generated indexes).

However, the cons are:
* untested
* presumably slows down instal process which is slow already
* adds complexity to installer which is too complex already
* indexes will not be there in case of administrative install (QA)
* bad experiences with CustomActions that manipulate the installed
  application (various, weird permission problems)

Change-Id: I3989b835b1250718bc03107a3807d091e7a9aa0e
2013-02-13 12:12:20 +01:00
David Ostrovsky 8eaac1d731 don't duplicate code for msvc and gcc
Change-Id: I65f33f31fb31ad5b2373bbc08865ca5b358d7ce0
2013-02-12 08:34:39 +01:00
Peter Foley 684951f146 msvc needs instooofiltmsi too
Change-Id: I343bedcfb588bfd3fbfea572e7ce24c77c0b8178
2013-02-11 17:00:20 -05:00
David Ostrovsky ebb263856c Make instsetoo_native build again on mingw
Change-Id: I62d8ae0da7e98d4c2196b4d41e06ffe0b3a046f8
2013-02-11 21:22:22 +01:00
David Ostrovsky 03b9ff533b Module_setup_native: include Package_ulf.mk
Change-Id: I023363a81af4909f3914354b082dfc2f0315e097
2013-02-10 11:51:02 +01:00
Peter Foley 4261757fc6 convert setup_native to gbuild and add to tail_build
Change-Id: Ie12338dada22c59d55d89ed9611bb1a958b04223
Reviewed-on: https://gerrit.libreoffice.org/2063
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-02-09 20:41:19 +00:00