|
-
Jul 17th, 2006, 03:32 PM
#1
Thread Starter
New Member
Delete temp file after installation with Inno
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|