demonsla3r
Posts: 1
Joined: Sat Apr 10, 2021 7:23 am

File Removal

Sat Apr 10, 2021 7:26 am

I've made an installer that installs a folder and some files (.dll's) to a directory that the user specifies, but I've made changes to the things that are being installed and I have to have one of the .dll's removed during the installation of the next updated installer, how would I go about getting that dll deleted?

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: File Removal

Wed Apr 14, 2021 3:24 pm

Hello and welcome to our forums,

If you want the file to be removed during an upgrade, simply remove it from your project in the next version of your product.

For instance, if setup A 1.0 installs "a.txt" and "b.txt", if you want to remove "b.txt", simply remove it from your project and then build the version 2.0 of setup A.

An major upgrade consists of two steps:

- removal of the older setup

- install of the newer setup

Basically, when the older setup is removed, "b.txt" will be removed. When the newer version is installed, "b.txt" will not be installed since it is not present in the setup.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”