Author Topic: Delete folder and files before the installation  (Read 2319 times)

Lube

  • Member
  • *
  • Posts: 25
Delete folder and files before the installation
« 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!

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2070
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Delete folder and files before the installation
« Reply #1 on: August 19, 2015, 07:04:43 AM »
Hi, have a look at here. 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.

Code: [Select]
[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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Lube

  • Member
  • *
  • Posts: 25
Re: Delete folder and files before the installation
« Reply #2 on: August 19, 2015, 07:56:14 AM »
Thanks, I'll try! :)