Groups | Blog | Home
all groups > visual studio .net setup > march 2004 >

visual studio .net setup : setup and deployment


JH
3/15/2004 11:31:19 AM
My distributable application requires the .net Framework. In the launch
condition it always directs the user to the microsoft website to download
and install the framwork. How can I change the Launch condition so that I
can ship the Framwork with my application?

Any help in this area is greatly appreciated.

JH


Phil Wilson
3/16/2004 12:01:42 PM
The difficulty with doing this is that VS setup projects don't have IDE support
for running code early enough in the setup that you could put a value in the
equivalent of the InstallUrl property in the MSI file (in the _VsdLaunchCondtion
table, a custom table that VS adds to the MSI file). You can change the URL in
the IDE, but getting the runtime installed is all done in a Dll that's part of
the
MSI file. You could look at some of the bootstrapper programs that do this
checking and installing and then launch the MSI.

http://www.codeproject.com/dotnet/dotNetInstaller.asp

--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

AddThis Social Bookmark Button