Hi

I have a package that needs to deliver an executable and other files locally, which a custom action then executes during installation of the installer package. I want to delete the executable and files after the custom action has finished with them, so they are not left on the local drive.

Can anyone suggest a way of doing this? I have looked at using the RemoveFiles table, but this isn't working and appears to be only used to remove files when the MSI is uninstalled.

I am using Admin Studio InstallShield 10.5 Professional.

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Are the 'other files' required as part of the .exe installation?

If not then store the exe file in the binary table of the MSI then use the 'launch application from installation' custom action - that way the exe doesn't need to physically go onto the local machine. Check this post.

If the other files are required as part of the install then it's a bit more complicated.. Think you can export files out of the binary table to the local machine, you could then run a CA (e.g. using vb script) to install the app then delete the exported files at the end of the script.

Does this help?

Cheers,
Rob.
Answered 10/27/2005 by: MSIPackager
Third Degree Black Belt

Please log in to comment
0
The other files are required for the exe to run. Thanks for the tip.
Answered 10/27/2005 by: br000301
Yellow Belt

Please log in to comment
0
EXE's and supporting actions executed by a CA doesn't always have to be copied locally. How about putting the files on the MSI's install point and executing them with a CA with a relative path? (i.e. [SourceDir]ExtraEXEstuff\ExtraEXE.exe)
Answered 10/27/2005 by: VikingLoki
Second Degree Brown Belt

Please log in to comment
0
How about repackaging the install into a proper MSI? [:D]
Answered 10/27/2005 by: MSIPackager
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity