GBerlonghi
12-08-2005, 12:52 PM
Hey everyone. I'm extremely new to using IS, but im finding it is quite nice. One thing I wanted to know is how I could delete certain files after they have been used for the installation. Basically our product requires the installation of several third party drivers for security keys, usb drives etc. I have the files included with the installation, and put in a sub-directory of the main installation files. I've created Custom Actions to run the files after the main product has been installed, and they install in the correct order. What I'm looking for is a way to delete the installers for these drivers after they have been used.
After reviewing alot of the documentation I found the RemoveFile Table, but is that used for Uninstall purposes? Or is that exactly what I'm looking for? If so, how exactly would I go about setting that up? I also though about using a Custom Action VBScript, but im not too familiar with VBScript and am uncertain how I would go about making sure the correct files were deleted since the installation path could vary from customer to customer.
If anyone could help me with either of these solutions, or if there is a better way, it would be very much appreciated.
Cheers,
Gabe
After reviewing alot of the documentation I found the RemoveFile Table, but is that used for Uninstall purposes? Or is that exactly what I'm looking for? If so, how exactly would I go about setting that up? I also though about using a Custom Action VBScript, but im not too familiar with VBScript and am uncertain how I would go about making sure the correct files were deleted since the installation path could vary from customer to customer.
If anyone could help me with either of these solutions, or if there is a better way, it would be very much appreciated.
Cheers,
Gabe