Running in debug mode -debug and login to your hypervisor to see the sql logs. You might be missing a dependency or net framework and and specific win update.
On Thu, Oct 11, 2018 at 22:44 Henrry Salinas <[email protected]> wrote: > I am using Packer to provision a VM (win7) with installed packages using > chocolatey > > > One of these packages is mssqlserver2014express, see below: > > > "provisioners":{ > > { > "type":"powershell", > "script":"./scripts/installChocolatey.ps1" > }, > { > "type":"powershell", > "inline":[ > "choco install mssqlserver2014express -y" > ] > } > } > > The result of the execution stops with an error7 > > > Exit code was '-2068774911' Error Message: > > > The install of mssqlserver2014express was NOT successful. > > > The package is being installed via a Remote PS WinRM script. > > > Does anyone that had the same error was able to solve it? > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/ee7886f8-5245-4552-9c91-e5d6010f325a%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/ee7886f8-5245-4552-9c91-e5d6010f325a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Luis Mayorga Software & Devops Engineer C. +1-703-407-4074 E. lmayorga@lm3 <http://lm-3.com/>corp.com T. @louismayorga -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAMG1_%2By_L8eRJo9Fjyx0cCDZ4A2-5WX5Qr%3D-VzrZwDt2qW901A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
