# Powershell DSC Deploy and MSI

**URL:** <https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 12, 2018, 2:02pm UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776 "2018-07-12T14:02:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![OffColour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/offcolour/32/57122_2.png) [@OffColour](https://discuss.elastic.co/u/OffColour)\
**Post date:** [July 12, 2018, 2:02pm UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776/1 "2018-07-12T14:02:30Z")

</div>

Hi all,  
Before I attempt this from scratch, has anyone created a Powershell DSC file that they've used for deploying Filebeat?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [July 12, 2018, 3:00pm UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776/2 "2018-07-12T15:00:42Z")

</div>

I'm not aware of something like that out there yet even so I'm sure someone had to do it. Would be nice if you could share it afterwards if you create one.

---

<div class="post-metadata">

**Author:** ![OffColour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/offcolour/32/57122_2.png) [@OffColour](https://discuss.elastic.co/u/OffColour)\
**Post date:** [July 12, 2018, 3:54pm UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776/3 "2018-07-12T15:54:32Z")

</div>

I've been looking at it this afternoon, but without an MSI it's a a manual file copying hack so looking to create a filebeat MSI first. Amazed there isn't one already.

---

<div class="post-metadata">

**Author:** ![OffColour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/offcolour/32/57122_2.png) [@OffColour](https://discuss.elastic.co/u/OffColour)\
**Post date:** [July 13, 2018, 7:02pm UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776/4 "2018-07-13T19:02:01Z")

</div>

I've written a WIX so I've now got an MSI and that's all working.  
Used standard DSC Package syntax to deploy it and all working fine. Haven't looked into config deployment yet.  
I'll tidy up the WIX and drop it on GitHub. It'll still be a bit messy though as I'd never touched WIX before until yesterday

---

<div class="post-metadata">

**Author:** ![OffColour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/offcolour/32/57122_2.png) [@OffColour](https://discuss.elastic.co/u/OffColour)\
**Post date:** [July 18, 2018, 9:48am UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776/5 "2018-07-18T09:48:37Z")

</div>

[Filebeat MSI generator](https://github.com/OffColour/filebeat-msi)  
WIX and powershell build script.  
Very little documentation and comments apart from usage.  
Will update if I get the time.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 15, 2018, 9:57am UTC](https://discuss.elastic.co/t/powershell-dsc-deploy-and-msi/139776/6 "2018-08-15T09:57:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
