# \[BUG-11569\] Upgrades via Installer create rogue "Program" file

**URL:** <https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627>\
**Category:** Ignition Early Access\
**Created:** [November 6, 2018, 7:18pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627 "2018-11-06T19:18:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 7:18pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/1 "2018-11-06T19:18:34Z")

</div>

That seemed to fix it. Thanks.

Side note, with that issue it was creating a “Program” file in the C drive that windows didn’t like (made me rename it each time windows started), as soon as I commented out the extra lines it seemed to go away.

---

<div class="post-metadata">

**Author:** ![p\_hanson](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@p\_hanson](https://forum.inductiveautomation.com/u/p_hanson)\
**Post date:** [November 6, 2018, 7:30pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/2 "2018-11-06T19:30:03Z")

</div>

I also had this “Program” file with the first installation of 8.0B1 But, that was an update from 7.9.9 to 8.0 and never actually worked. I had to uninstall 7.9.9 and do a fresh install of 8.0B1.

Fresh install did not produce the “Program” file.

---

<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:** [November 7, 2018, 4:49pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/3 "2018-11-07T16:49:59Z")

</div>

@brian.mills or @p_hanson if you still have the upgraded install of ignition could you please upload the `install_log.txt` file that is in your install directory?

Thanks,  
Jonathan C

---

<div class="post-metadata">

**Author:** ![p\_hanson](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@p\_hanson](https://forum.inductiveautomation.com/u/p_hanson)\
**Post date:** [November 7, 2018, 4:52pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/4 "2018-11-07T16:52:44Z")

</div>

Please see below:

[install\_log.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bb26f4c9c4d0a318d15d21feba9e280e56bb9ef9.txt) (196.3 KB)

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [November 7, 2018, 8:51pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/5 "2018-11-07T20:51:07Z")

</div>

We’ve got this one sorted out, there should be a fix for this in the next nightly build. Thanks!

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 8, 2018, 1:57pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/6 "2018-11-08T13:57:19Z")

</div>

I was called away yesterday, did you still need me to post my install log or are we good to go (g2g) now?

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 8, 2018, 3:32pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/7 "2018-11-08T15:32:17Z")

</div>

looks like the update this morning did the same thing… [install\_log.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3d70ba3a2483da0e563a42335be9a265f61ecdeb.txt) (132.5 KB)

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [November 8, 2018, 4:45pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/8 "2018-11-08T16:45:26Z")

</div>

Here’s the reason it will create that file again, and then going forward it won’t, and I’ll try and be concise: the problem was with the `start-ignition.bat` file (located in your root install directory), which is called because the installer takes a backup of the gateway before upgrading. This backup logic is called before the actual extraction of files has taken place, so that if something goes wrong with the upgrade, you have the backup file to revert to that is known to be working.

So when you upgraded today to the newest build, the logic was still using the “broken” version of `start-ignition.bat` because the file hadn’t been upgraded yet. Now you should have the fixed version of `start-ignition.bat`, and going forward, any upgrades you perform won’t create that file.

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 8, 2018, 4:59pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/9 "2018-11-08T16:59:20Z")

</div>

gotcha, ok, I will post again tomorrow with results to confirm

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [December 7, 2018, 12:41am UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/10 "2018-12-07T00:41:27Z")

</div>

This issue was fixed in the build that was uploaded on 11/8. Please let us know if you continue to see this behavior after upgrading.

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [December 10, 2018, 4:04pm UTC](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627/11 "2018-12-10T16:04:11Z")

</div>

I have not seen this since 11/8, including this morning’s latest update/install.
