Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Aug 13, 2018

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

@TravisEz13
Copy link
Member

https://github.com/PowerShell/PowerShell/blob/master/assets/files.wxs#L1647 must be updated in various places

fix PSReadLine test
update files.wxs
<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}">
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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.

update path for pkgmgmt and psreadline help tests
@TravisEz13 TravisEz13 merged commit 769b02a into PowerShell:master Aug 14, 2018
@TravisEz13 TravisEz13 mentioned this pull request Aug 14, 2018
11 tasks
TravisEz13 added a commit that referenced this pull request Aug 15, 2018
@SteveL-MSFT SteveL-MSFT deleted the save-module-version branch August 15, 2018 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider removing module version from module path in packages

3 participants