# \[feature-1261\] Command Line Installations

**URL:** <https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327>\
**Category:** Ignition\
**Created:** [August 23, 2022, 1:42pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327 "2022-08-23T13:42:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Boyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew_boyers/32/59236_2.png) [@Matthew\_Boyers](https://forum.inductiveautomation.com/u/Matthew_Boyers)\
**Post date:** [August 23, 2022, 1:42pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/1 "2022-08-23T13:42:07Z")

</div>

Are there other Command Line Argument Keys that are not listed in the [Command Line Installations - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Command+Line+Installations) document? Is there a way to to do unattended uninstall, or a command to restart the gateway service during an upgrade?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 23, 2022, 1:43pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/2 "2022-08-23T13:43:11Z")

</div>

That page _does_ talk about unattended installs.

Is there something in particular you’re trying to do?

---

<div class="post-metadata">

**Author:** ![Matthew\_Boyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew_boyers/32/59236_2.png) [@Matthew\_Boyers](https://forum.inductiveautomation.com/u/Matthew_Boyers)\
**Post date:** [August 23, 2022, 1:48pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/3 "2022-08-23T13:48:10Z")

</div>

We are doing some development using Chocolatey to do an unattended install or upgrade, the install with silent arguments for unattended works fine. When Chocolatey tries to uninstall it fails to uninstall unattended and pops up a graphic asking the user to accept the uninstall. If the Chocolatey upgrades the gateway it doesnt start the gateway. So if you do an unattended upgrade, then you have to fire the gateway start batch script to restart the gateway.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 23, 2022, 1:50pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/4 "2022-08-23T13:50:09Z")

</div>

So you’re saying `"unattended=text"` or `"unattended=none"` isn’t working when the uninstall fails for some reason? Do you know why it’s failing?

---

<div class="post-metadata">

**Author:** ![Matthew\_Boyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew_boyers/32/59236_2.png) [@Matthew\_Boyers](https://forum.inductiveautomation.com/u/Matthew_Boyers)\
**Post date:** [August 23, 2022, 1:55pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/5 "2022-08-23T13:55:50Z")

</div>

Yes “unattended=none” fails when Chocolatey attempts to do a silent uninstall. It pops up a graphic where somebody has to click on a button to tell Ignition to uninstall. That defeats the purpose of the silent commands.  
The other issue is when Chocolatey tries to run the installer on a system that already has Ignition on it. The silent installer stops the gateway, does the upgrade, but doesn’t restart the gateway.  
Thats why I was asking if there are other commands not listed or if there is any documentation with using silent installers with Chocolatey.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 23, 2022, 1:58pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/6 "2022-08-23T13:58:12Z")

</div>

Ok, hopefully @jcoffman has some ideas when he’s online later.

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [August 23, 2022, 3:07pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/7 "2022-08-23T15:07:47Z")

</div>

There is already a ticket to add support for autostarting the unattended upgrades (unattended installs start automatically currently.) The ticket has priority to be worked on soon, but I don’t have an ETA.

as far as the unattended uninstalls I added a note as part of that ticket to test that functionality and if its not working to include a fix or to make a follow up ticket for it.

---

<div class="post-metadata">

**Author:** ![Matthew\_Boyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew_boyers/32/59236_2.png) [@Matthew\_Boyers](https://forum.inductiveautomation.com/u/Matthew_Boyers)\
**Post date:** [August 23, 2022, 3:19pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/8 "2022-08-23T15:19:17Z")

</div>

Ok great. I think it would help to add commands to command the installer to install, uninstall, or upgrade.

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [October 28, 2022, 5:11pm UTC](https://forum.inductiveautomation.com/t/feature-1261-command-line-installations/63327/9 "2022-10-28T17:11:17Z")

</div>

This feature was added and will be available in 8.1.22.

Hope that helps!  
Jonathan C
