Hello, I'm testing out your installer and would like to know if there is a way to check for files or directories in the destination folder and remove them prior to installation? Usually just overwriting will work but in this case, the files were consolidated into a single new file and the old files need to be deleted.
Thanks,
Eddy
Remove files/directory before installation
Re: Remove files/directory before installation
Hello Eddy,
Yes, it is possible with Actual Installer.
Go to the System\Commands page and add:
Yes, it is possible with Actual Installer.
Go to the System\Commands page and add:
Code: Select all
Command: <SystemDir>\cmd.exe
Parameters: /C IF EXIST "<InstallDir>\File.exe" del /Q "<InstallDir>\File.exe"
Launch on OS: All
Show: Normal
Launch: After Folder Select
Wait: No
-
- Posts: 2
- Joined: Fri Oct 25, 2013 9:52 pm
Re: Remove files/directory before installation
Thanks, that's the tip I needed.
Just bought the Pro version, I'm sure I'll have a few more questions.
Eddy
Just bought the Pro version, I'm sure I'll have a few more questions.
Eddy