Rebuild msi package , Hash changes even no file changes. #8022
-
Hey guys: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I typically have different pipelines for scenarios like this. Build MSI2 and put it on the shelf. (Artifactory for example.) Build complete solution, pull in a pinned version of msi2, build msi1 and build bootstrapper. Update to newer pinned version of MSI2 as needed. As for why the checksum is changing, this is usually because it's creating a new packagecode every time. (v3 Package@Id v4 seems to have taken away that ability.) |
Beta Was this translation helpful? Give feedback.
-
@chrpai's suggestion is a good one, but you can also use an MSBuild bin log file to investigate what is causing the build to be rebuilt when no inputs are changed. Or rather, the log file will show you which inputs changed and you can go down the rabbit hole to fix the build process. |
Beta Was this translation helpful? Give feedback.
-
MSI databases don't have reproducible builds. |
Beta Was this translation helpful? Give feedback.
I typically have different pipelines for scenarios like this. Build MSI2 and put it on the shelf. (Artifactory for example.) Build complete solution, pull in a pinned version of msi2, build msi1 and build bootstrapper. Update to newer pinned version of MSI2 as needed.
As for why the checksum is changing, this is usually because it's creating a new packagecode every time. (v3 Package@Id v4 seems to have taken away that ability.)