Issue #13104 has been updated by Josh Cooper.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/851

As part of the MSI package provider changes, puppet can either manage package 
resources based on their version-specific name, e.g. `adminws-1.0.49` or the 
`PackageCode`. So I believe this issue will be resolved as part of #11868. So 
for example, the following should be possible:

<pre>
package { '{3D5982D6-E6DA-4351-95B3-C7686FA30C4A}':
  ensure => installed,
  source => '...'
}
</pre>

----------------------------------------
Feature #13104: Detect if newer version of MSI is available for upgrade
https://projects.puppetlabs.com/issues/13104#change-64808

Author: Collaboration TR
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: 2.7.x
Affected Puppet version: 2.7.6
Keywords: windows package msi
Branch: https://github.com/puppetlabs/puppet/pull/851


1. Create 2 MSI packages with different version.
2. Install the first package on target system via puppet.
3. Install the second package on target system via puppet without uninstalling 
the first package first
Note : We modified the MSI package to automatically uninstall the old version 
and install the new one on top of the old one right away if the new one has 
higher version number. This is tested manually and it works.
 
**Expected result**
- Newer package with higher version number is installed successfully on target 
system via puppet. 

**Result**
- First package is installed successfully on the target system via puppet.
- Second(newer) package is NOT installed on the target system via puppet.
- Changing init.pp script to use the following line for second package caused 
error
 *  ensure = >'[version number]' or
   ensure => latest*
some error msg was thrown stating that the provider does not support 
"versionable"



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to