# Install Anki for all users

**URL:** <https://forums.ankiweb.net/t/install-anki-for-all-users/44812>\
**Category:** Help\
**Created:** [May 15, 2024, 7:58am UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812 "2024-05-15T07:58:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomster](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@thomster](https://forums.ankiweb.net/u/thomster)\
**Post date:** [May 15, 2024, 7:58am UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/1 "2024-05-15T07:58:39Z")

</div>

Hi,

We’re a school and trying to install Anki on classroom PCs for students to use. However, this doesn’t work and Anki installs itself in the Local area of the users profile who ran the installer. Is there a way of installing this on the machine itself but with any userdata written back to the logged-in users profile?

Many thanks.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [May 15, 2024, 10:06am UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/2 "2024-05-15T10:06:39Z")

</div>

You can run the installer as an admin, and customize the install location. User data will be stored in the current user’s profile.

---

<div class="post-metadata">

**Author:** ![thomster](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@thomster](https://forums.ankiweb.net/u/thomster)\
**Post date:** [May 15, 2024, 10:57am UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/3 "2024-05-15T10:57:19Z")

</div>

Thanks for the reply. That’s not really practical for us (at least 75 PCs would need the software) but I appreciate the info.

---

<div class="post-metadata">

**Author:** ![pjg](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@pjg](https://forums.ankiweb.net/u/pjg)\
**Post date:** [May 16, 2024, 1:13pm UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/4 "2024-05-16T13:13:45Z")

</div>

We have a similar problem.

I cannot find command line switch that will let me change the install past (I have just posted a question about this)

I have seen that you can run Anki on a pen drive so if I do not receive a response to my post I my try to just move the install folder.

I am using the environment variable “ANKI\_BASE” to save the users files to their one drive %USERPROFILE%

```auto

```

---

<div class="post-metadata">

**Author:** ![voczi](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/voczi/32/31185_2.png) [@voczi](https://forums.ankiweb.net/u/voczi)\
**Post date:** [May 16, 2024, 4:20pm UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/5 "2024-05-16T16:20:29Z")

</div>

Would be nice to have MSI installers of Anki so that they can be mass-deployed, as mentioned above. Maybe Wix could be used for generating this installer? Because I don’t think NSIS has support for creating MSI setups at all. Maybe a full switch to Wix would make sense.

Another problem I have with NSIS is that creating a setup with LZMA compression takes a lot of time. But I’m not sure if Wix would be better at this.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [May 17, 2024, 7:06am UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/6 "2024-05-17T07:06:14Z")

</div>

You can zip up the Anki program folder and unzip it in a location you wish.

> [@pjg](#):
>
> I cannot find command line switch that will let me change the install past (I have just posted a question about this)

You may be able to accomplish this by updating the install location registry entry prior to running the installer. If not, you’ll need to send through a PR. The relevant code is in qt/bundle/win.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 16, 2024, 7:06am UTC](https://forums.ankiweb.net/t/install-anki-for-all-users/44812/7 "2024-06-16T07:06:55Z")

</div>

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