OpenDCL Forums

OpenDCL => Deployment => Topic started by: Lube on August 19, 2015, 06:56:59 AM

Title: Delete folder and files before the installation
Post by: Lube on August 19, 2015, 06:56:59 AM
Hi there,

is it possible to delete the folder where my script will install everything?
I need that because i have to update files inside it with every new installation.

Can you help me?

Thanks!
Title: Re: Delete folder and files before the installation
Post by: Fred Tomke on August 19, 2015, 07:04:43 AM
Hi, have a look at here (http://opendcl.com/wordpress/?page_id=10). There you can find a tutorial how to build a setup. The setup overwrites all the existing files and you can define which files have to be deleted at uninstalling time.

[UninstallDelete]
Name: {app}\flamap_update.mns; Type: files
Name: {app}\flamap_update.mnc; Type: files
Name: {app}\flamap_update.mnr; Type: files
Name: {app}\flamap_update.bak.cui; Type: files
Name: {app}\flamap_update.bak.cuix; Type: files


Fred
Title: Re: Delete folder and files before the installation
Post by: Lube on August 19, 2015, 07:56:14 AM
Thanks, I'll try! :)