Hi Guys,
Do you guys, know how to Delete installed files after the installation is finished
for eg.
how to remove that installed "Data" folder and files inside of it, after the installtion is finsihed (or after the user has pressed the "finish" button)
Any idea?
Do you guys, know how to Delete installed files after the installation is finished
I'm not sure I fully understand your scenario. How to delete recently installed files? Is there any reason why do you install them at all? Please give me more details about your specific scenario.
I made a simple exe to overwrite some old files from a software
but there is a file in the software, it has a huge size about 2 GB, that 2GB file basically is a package file in .img format (in that 2GB there are lots of files in it, and I just need to replace some files inside of that 2GB file)
since that file is 2GB is pretty huge in term of size, I can't put my newer version of that 2GB in my exe
So I make a simple bat file, that can add & overwrite some files (for eg. I will call it filea, fileb, filec) into that huge 2GB package .img file
here is how it works:
- User will run the exe
- the exe will paste this bat file & filea, fileb, filec into the target computer
- the exe will run the bat file so filea, fileb, filec will be added into the 2GB package .img file from the software
- the bat file & filea, fileb, filec is useless now, since the 2Gb package .img file has filea, fileb, filec inside of it already
- I want to remove bat file, & filea, fileb, filec
The easier way to achieve what you need will be to add your BAT and filea, fileb, etc as temporary files into your setup project. This way the temporary files will be removed from target machine at installation end.