Bob had earlier suggested the Visual Studio bootstrapper. I have not found
decent documentation for it. Perhaps I did not look at the right places. I
had already started writing my own little bootstrapper in un-managed C++
that looks in the registry to find if the .Net framework is installed
Root='HKLM' Key='Software\Microsoft\.NETFramework\Policy\v2.0'
Name='50727'
and if it is not, launches Microsoft Component installer (download the SDK
from the follwoing link)
http://www.microsoft.com/downloads/details.aspx?familyid=2A5E4EBC-651C-40AA-9525-1810AF47C317&displaylang=en
configured to install the .Net framework and the windows installer (as
required) followed by my application installer.
You could of course just configure the above to do the whole thing but
like I said in my original email, the user experience is not so good when
the framework (all prerequisites that the component installer installs)
are already installed because
the first dialog the install program puts up is the "Finish installation"
dialog before launching your app's install.
If you manage to use the Visual Studio bootstrapper it might be useful to
post the info here for other users. If you write your own bootstrapper in
C/C++ using VS 2005, remember to statically link the C/C++ runtime (this
is not the default anymore)
Sandeep
Sotorin <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
01/17/2007 03:33 PM
To
wix-users@lists.sourceforge.net
cc
Subject
Re: [WiX-users] automatically launching .Net framework install if it (.Net
framework) is not present
Ok, then how can you do it?
I can package distributable on the same CD, I can detect if it's installed
on user's computer but how can you trigger automatic install?
Installing Framework (if it's not installed) is mandatory task we have to
perform with our installer.
Mike Dimmick-2 wrote:
>
> As Bob said, you cannot do this because you can't have two MSI
> installations
> running concurrently. The .NET Framework 2.0 installation will fail if
you
> try to run it from a custom action in your MSI.
>
> --
> Mike Dimmick
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sotorin
> Sent: 17 January 2007 20:49
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] automatically launching .Net framework install
if
> it (.Net framework) is not present
>
>
> You can download donetfx.exe (which is Framework 2.0 redistributable)
and
> run
> it from your MSI via CustomAction's ExeCommand attirbute. <CustomAction
> ExeCommand="[INSTALLDIR]dotnetfx.exe" .. />
> This is exactly what I have to do too.
>
>
> Bob Arnson-3 wrote:
>>
>> [EMAIL PROTECTED] wrote:
>>> However I want my setup to launch Microsoft Component installer SDK or
>>> .Net framewrok installer to automatically install the .Net framework
>>> if needed.
>>
>> You can't do that from your .msi because .NET is installed via MSI and
>> you can't have two MSIs running simultaneously. The current Visual
>> Studio bootstrapper has been discussed on this list recently and seems
>> to be the leading favorite for bootstrappers ready to use.
>
>
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
View this message in context:
http://www.nabble.com/automatically-launching-.Net-framework-install-if-it-%28.Net-framework%29-is-not-present-tf3023754.html#a8422126
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users