Hi all, I'm distributing a program that also includes the Access runtimes. Currently the script puts the runtime .MSI into {app}\tmp folder on the target PC. Then runs the MSI after the main setup. I don't really want the runtime installation package to remain on the user's computer but I can't figure out how to get the script to delete the {app}\tmp folder.

I've googled the heck out of Inno & deltree but didn't find anything.
I've also tried the info in the help file & put the following in the [Code] section with no success:

[Code]

function DelTree(const Path: String; const IsDir, DeleteFiles, DeleteSubdirsAlso: Boolean) : Boolean;

begin
Deltree ('{app}\tmp', true, true, true)
end;

Any suggestions are appreciated.

Thanks.