Your "must start from a MSI" requirement means 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368010(v=vs.85).aspx  
Do not use concurrent installations to install products that are intended to be 
released to the public. In all, they are a bad idea and should be avoided (as 
well they are deprecated).

Also see 
http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/b8774593-1dfa-48e4-99b1-d73f1354eb8b/
 

As far as the requirement of prompting for the approval before installing .Net, 
you could customize WixStdBA to prompt the user. As far as it installing .Net 
without consent, I swear I've seen it prompt to accept the license agreement 
for the framework.  

If you use WixStdBA, then there will not be a need for Wix to install .Net 
before running your BA.

-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Thursday, May 09, 2013 11:38 AM
To: ashish thomas; General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] .Net installation using Wix

Take a look here 
http://neilsleightholm.blogspot.co.uk/2012/05/wix-burn-tipstricks.html this 
should get you started using burn and there is also the code you need to detect 
and install .NET 3.5.

-----Original Message-----
From: ashish thomas [mailto:ashishptho...@yahoo.co.in]
Sent: 09 May 2013 17:30
To: wix-users@lists.sourceforge.net; wix-d...@lists.sourceforge.net
Subject: [WiX-users] .Net installation using Wix

Hi ,
I have the following requirement

 I need to develop an installer using Wix . I need to check whether .Net 3.5 
SP1 is installed or not and if the prerequisite is not met, must show a 
messagebox(dialog) to the user  telling that it is not installed - Do you wish 
to continue the install .Net, Once the user click OK, must install the .Net 3.5 
 and then continue with the rest of the installation.( My .Net MSI is 
inpackage) 

Following are my questions?
 a) Is it possible to implement the same in Wix with out using 
Burn(Bootstrapper)? If yes , how?
b) I can check whether for the .Net prerequisites from Wix MSI and can fail the 
installation if condition is not met. But cant continue with the installation 
of .Net.
c) I tried installing .Net component by invoking a custom action writen in C++ 
. But this approach doesnt seem to work since we having multiple MSIs running 
at the same time(Main MSI and the .Net MSI)  and the .Net installation fails .

d) I tried using EmbeddedChainer Element in Wix. I have specified the .Net 
installer as the filesource. This approach also fails since multiple MSI 
instances are running.

I know i can achieve the functionality using Burn - but following are the 
issues i found with Burn approach
a) I need to double click an exe which internally invokes MSI whereas my 
requirement is very specific that starting point must be an MSI file.
b) As far as I know, we cant create a Burn bootstrapper application without a 
UI. c)Using Burn- if prerequisites are not met, it will straight away install 
.Net componet without user consent. 

Any suggestions are welcome. I am finding it very difficult to solve the 
problem.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. This 200-page 
book is written by three acclaimed leaders in the field. The early access 
version is available now. 

Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. This 200-page 
book is written by three acclaimed leaders in the field. The early access 
version is available now. 

Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to