Is there any way using Bitrock installer that deletes the installation file after installation?

I ask since while using the auto updater, it downloads a new installer from the internet. But since on every update it downloads a new installer, you end up having a lot of different installer versions on the machine locally.

I guess one fix would be preinstallation delete all the old installers with some funky wildcard matching but was hoping there was a cleaner solution. I am also assuming that you cannot delete the current installer while its running itself?

asked 16 Aug '16, 16:57

StartupEngineer1024's gravatar image

StartupEngin...
6468
accept rate: 0%


Hi,

Unfortunately, an installer that it is being executed cannot be deleted.

To achieve what you want, you can use the <autoUpdateInitializationActionList> action, that will allow you to execute custom actions right after the AutoUpdate has started, to remove those installers.

link

answered 17 Aug '16, 06:13

jesus's gravatar image

jesus ♦♦
1.1k14
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×155
×51
×20

Asked: 16 Aug '16, 16:57

Seen: 216 times

Last updated: 17 Aug '16, 06:13