On 12-Aug-11 08:41, Maillet, Ed wrote: > The v1 installer puts the cert in the machine store. > The cert needs to be updated since it going to expire. > The v2 installer is a Major Upgrade and needs to install the updated cert > (same cert name but with new expiration date) > > How does that work with component rules? > Should the component ID change between the two installers? No. When major upgrades happen after InstallFinalize, the new product is installed "on top of" the old product, which increments component reference counts, then the old product is uninstalled, which decrements component reference counts. If the key path of a component doesn't need to be updated, MSI won't do anything with it. Since MSI only knows about key paths it supports, it's probably going to decide that your cert component doesn't need upgrading. The easiest fix is to include your cert in a component with a versioned file as its key path. You might also want to check on whether a newer version of MSI fixes this bug; I seem to recall 4.5 solving this problem.
-- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users