Issue #13104 has been updated by Josh Cooper.

Status changed from Unreviewed to Rejected

Hi there,

Collaboration TR wrote:
> 1. Create 2 MSI packages with different version.

Do they have different packagecodes?

> 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.

I'm not sure why you modified the msi to automatically uninstall the old 
version. It already does that.

> - Second(newer) package is NOT installed on the target system via puppet.

It sounds like you are using the same packagecode for two different MSIs, which 
will cause Windows Installer to think nothing needs to be done when installing 
the second MSI. Our build system generates a unique packagecode for each MSI so 
that this problem doesn't occur. Also our msi will automatically uninstall the 
old version, stopping the puppet agent service if needed, reinstall the new 
version, and start the service back up.
----------------------------------------
Feature #13104: Detect if newer version of MSI is available for upgrade
https://projects.puppetlabs.com/issues/13104#change-56816

Author: Collaboration TR
Status: Rejected
Priority: Normal
Assignee: 
Category: unknown
Target version: 
Affected Puppet version: 2.7.5
Keywords: 
Branch: 


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