The <Binary > tag seems to be meant to do this kind of thing. This will include the exe in your msi and allow you to run it; but it will not install it and hence not require any deleting afterwards.

 

 

See for example (from the WIX Tutorial)

 

<CustomAction Id='LaunchFile' BinaryKey='FoobarEXE' ExeCommand=’’ Return=’asynchNoWait’/>
with
<Binary Id='FoobarExe' SourceFile='Binary\foobar.exe' />

 

 

 Also just found that out, so anybody, if I got something wrong here pls correct me

 

  Cheers

 

    Seb

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Young Yang (Worksoft)
Sent: 12 July 2006 09:19
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to delete a file(for temp use) after installation

 

Hi

 

In  my wix project, I need a .exe file to do some task, so package it in the msi, so this .exe file will be deployed with

Product. After installation, I don’t need this .exe file, so I use custom action to delete it, ”del  .exe”, but it doesn’t work.

Anybody has any idea? Is there any way that I don’t need install this .exe file and can still use it during installation.

 

Thank you very much.

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to