# Unattended installation og Magic Leap Hub

**URL:** <https://forum.magicleap.cloud/t/unattended-installation-og-magic-leap-hub/3733>\
**Category:** General\
**Tags:** ml-hub\
**Created:** [July 3, 2024, 2:55pm UTC](https://forum.magicleap.cloud/t/unattended-installation-og-magic-leap-hub/3733 "2024-07-03T14:55:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierre.bellicini](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pierre.bellicini](https://forum.magicleap.cloud/u/pierre.bellicini)\
**Post date:** [July 3, 2024, 2:55pm UTC](https://forum.magicleap.cloud/t/unattended-installation-og-magic-leap-hub/3733/1 "2024-07-03T14:55:13Z")

</div>

Hi there,  
I'm starting as a devops engineer in a company that uses the magic leap hub, i'm trying to automate the installation on windows machines, using saltstack, so the unattended option looks like what I need, but unfortunately when I launch the executable like this :

```auto
"C:\temp_dir\sbin\ML_Hub_Installer.exe" --mode unattended

```

It gives me an error as in :

```auto
There has been an error.
Unable to copy file

```

I run this command from an administrator terminal on windows 11.  
Any ideas ?

Thanks

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [July 3, 2024, 5:55pm UTC](https://forum.magicleap.cloud/t/unattended-installation-og-magic-leap-hub/3733/2 "2024-07-03T17:55:25Z")

</div>

Unfortunately Salstack falls outside of our realm of support. I recommend reaching out about this issue through their support channels. It would also be helpful to get logs from the installation.

```auto
    - output_loglevel: debug

```

Things to also check:

- Ensure administrator permissions.
- Use a simple file path (e.g., C:\MLHubInstaller).
- Disable antivirus/security software temporarily.
- Check for file locking (reboot if necessary).

---

<div class="post-metadata">

**Author:** ![pierre.bellicini](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pierre.bellicini](https://forum.magicleap.cloud/u/pierre.bellicini)\
**Post date:** [July 3, 2024, 7:51pm UTC](https://forum.magicleap.cloud/t/unattended-installation-og-magic-leap-hub/3733/3 "2024-07-03T19:51:53Z")

</div>

Hi,  
Thank you for your answer, of course my question was not about the salt part 🙂 , I can handle this part, it was more about the correct way to get a cli syntax to actually get an unattended installation, but I figured it out, adding the path for installation was enough, as in :

```auto
"C:\dir\temp\ML_Hub_Installer.exe --mode unattended --prefix "C:\dir\MagicLeap"

```

Thank you for your quick answer

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)\
**Post date:** [July 18, 2024, 7:51pm UTC](https://forum.magicleap.cloud/t/unattended-installation-og-magic-leap-hub/3733/4 "2024-07-18T19:51:54Z")

</div>

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