Skip to content
⌘ NSIS Forum Archive

delete old files and install new

2 posts

noizenr1#

delete old files and install new

Hi there,

i'm looking for a script that deletes old files and replace them with new files.
Also the shortcuts. for example:

D:\UI\mcserverold.exe (needs to be removed)
D:\UI\mcservernew.exe (needs to be installed)

E:\VAR\UI_ENG_old.exe (needs to be removed)
E:\VAR\UI_ENG_old.exe (needs to be installed)

C:\Users\Bond\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\mcserverold.exe(shortcut needs to be removed)

C:\Users\Bond\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\mcservernew.exe(shortcut needs to be added)

there are more files and in different languages so in need to change the file names each time.

thank you in advance!