From c28618eee936a6a104c6d421e1c91f6ac9cc8dae Mon Sep 17 00:00:00 2001 From: aliasgar16 Date: Tue, 29 Nov 2016 16:06:43 +0530 Subject: Embedded and modified WixUI_FeatureTree module in Chef's WIX config as per the requirement for Chef_Service_Options. Signed-off-by: aliasgar16 --- .../resources/chef/msi/localization-en-us.wxl.erb | 6 +- omnibus/resources/chef/msi/source.wxs.erb | 63 +++++++------- omnibus/resources/chef/msi/source_ui.wxs.erb | 95 ++++++++++++++++++++++ 3 files changed, 130 insertions(+), 34 deletions(-) create mode 100644 omnibus/resources/chef/msi/source_ui.wxs.erb (limited to 'omnibus') diff --git a/omnibus/resources/chef/msi/localization-en-us.wxl.erb b/omnibus/resources/chef/msi/localization-en-us.wxl.erb index 00e9e254b2..0c2fde53bc 100644 --- a/omnibus/resources/chef/msi/localization-en-us.wxl.erb +++ b/omnibus/resources/chef/msi/localization-en-us.wxl.erb @@ -16,15 +16,15 @@ {\WixUI_Font_Title_White}Ready to install [ProductName] - - <%= friendly_name %> Schedule Task + + <%= friendly_name %> Scheduled Task Schedule <%= friendly_name %> to run at a pre-defined time intervals. <%= friendly_name %> Service Runs <%= friendly_name %> on regular, configurable intervals. <%= friendly_name %> - <%= friendly_name %> Schedule Task + <%= friendly_name %> Scheduled Task <%= friendly_name %> Service <%= friendly_name %> PowerShell wrappers diff --git a/omnibus/resources/chef/msi/source.wxs.erb b/omnibus/resources/chef/msi/source.wxs.erb index 3d2692903f..f7f645cc74 100644 --- a/omnibus/resources/chef/msi/source.wxs.erb +++ b/omnibus/resources/chef/msi/source.wxs.erb @@ -28,6 +28,8 @@ + + + + + + + - + - - + + + + + @@ -208,27 +227,9 @@ - - - - - - - - - - - + + - - - - - - - - - diff --git a/omnibus/resources/chef/msi/source_ui.wxs.erb b/omnibus/resources/chef/msi/source_ui.wxs.erb new file mode 100644 index 0000000000..7f1d0129f2 --- /dev/null +++ b/omnibus/resources/chef/msi/source_ui.wxs.erb @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + NOT Installed + Installed AND PATCH + + 1 + LicenseAccepted = "1" + + Installed + NOT Installed + + + + + + AND (NOT Installed OR WixUI_InstallMode = "Change") + AND (NOT Installed OR WixUI_InstallMode = "Change") + Installed AND NOT PATCH + Installed AND PATCH + + 1 + + 1 + 1 + 1 + 1 + + + + + + + + + + + + + 1 + + + CHEF_SERVICE_OPTIONS_RADIO_BUTTON_GROUP = "SchTask" + CHEF_SERVICE_OPTIONS_RADIO_BUTTON_GROUP = "Service" + CHEF_SERVICE_OPTIONS_RADIO_BUTTON_GROUP = "None" + 1 + + + 1 + + + + + + + + + + + + + + + + + -- cgit v1.2.1