I have to cache my Installation in [WindowsFolder]Downloaded Installations
folder. There is notice in InstallShield help:
----------
Cache installation on local machine
...
Files cached on the target system using this option will not be automatically
removed when the user uninstalls your product.
----------
I do not understand why they cannot be removed afterwards... but anyway
it seems that I have to do it manually
I have created the CustomAction 'RemoveCachedFiles'
it has the following properties:
- Type = Run InstallScript code
- Return processing = Synchronous (Ignore exit code)
- In-Script Execution = Deferred Execution
- Install Exec Sequence = AfterOnGeneratedMSIScript
Actually I do not know if this is correct way or not, but it works
if user installs the product and then removes it MSI file is also removed from
[WindowsFolder]Downloaded Installations folder.
BUT I have problem if user Cancels the installation... in this case cached files
are NOT removed and this is a problem... what should I do to remove it ??
Thanks.
Edited by RosarioAgro, 11 October 2004 - 11:11.