Page 1 of 1
Removing files after installation
Posted: Mon Jun 11, 2007 6:51 am
by jls
After I have installed my application the support files are still in the destination folder, Is that correct and how can i remove the support files?
I also executes some programs. These program should be removed after I have installed the application. How do I do this correct?
Jørgen
Posted: Mon Jun 11, 2007 7:43 am
by jimo
If the files you are refering to are files you added to your project under Support Files (MSI Code view), Creatives (Visual IDE), then they should be deleted when the installer finishes.
If these are files you are moving around etc., use delete files recursive, which executes directly.
It works
Posted: Mon Jun 11, 2007 8:34 am
by jls
I had placed the files in the wrong folder and used
* for adding all files in that folder, moved the files and it works.
One more question
I have 2 executables and 1 dll used by the installer.
These files are not needed after the install is finished.
I understand that I can remove the files afterwords,
but is it possible to add these files as Support Files?
Jørgen
Posted: Mon Jun 11, 2007 8:45 am
by jimo
Yes, in the VIsual IDE add them as creatives or in the MSICode view add them as Support Files, or alternatively use File bag to bundle them up and deliver them to the end users system.
Thank you
Posted: Mon Jun 11, 2007 8:49 am
by jls
I think I will add Support Files.
Thank you for the help.
Jørgen