From 146c7a78e551af2f59c95215833f39be5b6c8a67 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Jun 2016 11:34:41 -0700 Subject: Improved Windows installer (nkalvi, #2708, #2389). * Scope selection in the first screen. Since I couldn't detect if the user is 'real' admin user, default is still per user. * Scope is limited to per machine on servers. Though not perfect (couldn't detect `DisableMSI` policy), it should handle #2389 better. * For per machine, location can be changed by selecting Advanced. Localization: modified templates from WiX toolkit support localization very well. A short sample localization file for en-us is used. * Dialog elements are moved to their own files. --- windows/AdvancedWelcomeEulaDlg_Custom.wxs | 90 +++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 windows/AdvancedWelcomeEulaDlg_Custom.wxs (limited to 'windows/AdvancedWelcomeEulaDlg_Custom.wxs') diff --git a/windows/AdvancedWelcomeEulaDlg_Custom.wxs b/windows/AdvancedWelcomeEulaDlg_Custom.wxs new file mode 100644 index 000000000..61e6d8e00 --- /dev/null +++ b/windows/AdvancedWelcomeEulaDlg_Custom.wxs @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + LicenseAccepted AND (WixUISupportPerUser = 1) + (NOT LicenseAccepted) OR (WixUISupportPerUser = 0) + + + + ALLUSERS + NOT (ALLUSERS = 1) + NOT LicenseAccepted + LicenseAccepted + + + + + + 1 + + + + NOT LicenseAccepted OR NOT (ALLUSERS = 1) + (LicenseAccepted = "1") AND (ALLUSERS = 1) + + + + + + + 1 + + + + + + + + + + NOT Installed + + + \ No newline at end of file -- cgit v1.2.3