[wix-users] Having version number in filenames when apply a patch
Christin Meienberg | HBT
Christin.Meienberg at hbt.de
Tue Nov 15 00:13:45 PST 2016
Thank you for your help.
I'll check if burn bundles will be an option for me.
Best regards,
Christin
________________________________
Von: wix-users <wix-users-bounces at lists.wixtoolset.org> im Auftrag von Phill Hogland <phill.hogland at rimage.com>
Gesendet: Montag, 14. November 2016 17:43:02
An: wix-users at lists.wixtoolset.org
Betreff: Re: [wix-users] Having version number in filenames when apply a patch
It would be good to review the MSDN specs for creating a patch:
https://msdn.microsoft.com/en-us/library/aa368060(v=vs.85).aspx
When trying to do something not supported by msi in a patch, a Major Upgrade is your friend, along with using a Burn bundle to chain several smaller msi packages (when upgrading only downloading/applying those packages in the chain which have changed).
https://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of robert_yang at agilent.com <robert_yang at agilent.com>
Sent: Monday, November 14, 2016 9:58:00 AM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Having version number in filenames when apply a patch
"Unfortunately it is also not possible leave the old files. We need to remove them due to a framework we use."
Recently we had to do a patch which among other things adds Windows 10 support to a Windows 7 app. We needed to delete some Start Menu shortcuts and use new ones (Windows 10 flattens folder hierarchies in the Start Menu). It turns out that if a shortcut's file attribute is set to Hidden then it doesn't show up in the Win 10 start menu. So our patch contains a custom action which simply does this (it is scheduled for PATCH or REINSTALL). When the patch is uninstalled, the old shortcuts are repaired anyway, file attributes and all. It's kind of nasty, but it works.
It might be possible to rename / delete files using such an approach, but I recall having tried that and discarded the idea (can't recall why just now), possibly because of scheduling during repair of the patched product. Could be worth a try with a toy project first.
-Rob
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list