[wix-users] Payload equivalent for MSI

Griesshammer, Christoph (GE Healthcare) christoph.griesshammer at ge.com
Thu Jan 19 11:08:04 PST 2017


Thank you for all your feedback! It's helped so much; I've gotten it working using the binary table.

I'm not sure I'm quite understanding the benefit of having a custom table over a binary table, though.
Are you saying that I can basically just create by own table/database with a schema that will just be easy to read in and parse through during my custom action?

If so, I wouldn't at this point just because build changes can be a bit of a nuisance for us, and hopefully this issue will get fixed outside of the installer next release anyways.

Christoph

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Blair Murri
Sent: Thursday, January 19, 2017 11:53 AM
To: wix-users at lists.wixtoolset.org
Subject: EXT: Re: [wix-users] Payload equivalent for MSI

Immediate actions can easily access the Binary table, but for your situation I would also suggest you parse that information into custom tables of your own at build time, where your immediately custom actions can then incorporate the table data and the on-disk data and make actionable determinations that way (reliable, serviceable installations tend to be slightly easier that way).

Your immediate actions then simply direct deferred actions to perform whatever modifications are required. That separation makes the entire system much easier to unit test as well.

Blair Murri

Sent from my Windows 10 phone

From: Griesshammer, Christoph (GE Healthcare)<mailto:christoph.griesshammer at ge.com>
Sent: Wednesday, January 18, 2017 11:54 AM
To: Blair Murri<mailto:osito at live.com>; wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
Subject: RE: [wix-users] Payload equivalent for MSI

We have two teams working together, one on installation and one on serviceability. The serviceability team is using config files and wants to keep properties in the config file set on upgrade. But they are also adding and removing properties from the config file on upgrades, so we (the install team) are essentially doing a merge of the configuration files in the package during upgrade.

I know this is the exact reason why you DON'T want to handle configuration files during upgrade that can be updated by the user, but we're in this boat already, at least for a release, so there's no need to tell me that this is the wrong way to handle user configuration and that the application should be handling it.

The reason I need to include a "payload" file is because we need to give the other team a simple way to indicate some information for the merge. The big problem is some properties should always take the user's value from the previous version and some properties should take the new default value delivered by the config file during an upgrade.

Christoph

From: Blair Murri [mailto:osito at live.com]
Sent: Wednesday, January 18, 2017 1:56 PM
To: Griesshammer, Christoph (GE Healthcare) <christoph.griesshammer at ge.com>; wix-users at lists.wixtoolset.org
Subject: EXT: RE: [wix-users] Payload equivalent for MSI


The short answer would be the Binary table, but it really depends on how and when you're using it, how big it is, and how much effort you're willing to expend on maintaining the security of your package.



Can you describe your use case(s) more?



Sent from my Windows 10 phone



From: Griesshammer, Christoph (GE Healthcare)<mailto:christoph.griesshammer at ge.com>
Sent: Wednesday, January 18, 2017 10:50 AM
To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
Subject: [wix-users] Payload equivalent for MSI


Hey folks,

I've been trying to search for the answer but haven't been able to get the right language.

What's the payload equivalent in an MSI? I want my installer to deliver a file used during installation, but it should be cleaned up before the installer is complete.

Thank you,

Christoph Griesshammer


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DQICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=-l6_npd-dx-ekbVSbypvaw-IcErQ11UE3f78jQgrCDw&m=oBzZzA_G-nI0ta1vfcnfpHeEYhKRRzd18nJz7_nlrCE&s=YKECGTGFg0Fhmk33Y9DtWF1hsTPSlwP3ob5edE6zcgM&e= <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DQMFAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=-l6_npd-dx-ekbVSbypvaw-IcErQ11UE3f78jQgrCDw&m=RZOcnSFQuH97Bl-cHcjWe1tX7fT_jth9g08AP1q0KCY&s=et0_CjehZsKzddxNOVnsJLoiXFCs1QBoWciftdJ4CCU&e=>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DQICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=-l6_npd-dx-ekbVSbypvaw-IcErQ11UE3f78jQgrCDw&m=oBzZzA_G-nI0ta1vfcnfpHeEYhKRRzd18nJz7_nlrCE&s=YKECGTGFg0Fhmk33Y9DtWF1hsTPSlwP3ob5edE6zcgM&e= 


More information about the wix-users mailing list