Re: [WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-12-20 Thread karthi2488
Hi,

I have created a msi and bootstrapper application as you did ,but still i
didnt get anything installed on my machine and no UI are displayed. will you
guide me how to integrate these two and how to get the UI visible.

Regards,
Karthick.R

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

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-02-24 Thread Rob Mensching
There will be a log file in %TEMP%. Does it point out any errors?

On Wed, Feb 23, 2011 at 2:14 PM, Simon Zinkevicius simon.zinkevic...@hp.com
 wrote:


 I also added the following line the the AssemblyInfo.cs in the bootstrapper
 Application library but it still will not run.

 [assembly: BootstrapperApplication(typeof(TestBA))]
 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trouble-implementing-a-BootstrapperApplication-in-C-tp6057445p6058081.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




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
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


Re: [WiX-users] Trouble implementing a

2011-02-24 Thread Vadym Verba
Hey, Simon.
I had the same problems when first try to write BA on managed code. Rob
Mensching suggested me to see sources of Wix 3.6 installer itself.
wix36-sources\src\Setup\Bundle - location of Wix bootstrapper project
wix36-sources\src\Setup\UX - location of BoostrapperApplication project. It
uses WPF btw.
What you should pay attention to is (assumed your dll is named as
'MyBA.dll'):
1) Bundle.wxs:
BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost'
 Payload Name='BootstrapperCore.config'
SourceFile='(Path_to_config_file)\MyBA.BootstrapperCore.config' /
 Payload SourceFile='(Path_to_your_dll)\MyBA.dll' /
/BootstrapperApplicationRef

2) add MyBA.BootstrapperCore.config (see example
wix36-sources\src\Setup\UX\WixUX.BootstrapperCore.config) into your BA
project and modify it:
...
wix.bootstrapper
 host assemblyName=MyBA
   supportedFramework version=v4\Full /
   supportedFramework version=v4\Client /
 /host
/wix.bootstrapper
...
3) You have already added [assembly: BootstrapperApplication(typeof(TestBA))]
into AssemblyInfo.cs
Maybe it is better to modify example
wix36-sources\src\Setup\UX\Properties\AssemblyInfo.cs

Should be fine now.

-Original Message-
Date: Wed, 23 Feb 2011 14:14:24 -0800 (PST)
From: Simon Zinkevicius simon.zinkevic...@hp.com
Subject: Re: [WiX-users] Trouble implementing a
BootstrapperApplication in C#
To: wix-users@lists.sourceforge.net
Message-ID: 1298499264403-6058081.p...@n2.nabble.com
Content-Type: text/plain; charset=us-ascii


I also added the following line the the AssemblyInfo.cs in the bootstrapper
Application library but it still will not run.

[assembly: BootstrapperApplication(typeof(TestBA))]
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
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


Re: [WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-02-24 Thread Simon Zinkevicius

Im get a Error 0x8007007f: Failed to get BootstrapperApplicationCreate
entry-point error in the log. Do I need to defne a
BootstrapperApplicationCreate function in my BA library? 
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trouble-implementing-a-BootstrapperApplication-in-C-tp6057445p6062196.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


Re: [WiX-users] Trouble implementing a

2011-02-24 Thread Simon Zinkevicius

Thanks for the help. I was missing step 1. As soon as I added the config file
payload it all started working. Thanks again.
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-Trouble-implementing-a-tp6060833p6062338.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


Re: [WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-02-24 Thread Simon Zinkevicius

Everything is now up and running. My problem was that I was not including my
BA config file in the BootstrapperApplication payload. I added the lines
below into my Bundle.wxs and it is all working now.

BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost' 
 Payload Name='BootstrapperCore.config'
SourceFile='(Path_to_config_file\MyBA.BootstrapperCore.config' / 
Payload SourceFile='(Path_to_your_dll)\MyBA.dll' / 
/BootstrapperApplicationRef

Thanks for the help guys!

Simon


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trouble-implementing-a-BootstrapperApplication-in-C-tp6057445p6062346.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


Re: [WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-02-24 Thread Rob Mensching
And documentation will get better in the future. I have written the
documentation yet because I've been trying to simplify the creation more...
lots of fiddly little details you have to get connected for it to work.

On Thu, Feb 24, 2011 at 2:31 PM, Simon Zinkevicius simon.zinkevic...@hp.com
 wrote:


 Everything is now up and running. My problem was that I was not including
 my
 BA config file in the BootstrapperApplication payload. I added the lines
 below into my Bundle.wxs and it is all working now.

 BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost'
  Payload Name='BootstrapperCore.config'
 SourceFile='(Path_to_config_file\MyBA.BootstrapperCore.config' /
 Payload SourceFile='(Path_to_your_dll)\MyBA.dll' /
 /BootstrapperApplicationRef

 Thanks for the help guys!

 Simon


 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trouble-implementing-a-BootstrapperApplication-in-C-tp6057445p6062346.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




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
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


Re: [WiX-users] Trouble implementing a

2011-02-24 Thread Rob Mensching
PS: you don't need supportedRuntime for both /Full and /Client. Full
contains Client so you only need to specify the lesser one you need.

On Thu, Feb 24, 2011 at 2:27 PM, Simon Zinkevicius simon.zinkevic...@hp.com
 wrote:


 Thanks for the help. I was missing step 1. As soon as I added the config
 file
 payload it all started working. Thanks again.
 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-Trouble-implementing-a-tp6060833p6062338.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




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
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


[WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-02-23 Thread Simon Zinkevicius

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


Re: [WiX-users] Trouble implementing a BootstrapperApplication in C#

2011-02-23 Thread Simon Zinkevicius

I also added the following line the the AssemblyInfo.cs in the bootstrapper
Application library but it still will not run.

[assembly: BootstrapperApplication(typeof(TestBA))]
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trouble-implementing-a-BootstrapperApplication-in-C-tp6057445p6058081.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