I've written a MSI project using WIX 3.6 and now I want to create my own
bootstrapper. I want to write my own UI using WPF like WixUX so I create a
new C# library project and referenced the BootstrapperCore.dll and created a
class that inherits from BootstrapperApplication. For my test BA all I want
to do is popup a message box to make sure its working. 

namespace MyBA 
{ 
    public class TestBA: BootstrapperApplication 
    { 
        protected override void Run() 
        { 
            MessageBox.Show("My BA is running"); 
            this.Engine.Quit(0); 
        } 
    } 
} 

 I then created WIX bootstrapper project and updated its Bundle.wxs file to
use my BootstrapperApplication by chaging the BootstrapperApplicationRef tag
to: 

<BootstrapperApplication SourceFile="c:\Projects\MyBA.dll" /> 

Everything builds just fine but when I run my bootstrapper I dont get my
message box. I'm just wonder what steps I might be missing. 

Simon Zinkevicius 
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trouble-implementing-a-BootstrapperApplication-in-C-tp6057445p6057445.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to