Ticket #161 (closed defect: wontfix)

Opened 2 years ago

Last modified 10 months ago

Custom setup SDK - Code generation tools

Reported by: michelpons Owned by: jasper
Priority: trivial Milestone: Maintenance of Phase II
Component: COBIA SDK MSI Version: 1.2.0.11
Keywords: Cc:

Description

COBIA code generation tools for Windows x86 platform are mentioned as optional in the dialog of the COBIA SDK MSI, when running a custom installation.
Since their installation is optional, it is a bit weird to state that "This feature frees up 955KB on your hard drive". Like for the other optional features (e.g., COBIA Class Reference, COBIA IDL), why not simply states "This feature requires 955KB on your hard drive"?

Change History

comment:1 Changed 2 years ago by jasper

This is the default way apparently that the WIX dialog deals with components that are by default switched on. I agree with you that it would be nicer to display it in a different manner but is it worth overloading the default WIX dialogs?

comment:2 Changed 2 years ago by michelpons

When entering the custom configuration, why then the code generation tools feature, which is declared as optional, is included by default in the configuration? If a feature is mandatory, it is understandable that it is not subject to a choice. When a feature is optional, better to default it as not enabled. The text describing the feature and its use seems sufficient to get attention.

comment:3 Changed 2 years ago by jasper

It seems that code generation is a tool that should be enabled by default. In fact, all components are enabled by default.

comment:4 Changed 2 years ago by michelpons

In Product.wxs within folder COBIA-DevInstaller?, there is the following code defining the feature "COBIA_DevToolsX86":

<Feature Id="COBIA_DevToolsX86" Title="Code generation tools (x86)" Description="COBIA code generation tools for Windows x86 platform, optional. Used by x86 tools, e.g. in Visual Studio prior to Visual Studio 2022." Level="1" AllowAdvertise?='no' InstallDefault?='local' Absent='allow'>

so code generation tools for x86 platforms are optional to install. What makes this feature from the next one which is COBIA Class Reference:

<Feature Id="COBIA_Reference" Title="COBIA Class Reference" Description="COBIA class documentation, in HTML form, optional." Level="1" AllowAdvertise?='no' InstallDefault?='local' Absent='allow'>

so that Wix is behaving differently? For feature "COBIA_DevToolsX86", this feature frees space while for feature "COBIA_Reference", this feature requires space on the hard drive. Both are by default installed I believe.

comment:5 Changed 2 years ago by jasper

I do not know. I suggest we close this item.

comment:6 Changed 10 months ago by kyle

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.