How to force delete file on my previous application folder

msiexpert created the topic: How to force delete file on my previous application folder
I already have a new application instalation. And in the new version of my application i need to delete some file on my previous application folder (e.g. C:/Program Files/My Application/Document.txt)

And my question is:
How to force delete document.txt when someone install my new application version?

Thanks for your great answer Mr ALex.
Show me detail answer.
Im sorry i can’t speak english well. I hope u understand.

applicationPackaging replied the topic: Re: How to force delete file on my previous application folder
Do you know the path to document.txt?
Suppose, the user selected the installation path.
You can use ‘Delete File & Folders’ command.
Pah: INSTALL PATH
Filename: Document.txt

Rajesh Kumar
Follow me