Commit Graph

82 Commits

Author SHA1 Message Date
Simon Rozman
093c38e432 Merge Active Setup JScript files
Having custom actions as JScript functions results in less clutter.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-24 15:44:59 +01:00
Simon Rozman
881fd62d24 Fix StubPath for products in ACTIVESETUPFAULTYPRODUCTS
The products using Active Setup prior to
18cd389029 upgrade are prone to uninstall
failure because of the missing StubPath value in the registry.

Author the Upgrade table of the package to have those products listed in
a property called `ACTIVESETUPFAULTYPRODUCTS` to inject StubPath in the
registry before RemoveExistingProducts.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-24 13:50:27 +01:00
Simon Rozman
46927de545 Sequence RemoveExistingProducts dynamically at run-time
With ZRCola we renumbered the component GUIDs to group them by platform/
language. However, they are the very same files and calling
RemoveExistingProducts after the upgrade is finished treats those
components as orphaned and removes the just installed files.

Fortunately, if we sequence the RemoveExistingProducts before the
upgrade, it completely removes all components then installs the new
ones. Unfortunately, sequencing RemoveExistingProducts before the
upgrade is sub-optimal on minor upgrades.

This commit extends the InstallExecuteSequence table key to allow the
same custom action appear multiple times and introduces conditioning.

This way the upgrade process can switch between "remove old, install
new" and "install new, remove old" strategy in run-time based on a
condition. The condition is usually a property from the Upgrade table
that is bound to a product upgrade GUID that requires "remove old,
install new" to upgrade properly.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-24 12:59:54 +01:00
Simon Rozman
836708c45b Pull translations from Transifex
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-03 10:44:40 +01:00
Simon Rozman
40fed25c89 Use 64-bit WSH on ARM64
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-10 09:15:49 +01:00
Simon Rozman
18cd389029 Ignore StubPath deletion failures on uninstall
Custom action failure can prevent uninstall to finish and trigger a
rollback.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-03 12:53:11 +01:00
Simon Rozman
024d705cce Bump Active Setup version on install only
Otherwise, "msiexec /fu" keeps triggering on each user logon.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-03 12:50:25 +01:00
Simon Rozman
7e69fd6005 Update Copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-03 12:32:39 +01:00
Simon Rozman
320f7e9ee5 Clean-up localization templates
Localization templates were set to sl_SI by accident, causing Poedit to
fill translations from TM on updates. This disturbs Transifex.
2018-11-23 08:54:53 +01:00
Simon Rozman
dee59f333b Simplify Active Setup custom action names
The "ca" prefix is redundant.
2018-11-22 11:06:58 +01:00
Simon Rozman
521b987137 Merge branch 'master' of https://github.com/Amebis/MSIBuild 2018-11-22 10:29:15 +01:00
Simon Rozman
bd7bf7fec7 Introduce support for Microsoft Active Setup 2018-11-22 10:28:55 +01:00
Simon Rozman
17bf10bb2c Update translations 2018-11-06 15:31:57 +01:00
Simon Rozman
06230f6ebd Switch to independent Transifex project for localization 2018-09-19 12:12:03 +02:00
Simon Rozman
c48b64a64a Extend copyright year 2018-09-07 23:54:14 +02:00
Simon Rozman
aa5314abcd Add support for ARM64 2018-09-07 10:30:45 +02:00
Simon Rozman
1dda7ea237 Import translations from Transifex 2018-07-04 10:00:53 +02:00
Simon Rozman
6cb387cb8f Merge branch 'master' of https://github.com/Amebis/MSIBuild 2018-06-20 11:51:19 +02:00
Simon Rozman
cd0aec9bbb Update translations 2018-06-20 11:51:07 +02:00
Simon Rozman
a467b5b312 Update nl_NL.po (POEditor.com) 2018-01-12 08:00:59 +01:00
Simon Rozman
cc374d5acb Translation update 2017-05-30 12:31:58 +02:00
Simon Rozman
2a48f7e192 Translation update 2017-05-30 12:19:41 +02:00
Simon Rozman
91ccd03ccf Copyright extended to 2017 2017-04-18 13:59:41 +02:00
Simon Rozman
ce10368864 Merge branch 'master' of https://github.com/Amebis/MSIBuild 2017-02-06 07:56:42 +01:00
Simon Rozman
9a48de29dc Translation update 2017-02-06 07:56:17 +01:00
Simon Rozman
496fe15c00 Translation update 2017-02-02 18:15:49 +01:00
Simon Rozman
d057e1067a Translation update 2016-11-18 06:23:28 +01:00
Simon Rozman
977949addd Empty table stubs always included in the output MSI to determine database structure before some 3rd party merge module does it his own way . reducing false ICE errors for misaligned key sizes 2016-11-08 11:15:55 +01:00
Simon Rozman
131e528a94 Localization update 2016-10-17 10:16:33 +02:00
Simon Rozman
ad5bee8e29 Russian translations complete 2016-10-17 09:20:47 +02:00
Simon Rozman
1df7cf10c8 Serbian translation updated 2016-10-10 17:33:03 +02:00
Simon Rozman
99716d6aa1 Translation update 2016-10-10 09:45:08 +02:00
Simon Rozman
e6254a78df Slovenian translation update 2016-10-05 11:31:27 +02:00
Simon Rozman
acd14666d1 Slovenian translation update 2016-10-05 11:23:01 +02:00
Simon Rozman
84f11d90f4 Translation update 2016-10-04 16:06:58 +02:00
Simon Rozman
ae5729dedd Russian translation update 2016-10-04 14:56:34 +02:00
Simon Rozman
d2e4553dd0 Translation update 2016-09-30 14:32:07 +02:00
Simon Rozman
9247483942 Translations updated 2016-09-19 11:51:53 +02:00
Simon Rozman
aea5347649 Translations extracted with MIS.wsf/IDTExtract now 2016-09-19 11:31:59 +02:00
Simon Rozman
2825aea682 Source file English "en_US" instead of generic "En" now 2016-09-19 09:35:10 +02:00
Simon Rozman
4db58d80ea MSIBUILD_LANG_PO merged to LANG 2016-09-16 20:53:50 +02:00
Simon Rozman
2dd92906e3 Empty MsiFileHash to predetermine column types to avoid discrepancy with msifiler.exe later 2016-09-16 14:56:55 +02:00
Simon Rozman
9ec6c3d424 rcxgettext.exe dependency eliminated 2016-09-16 14:44:27 +02:00
Simon Rozman
1ffdd1595f Additional error messages translated 2016-09-14 13:09:57 +02:00
Simon Rozman
d3673d19a1 Copyright extended to GÉANT 2016-09-14 11:23:16 +02:00
Simon Rozman
e49a020808 clean_all.bat clean-up 2016-09-14 11:22:02 +02:00
Simon Rozman
b371396056 Translation update 2016-09-13 22:38:38 +02:00
Simon Rozman
c0014cfa3d ActionText and Error messages aligned with standard Microsoft messages from Platform SDK 2016-09-13 21:18:13 +02:00
Simon Rozman
d80b9f29e7 Revert "Translation update"
This reverts commit 8bebe06005.
2016-09-13 15:31:12 +02:00
Simon Rozman
8bebe06005 Translation update 2016-09-13 15:29:06 +02:00