Skip to content
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

Print contents of chocolatey.log to end of log of automated validation. #1430

Closed
monty241 opened this issue Oct 23, 2017 · 2 comments
Closed

Comments

@monty241
Copy link

Split off from #1413.

The automated validation when a new package is uploaded raises an MSI 1603 error as shown at the end.

Since the automated validation is done on a server to which I have no access, I can not check the real cause. It might be a reboot pending due to dotnet47 dependency.

When the package is installed from the unlisted location or from a file in a folder as source, it installs without problems.

I've understood that the current recommendation is to ask the moderator to ignore the failed validation. However, that increases processing time considerably (at least two weeks).

Suggested Change

Print the contents of C:\ProgramData\chocolatey\logs\chocolatey.log to the logging of the automatic validation.

Output Log

/norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\invantive-estate-for-outlook-17.10.7-msi-install.log" ] exited with '1603'.
2017-10-11 17:57:56,300 2716 [ERROR] - ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\invantive-estate-for-outlook\17.10.7\Invantive Estate for Outlook-17.10.7.msi" /qn /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\invantive-estate-for-outlook-17.10.7-msi-install.log" ] was not successful. Exit code was '1603'. See log for possible error messages.
 at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 276
at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 271
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 336
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\invantive-estate-for-outlook\tools\chocolateyinstall.ps1: line 19
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 48
at <ScriptBlock>, <No file>: line 1

After that it reports:

Chocolatey installed 4/6 packages. 2 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
@ferventcoder
Copy link
Member

@monty241 I like this - you should file this at https://github.com/chocolatey/package-verifier.

@monty241
Copy link
Author

Thanks, created there as https://github.com/chocolatey/package-verifier/issues/60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants