[wix-devs] Nugetizing dutil

Heath Stewart Heath.Stewart at microsoft.com
Thu Sep 10 11:06:29 PDT 2015


Dug into this a bit deeper and wonder about a couple things.

1. Seems the lexicon is not meant to access the actual file system, correct?
2. I see the IHarvestResource interface but no current examples. From the usage in FrontendCompiler, would it make sense to have the Folder class implement it and have Harvest() creates the child File items (and folders, if nested), or just do it in Folder.OnResolveBegin?

The code is pretty straight forward, but some of the intent isn't completely obvious (like who is responsible / allowed to actually access the file system). Still groking it, though.

Heath Stewart
Visual Studio, Microsoft
http://blogs.msdn.com/heaths

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Heath Stewart
Sent: Wednesday, September 9, 2015 9:09 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Nugetizing dutil

I was thinking about this on my commute, and what if we supported a "source" attribute on the Folder class. We could include all files and generate them easily. I realize we want to think ahead and come up with a long-term plan, but this would seem like a good idea - basically, harvesting directories is built right into the folder class itself.


Heath Stewart
VS Pro Deployment Experience, Microsoft
https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblogs.msdn.com%2fheaths&data=01%7c01%7cHeath.Stewart%40microsoft.com%7cdd51162dfb6e468c69d208d2b9959c15%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=EhtaVzSeINt6gEH2eYG7vFHl6mZvDZn0ZeVhGQ%2bdX1E%3d

________________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of Heath Stewart <Heath.Stewart at microsoft.com>
Sent: Wednesday, September 9, 2015 7:58:31 PM
To: WiX Toolset Developer Mailing List
Subject: Re: [wix-devs] Nugetizing dutil

See https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fheaths%2fwix4%2fcommit%2f5b06a80f58bedd1180851fcd1d34c99b39118c30.&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c123ebe21c40043d0102d08d2b98bb8ab%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=HJjZxgeZhjl0yx1K3q%2b1irArbSRGjxfcUmBfnW2iKN8%3d It's not completely done as I have a question and need to add support for determining if there's XP-supporting libs.

Q: From what I can find through the code in swix, there's no wildcard support, right? Looking at the File lexicon it doesn't seem like it would be straight forward, but wondering if there's another way without making substantial improvements (currently) in swix. I didn't want anyone to have to keep both the dutil\inc directory and the list of headers in sync.

Heath Stewart
Visual Studio, Microsoft
https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblogs.msdn.com%2fheaths&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c123ebe21c40043d0102d08d2b98bb8ab%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=7DzMIujZy8IWbL3nhH3Gsu6EAOazlWaj23dRbgJ35P4%3d

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Tuesday, September 8, 2015 4:34 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Nugetizing dutil

We will. I just want the builds to come out at the same time. Sometimes there is purposeful lag between "build" and "publish".

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c32505aeccfe54e3f10f808d2b8a5f127%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=hXh65iT36V1ckHeCRhgHo2NclMfp5LMgUe%2bomibyOaI%3d

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Heath Stewart
Sent: Tuesday, September 8, 2015 4:22 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Nugetizing dutil

Okay.

But why not publish pre-release packages to https://na01.safelinks.protection.outlook.com/?url=nuget.org%3f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c32505aeccfe54e3f10f808d2b8a5f127%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=mBog3n59gT6edP6kIFRELQSqmU%2fK1vIRgxu3H9KRZ7E%3d By default, only released versions are picked up. People can decide to take pre-release and update versions whenever they want to test it out. Seems we get better coverage that way. Or even a MyNuget feed for pre-releases.

Just a thought.

Heath Stewart
Visual Studio, Microsoft
https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblogs.msdn.com%2fheaths&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c32505aeccfe54e3f10f808d2b8a5f127%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=EAzE9jioLA1wSrvko3aplg%2bniHimHP0b5xVeTpgJAuQ%3d

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Tuesday, September 8, 2015 3:13 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Nugetizing dutil

Sure. Send the pull request then we can tweak it as necessary to make it work.  Remember, the goal is to upload the .nupkg to Azure storage with the rest of the bits and only publish to https://na01.safelinks.protection.outlook.com/?url=nuget.org&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c6228d315da0d4c3a34ae08d2b89a9e02%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=ioUtzJ9rGMLz1o%2fjZa9qHwyOObM8QYXU2a2pLoz80sk%3d when the build is published to the web site.

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c6228d315da0d4c3a34ae08d2b89a9e02%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=wb8%2fYB2KEEmzFxEyxgcBkuTEQnj05aGvuoXcM%2bFKDIs%3d

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Heath Stewart
Sent: Tuesday, September 8, 2015 3:08 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: [wix-devs] Nugetizing dutil

Rob, per triage I can submit the required files to help nugetize dutil. Do you want me to just go ahead and nugetize it completely, or just want me to submit the files needed to do so and you can nugetize it? I'd rather do the former since I can test any differences and make sure they work.

Heath Stewart
Visual Studio, Microsoft
https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblogs.msdn.com%2fheaths&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c6228d315da0d4c3a34ae08d2b89a9e02%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=XAICTN1fYH07Xo8hydvwnPKQgfEfLIBllb25gUZfE5U%3d

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c6228d315da0d4c3a34ae08d2b89a9e02%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=wb8%2fYB2KEEmzFxEyxgcBkuTEQnj05aGvuoXcM%2bFKDIs%3d
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c6228d315da0d4c3a34ae08d2b89a9e02%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=wb8%2fYB2KEEmzFxEyxgcBkuTEQnj05aGvuoXcM%2bFKDIs%3d
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c32505aeccfe54e3f10f808d2b8a5f127%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=hXh65iT36V1ckHeCRhgHo2NclMfp5LMgUe%2bomibyOaI%3d
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c32505aeccfe54e3f10f808d2b8a5f127%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=hXh65iT36V1ckHeCRhgHo2NclMfp5LMgUe%2bomibyOaI%3d
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7c123ebe21c40043d0102d08d2b98bb8ab%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=0X%2fLCA56GAmwXxmIKMVMIrZlcHhvwb5ADtjfwEe96g0%3d
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cHeath.Stewart%40microsoft.com%7cdd51162dfb6e468c69d208d2b9959c15%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=z0qHh8OSEUE7jwshTr%2blNT5z3lknxGgf%2f50CVkMWLiI%3d


More information about the wix-devs mailing list