Hi Jim So all three elements have the same parent (product/fragment)? Your source should look something like this (Just want to make sure I understand where you're at right now). If you're using <Binary>, make the ExeCommand attribute an empty string and add the BinaryKey attribute like the example below.
<Binary Id="NFTS30Listner.exe" src="D:\Projects\NFTS\Src\apps\nfts\binaries\NFTS30Listener.exe"/> <CustomAction Id="Start_NFTS_Listener" Return="asyncNoWait" HideTarget="no" Execute="deferred" Impersonate="no" TerminalServerAware="no" ExeCommand="" BinaryKey="NFTS30Listner.exe" FileKey="NFTS30Listener"> </CustomAction> <InstallExecuteSequence> <Custom Action='Start_NTFS_Listener' Before='InstallFinalize'/> </InstallExecuteSequence> As for your earlier question. The only time order really matters is when you might have multiple CAs that depend on one another. You can specify the order of custom actions using attributes such as Before inside your <Custom> element. For example, let say you have two CAs, Foo and Bar, then you can do the following: <InstallExecuteSequence> <Custom Action='Foo' Before='Bar'/> <Custom Action='Bar' /> </InstallExecuteSequence> If you are using WiX 3, you should use SourceFile in your code since the src attribute for Binary has been deprecated if I recall correctly. Jacques On Mon, Jun 15, 2009 at 9:57 AM, MacDiarmid, James D < james.macdiar...@eds.com> wrote: > > Ok I tried what you suggested and I'm getting the following error: > > Unresolved reference to symbol 'CustomAction:Start_NFTS_Listener' in > section product. I also added this > > > <Binary Id="NFTS30Listener.exe" > src="D:\Projects\NFTS\Src\apps\nfts\binaries\NFTS30Listener.exe" /> > > ...above the line that you mentioned, but something seems to be missing. > > -----Original Message----- > From: Jacques Eloff [mailto:repst...@gmail.com] > Sent: Friday, June 12, 2009 6:14 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Trying to execute an exe file during or after > myinstall > > Hi Jim > > You still need to schedule the action. For example, > > <InstallExecuteSequence> > <Custom Action='Start_NTFS_Listener' Before='InstallFinalize'/> > </InstallExecuteSequence> Jacques On Fri, Jun 12, 2009 at 2:15 PM, > MacDiarmid, James D < james.macdiar...@eds.com> wrote: > > > > > I added the following code in my install with the intention that it > > would execute the exe file at some point, but it's not working. Is > > there anything I could be missing? > > > > <CustomAction Id="Start_NFTS_Listener" > > Return="asyncNoWait" > > HideTarget="no" > > Execute="deferred" > > Impersonate="no" > > TerminalServerAware="no" > > > > > ExeCommand="D:\Projects\NFTS\Src\apps\nfts\binaries\NFTS30Listener.exe" > > FileKey="NFTS30Listener"> > > </CustomAction> > > > > Thanks, > > Jim > > > > > > > > > > ---------------------------------------------------------------------- > > -------- Crystal Reports - New Free Runtime and 30 Day Trial Check out > > > the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > ------ > Crystal Reports - New Free Runtime and 30 Day Trial Check out the new > simplified licensing option that enables unlimited royalty-free > distribution of the report engine for externally facing server and web > deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users