Depends on how you schedule the CustomAction. However, if you install them, then delete them, then the Windows Installer thinks your application is corrupt and a repair will try to fix it. Really, the best solution is to use a data driven C++ DLL for all CustomActions. All scenarios work better.
-----Original Message----- From: Derek Tan [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 11:40 To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] How to call "A.exe -parameter B.txt" where A.exe &B.txt are not to be installed Thanks for your reply. If I install the .txt and .exe, would I then delete those in a custom action as my requirement is not to have them on the machine after installation? If so, would uninstall cause any problems as uninstall would expect those files to be there? Thanks, Derek >From: Rob Mensching <[EMAIL PROTECTED]> >To: Derek Tan <[EMAIL PROTECTED]>, >"wix-users@lists.sourceforge.net"<wix-users@lists.sourceforge.net> >Subject: RE: [WiX-users] How to call "A.exe -parameter B.txt" where A.exe >&B.txt are not to be installed >Date: Fri, 8 Dec 2006 11:35:04 -0800 > >You can't. If you install the .txt file and you schedule the .exe late >enough you can get this to work. > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Derek Tan >Sent: Friday, December 08, 2006 10:36 >To: wix-users@lists.sourceforge.net >Subject: [WiX-users] How to call "A.exe -parameter B.txt" where A.exe & >B.txt are not to be installed > >Hi, > >I have two files A.exe and B.txt that are helper files that are not to be >installed on the machine but needs to be in the msi package to complete the >installation. Also, I need to run "A.exe -parameter B.txt". I looked into >using <Binary> but couldn't figure out how to pass B.txt as a parameter >without having B.txt on the machine. Does anyone know how to do it without >writing any C++/C# code? > >Thanks, >Derek > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users