Wayne Roberts wrote: > <Publish Dialog="ExitDialog" Control="Finish" Order="1" Event="DoAction" > Value="LaunchProgram">UPGRADEFOUND OR ANOTHERCONDITION OR > Installed</Publish> > </UI> > > > The way I am understanding this is when I click the finish button the > custom action with id LaunchProgram is executed. My confusion is how to > have this work with two custom actions. >
Create another Publish element with a higher Order attribute to launch the other file; in its body, use a condition that's only true when the other one isn't. MSI doesn't have if/else; everything has to be done with the right conditions to get the same behavior. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users