Sankaranarayanan wrote:
> 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.
>   

Remember that anyone can extract any file from an MSI, so if your goal 
is to prevent users from having access to the file, deleting it won't do 
any good from a security perspective.

> 1) Are there any better approaches for this problem - 
>   

No. That's why the recommendation is that CAs not have dependencies.

> 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.
>   

No.

> 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)
>   

No.

-- 
sig://boB
http://bobs.org



-------------------------------------------------------------------------
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

Reply via email to