# Ansible with programs that get installed into %userprofile%/AppData?

**URL:** <https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793>\
**Category:** Ansible Project\
**Created:** [June 21, 2017, 8:18pm UTC](https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793 "2017-06-21T20:18:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Tanner](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Post date:** [June 21, 2017, 8:18pm UTC](https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793/1 "2017-06-21T20:18:26Z")

</div>

Anyone have recommendations (and/or example playbooks) that install programs that get installed into %userprofile%/AppData?

I’m trying to install Slack with Ansible and win\_chocolatey but I can only get Slack to install as the ansible\_user.

---

<div class="post-metadata">

**Author:** ![David\_Baumann](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@David\_Baumann](https://forum.ansible.com/u/David_Baumann)\
**Post date:** [June 22, 2017, 8:37am UTC](https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793/2 "2017-06-22T08:37:23Z")

</div>

Ansible will Execute with the ansible\_user so Slack gets installed in the ansible\_user profile

This is not Ansible Fault, its Slack Installer/Architekture Fault.

Slack got a Workaround for this Look here  
[https://get.slack.help/hc/en-us/articles/212475728-Deploy-Slack-via-Microsoft-Installer](https://get.slack.help/hc/en-us/articles/212475728-Deploy-Slack-via-Microsoft-Installer)

---

<div class="post-metadata">

**Author:** ![Trond\_Hindenes](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Post date:** [June 25, 2017, 12:09pm UTC](https://forum.ansible.com/t/ansible-with-programs-that-get-installed-into-userprofile-appdata/24793/3 "2017-06-25T12:09:43Z")

</div>

Some apps are like that - which makes them very bad candidates for software deployment / config management systems in general.

Slack has a special “bootstrap installer” which you can use. This essentially launches the “regular” slack installer when a user logs in. You should be able to use this installer with win\_package: [https://get.slack.help/hc/en-us/articles/212475728-Deploy-Slack-via-Microsoft-Installer](https://get.slack.help/hc/en-us/articles/212475728-Deploy-Slack-via-Microsoft-Installer)
