Hi, In my installer - I have a custom action which calls an EXE to perform some operation. At the end of the installation, I want to make sure that the EXE used in the Custom Action is deleted from the system. I don't want to ship the EXE to clients.
I find that we can do it in the following ways 1) Package the EXE in Binary Table - so that the installer will automatically extract it into its temp directory and delete it at the end of the operation. 2) Unfortunately - In my case, the EXE has the dependency on a DLL, so option 1 is ruled out. Even if I have the EXE and the DLL file in Binary Table - The installer doesn't seem to extract the DLL file into the temporary directory and the Custom Action fails with reason EXE couldn;t load the DLL. Currently I am copying both DLL and EXE into Program Files folder and execting the Custom Action with (WIXCA.CAQuietExec operation). Have another custom action to delete the EXE and DLL from program files folder after usage. 1) Are there any better approaches for this problem - 2) Instead of copying the files to Program Files folder - Are there ways to load the EXE and DLL in Binary table and make the EXE reference the DLL. 3) Are there any automatic ways to delete the EXE and DLL files at the end of the operation. (without writing another Custom Action to make calls to del command) Your thoughts are most welcome. Thanks, Loonysan ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users