-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should {version} component be part of install path? #23
Comments
What scenario's do you see it possibly being a problem during version upgrades? We started including version in the install path and that helped stabilize a whole bunch of issues during upgrades. Typically rogue untracked files being in the old directory preventing a proper cleanup. Our folder structure was
It'd be good to hash out |
I am leaning towards
Newer installer would have to know which version it upgrades to go and look into %ProgramData% to pickup customizations |
Agree with @Mpdreamz - including version number in the install path alleviates issues in the way that installer engine tracks components during upgrades. We did experience an issue with the way that WixSharp assigns Component ids in the past that meant same named files in different directories in the hierarchy were assigned the same Component ID, and thus were seen as the same component during upgrades. This issue was fixed in the Elasticsearch installer. It seems to be common practice to include the version number in the installation path e.g. SQL Server, JetBrains tools. This may be done to allow side-by-side version installs in these examples, so including now would not exclude this as an option in the future too.
I quite like |
For the record I do like version in the path as well. This question was to establish consensus.
I can flip this around, no problem. |
I was wondering what @Mpdreamz @russcam @urso @philkra think about including {version} component in path? I originally envisioned it to help with isolation and possibility of SxS install .. now I think this might pose a problem with version upgrades.
Current install paths:
Binaries: %ProgramFiles%\Elastic\{version}\Beats\{beat name}
Data: %ProgramData%\Elastic\{version}\Beats\{beat name}
Example:
C:\Program Files\Elastic\8.0.0\Beats\winlogbeat
C:\ProgramData\Elastic\8.0.0\Beats\winlogbeat
The text was updated successfully, but these errors were encountered: