Right, transitive component, rather than volatile. It goes like: <Component Id="compid" Guid=... Transitive="yes"> <!-- 0 to remove the file, 1 to install it --> <Condition>0</Condition> <File Id="file name" ..... /> </Component>
-----Original Message----- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: Wednesday, February 11, 2009 1:17 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Execute action during path installation Yes. That's a fairly common way of making sure that a file doesn't get installed on the system without breaking the component rules during patching. That's a transitive component. Phil Wilson -----Original Message----- From: Tony Juricic [mailto:tjuri...@tradestation.com] Sent: Tuesday, February 10, 2009 5:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Execute action during path installation It is possible to put a file into a Component containing only that file, make it volatile and change the condition for installing the component from 1 to 0. -----Original Message----- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Tuesday, February 10, 2009 6:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Execute action during path installation Hey Grigory, I don't believe you are able to remove a file while patching. However, you can change the file that you want to delete to a 0byte file. This will be effectively the same. I don't have an example of how to run a custom action but believe you just add a new action to your patch. There is a lot more information to go with that. Please view Heaths blog. http://blogs.msdn.com/heaths/archive/2005/09/12/464047.aspx Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Fri, Feb 6, 2009 at 3:39 AM, Grigory Konovalov < grigory.konova...@confirmit.com> wrote: > Hello All! > I need remove file and execute custom action during patch installation. Is > this possible? And if yes please give me small example. > ------------------------------------------------------------------------ ------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users