# Elastic-agent msi?

**URL:** <https://discuss.elastic.co/t/elastic-agent-msi/274970>\
**Category:** Elastic Security\
**Tags:** fleet\
**Created:** [June 4, 2021, 10:30am UTC](https://discuss.elastic.co/t/elastic-agent-msi/274970 "2021-06-04T10:30:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hilt86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilt86/32/20308_2.png) [@hilt86](https://discuss.elastic.co/u/hilt86)\
**Post date:** [June 4, 2021, 10:30am UTC](https://discuss.elastic.co/t/elastic-agent-msi/274970/1 "2021-06-04T10:30:51Z")

</div>

Hi Folks,

How are folks deploying elastic-agent? I'd like to use intune to deploy elastic-agent however there is currently no .msi file, therefore:

- can we have a .msi file pretty please?
- How are folks doing this atm?

Hilton

---

<div class="post-metadata">

**Author:** ![blaker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blaker/32/65621_2.png) [@blaker](https://discuss.elastic.co/u/blaker)\
**Post date:** [June 8, 2021, 11:58am UTC](https://discuss.elastic.co/t/elastic-agent-msi/274970/2 "2021-06-08T11:58:45Z")

</div>

We currently do not have an MSI.

The correct way to install Elastic Agent is with the `install` command that is show in Kibana when adding an Agent. The will install the Elastic Agent into the `C:\Program Files\Elastic\Agent` and it will install it as a service on your Windows machine.

---

<div class="post-metadata">

**Author:** ![PublicName](https://avatars.discourse-cdn.com/v4/letter/p/74df32/32.png) [@PublicName](https://discuss.elastic.co/u/PublicName)\
**Post date:** [June 8, 2021, 6:39pm UTC](https://discuss.elastic.co/t/elastic-agent-msi/274970/3 "2021-06-08T18:39:46Z")

</div>

I would avoid rolling it out currently except in dev. The log's are not what you expect as the schema version has changed several times in the past 6 months and will only cause headaches.

A dirty way to do it is a powershell script to copy a zip file down to the machine then decompress and install. Not the method that you want but it works.

It's beta and painfully so.

---

<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:** [July 6, 2021, 6:40pm UTC](https://discuss.elastic.co/t/elastic-agent-msi/274970/4 "2021-07-06T18:40:36Z")

</div>

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