I am using pgplwiz to extract an MSI file from the exe generated by IA. When installing using this MSI, an executable file (that is named with a GUID with an exe extension) gets dropped in the user's temp folder. When the installation is complete, this file does not get cleaned up automatically. After a few installs, these files start taking up quite a bit of disk space.
Is there a way to clean these up automatically as part of the install?
If not, any suggestions on how I could go about doing it?
I thought of scheduling a task to perform the removal at the user's next login, but I only want this to happen if the install is done via the MSI file, not the original EXE file so I cannot blindly just use EXEFILE.
I think checking for $EXEFILE$ ending in "}.exe" could be used as the trigger. Doing a pattern match on $EXEFILE$, and saving the "}.exe" into a variable should work, but I'm not sure how to set up the pattern match to do this.
The online help was of no use.
Thanks in advance,
How to auto delete files dropped by IA into temp folders
Who is online
Users browsing this forum: No registered users and 30 guests