-
Notifications
You must be signed in to change notification settings - Fork 70
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
🤖 Add bindiff.vm #970
🤖 Add bindiff.vm #970
Conversation
ba6e58f
to
38c392d
Compare
This PR also includes a few changes and additions to There were a few things missing from
I added an automatic icon finder for MSI files (
I wasn't able to add the automatic icon finder functionality to
|
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.
I have tried to install this package locally (after a reboot) and I get the following error:
Chocolatey v2.2.2
Attempting to build package from 'bindiff.vm.nuspec'.
Successfully created package 'C:\Users\flare\Desktop\built_pkgs\bindiff.vm.8.0.0.20240401.nupkg'
Upgrading the following packages:
bindiff.vm
By upgrading, you accept licenses for the packages.
bindiff.vm v8.0.0.20240401 (forced)
bindiff.vm package files upgrade completed. Performing other installation steps.
Downloading bindiff.vm
from 'https://github.com/google/bindiff/releases/download/v8/bindiff8.msi'
Download of bindiff8.msi (68.89 MB) completed.
Hashes match.
C:\Tools\BinDiff\bindiff8.msi
Installing bindiff.vm...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\bindiff.vm_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
2024/04/02 14:09:07 [bindiff.vm] vm.common.psm1 [+] ERROR : Running ["C:\Windows\System32\msiexec.exe" /i "C:\Tools\BinDiff\bindiff8.msi" /qn /norestart ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\bindiff.vm_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:379 char:9
+ throw "Running [`"$exeToRun`" $wrappedStatements] was not suc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Tools\BinDiff\bindiff8.msi" /qn /norestart ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\bindiff.vm_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The upgrade of bindiff.vm was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\bindiff.vm\tools\chocolateyinstall.ps1'.
See log for details.
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- bindiff.vm (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\bindiff.vm\tools\chocolateyinstall.ps1'.
See log for details.
Interesting...I did not run into that issue at all. I will look into it, but I'm not sure how effective my testing will be if I can't hit that case. |
I was able to reproduce the error. It seems that a reboot had installed the MS Redistributable packages and uninstalling them and attempting to install BinDiff produced this error. I will add that as a requirement. :) |
Closes #969.
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.
It install now correctly for me, thanks @emtuls!
@emtuls you have added several new packages recently. Do you think we should add them to the default configuration please send a PR in flare-vm 😉 |
Automated PR from #969 🚀