chef / chef-workstation

Chef Workstation gives you everything you need to get started with Chef, so you can automate how you audit, configure, and manage applications end environments.
Apache License 2.0
134 stars 112 forks source link

light.exe warnings and errors in windows build #1074

Open marcparadise opened 4 years ago

marcparadise commented 4 years ago

These are new. They are not preventing successful packaging/completion of the Windows build, but it's not clear what effect they do have on the package itself.

Let's look into these and address them.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(101) : error LGHT0204 : ICE18: KeyPath for Component: 'ChefWSPath' is Directory: 'PROJECTLOCATIONBIN'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(118) : error LGHT0204 : ICE18: KeyPath for Component: 'ChefPSModulePath' is Directory: 'PSMODULES'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(158) : error LGHT0204 : ICE18: KeyPath for Component: 'ChefWSEnvHacks' is Directory: 'EMBEDDEDBIN'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(170) : error LGHT0204 : ICE18: KeyPath for Component: 'PowershellStartMenuShortcut' is Directory: 'ChefWorkstationFolder'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(179) : error LGHT0204 : ICE18: KeyPath for Component: 'ChefWSAppStartMenuShortcut' is Directory: 'ChefWorkstationFolder'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(191) : error LGHT0204 : ICE18: KeyPath for Component: 'ChefWSAppAutostartShortcut' is Directory: 'WIX_DIR_COMMON_ALTSTARTUP'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:16+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(201) : error LGHT0204 : ICE18: KeyPath for Component: 'PowershellDesktopShortcut' is Directory: 'DesktopFolder'. The Directory/Component pair must be listed in the CreateFolders table.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(258) : warning LGHT1076 : ICE36: Icon Bloat. Icon cws32.ico is not used in the Class, Shortcut, or ProgID table and also not used for ARPPRODUCTICON property.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(170) : error LGHT0204 : ICE38: Component PowershellStartMenuShortcut installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(179) : error LGHT0204 : ICE38: Component ChefWSAppStartMenuShortcut installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(201) : error LGHT0204 : ICE38: Component PowershellDesktopShortcut installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(170) : error LGHT0204 : ICE43: Component PowershellStartMenuShortcut has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(179) : error LGHT0204 : ICE43: Component ChefWSAppStartMenuShortcut has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(201) : error LGHT0204 : ICE43: Component PowershellDesktopShortcut has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(169) : error LGHT0204 : ICE64: The directory ChefWorkstationFolder is in the user profile but is not listed in the RemoveFile table.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(171) : warning LGHT1076 : ICE69: Mismatched component reference. Entry 'PowershellStartMenuShortcutDef' of the Shortcut table belongs to component 'PowershellStartMenuShortcut'. However, the formatted string in column 'Arguments' references file 'StartChefWSScript' which belongs to component 'StartChefWSPowershellScript'. Components are in the same feature.

                          I | 2020-04-06T23:25:17+00:00 | C:\Users\buildkite-agent\AppData\Local\Temp\chef-workstation20200406-2988-174vn2t\source.wxs(202) : warning LGHT1076 : ICE69: Mismatched component reference. Entry 'PowershellDesktopShortcutDef' of the Shortcut table belongs to component 'PowershellDesktopShortcut'. However, the formatted string in column 'Arguments' references file 'StartChefWSScript' which belongs to component 'StartChefWSPowershellScript'. Components are in the same feature.

Aha! Link: https://chef.aha.io/features/SH-1306

marcparadise commented 4 years ago

Whoever picks this up (if it's not me), please ping me - I can dig up what I did that made iterating with windows build xml quick, instead of waiting for a full build.