-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Save modules to un-versioned folder to enable servicing #7518
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
Save modules to un-versioned folder to enable servicing #7518
Conversation
|
https://github.com/PowerShell/PowerShell/blob/master/assets/files.wxs#L1647 must be updated in various places |
| <Directory Id="dir9956A485678594F33C936BA160AD06C4" Name="Modules"> | ||
| <Directory Id="dir9C2FC7DD1B408AD4F70123DF50131CBD" Name="PackageManagement"> | ||
| <Directory Id="dirBE29553BD60B3A0392916BB9B7487287" Name="1.1.7.0"> | ||
| <Component Id="cmp06B11EAFDD3914ACF2D8C164DC8690DD" Guid="{9A900A1C-06C8-4BA9-A0D0-C8A0B9A19517}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not blocking, but technically you are supposed to change either the component ID or
GUID if you change the file. Since we shouldn't have to produce a patch, it shouldn't matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, I'd prefer not to have to change all those ids.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, just mentioning for future reference.
I missed this in reviewing #7518
PR Summary
Remove code from build.psm1 that saves the modules to a versioned folder. For servicing reasons after release it is preferred and easier to not have the versioned folder so that we can directly replace modules that need to be serviced (MSI specifically makes it difficult to service a module if the folder path changes).
Fix #7236
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests