Reg windows package error 1619


#1

Hi all, When installing nodejs package in windows 64 bit it shows like this:
msi_open_package: unexpected status 1619: This installation package
could not be opened. Verify that the package exists
and that you can access it, or contact the application vendor to
verify that this is a valid Windows Installer package.

my code is here:attribute/default.rb:
default[‘nodejs’][‘url’] = "http://nodejs.org/dist/v0.10.13/node-v0.10.13-x86.msi"default[‘nodejs’][‘package_name’] = "Nodejs"
recipes/default.rb:
windows_package node[‘nodejs’][‘package_name’] do source node[‘nodejs’][‘url’] action :installend

Thanks,Indu


#2

Indra,
Is “Nodejs” the name of the package as it appears AFTER it is installed,
when looking at the “Programs and Features” window? Its my understanding
that the “package” resource for windows can be very particular about the
"name" you hand to it.

As a test, try installing it manually on a machine, then get the name,
which can be done in Powershell with the following code.

Powershell:
Get-WmiObject win32_product | select name

CODE:
windows_package ‘Microsoft ODBC Driver 11 for SQL Server’ do
source "#{node[‘tunein’][‘fileserver’]}msodbcsql.msi"
options '/quiet /passive /qn /lvx* c:\temp\msodbcsql.log
IACCEPTMSODBCSQLLICENSETERMS=YES’
installer_type :custom
action :install
end

Install the product manually, then run that powershell, get the “name”, put
it in your default[‘nodejs’][‘package_name’] = “REPLACE THIS”

And tell us the results.

On Sun, Jan 18, 2015 at 10:06 PM, Indra k indra.k@cloudenablers.com wrote:

Hi all,

When installing nodejs package in windows 64 bit it shows like this:

msi_open_package: unexpected status 1619: This installation package
could not be opened. Verify that the package exists
and that you can access it, or contact the application vendor to
verify that this is a valid Windows Installer package.

my code is here:
attribute/default.rb:

default[‘nodejs’][‘url’] = "
http://nodejs.org/dist/v0.10.13/node-v0.10.13-x86.msi"
default[‘nodejs’][‘package_name’] = “Nodejs”

recipes/default.rb:

windows_package node[‘nodejs’][‘package_name’] do
source node[‘nodejs’][‘url’]
action :install
end

Thanks,
Indu

Kenneth Barry
TuneIn | Build and Release Engineer
M: 409-673-0544
www.tunein.com