Also, what are the results from this PowerShell command:Identifying Packages
The
title
or name of the package must match the value of theDisplayName
property in the registry, which is also the value displayed in Add/Remove Programs. Alternately, when a package name is not unique across versions (e.g. VMWare Tools, or where there are 32- and 64-bit versions with the same name), we provide the ability to specify the package’s PackageCode as the package name. This is a GUID that’s unique across all MSI builds. For instance:
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Tried renaming the title of the resource to what the name attribute was set to; no go.
After doing a 'puppet resource package' on the agent, I see a list of packages but the package listed here is not shown ... I confirmed that it is still showing 'ensure: created' in the event logs every puppet run.
Thanks
On Friday, June 7, 2013 10:54:36 AM UTC-4, Reginald Choudari wrote:Hello,
I've got Package resource on my Windows machine that keeps creating itself even though the package has been properly installed.
I've got the name attribute set to the DisplayName found in the Registry for the package.
Every time the agent polls, I see in the Event Logs:/Stage[main]/Mssql_rtwo_sptwo/Package[mssql2008r2sp2_exec]/ensure: created
This is what's in my manifest:
package { 'mssql2008r2sp2_exec':
ensure => installed,
name => 'SQL Server 2008 R2 SP2 Common Files',
provider => windows,
source => "C:\\puppet_temp\\${mssql_filename}",
install_options => ['/quiet', '/IAcceptSQLServerLicenseTerms', '/allinstances'],
require => Exec['run_mssql2008r2sp2_artifact_extract_ps1'],
}
I'm thinking there has got to be some weird bug/error with this ... Can anyone help?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/ftvvO51bX1U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
Unfortunately, Windows does not have an API for retrieving installed packages.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
I know its quite late to respond on this (I have issued similar issue in another group and got a good answer pointing among other links to this thread)
having said that, are you sure there isn't a MS API for 'registered' MSI installations?
I used this script from MS online documentation: http://msdn.microsoft.com/en-us/library/aa369767%28v=vs.85%29.aspx
it sort of claim they have a simple API to exract info on all registered MSIs with windows installer.
I used the script and indeed it has shown All installed MSIs, without 'discriminating' our 'hidden' MSIs :)
that's how I realized there must be some dependency of Puppet windows package provider on the add/remove programs...
So, have I missed something? is the claim that MS API doesn't exist still in tact? (and I'm btw a *nix person, who unfortunately has to deal sometimes with MS stuff...)
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/47ef8577-234f-414a-a7e1-0acc6f4df89a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.