dotnet framework - redistributable


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: dotnet framework - redistributable

  1. #1
    Srinivas Kotipalli Guest

    dotnet framework - redistributable

    when I created a deployment package with Beta2, I was able to include dotnet
    framework redistributable with the package. But with the release vesion when
    I include dotnet redistributable it is giving me an error. Am I missing
    something here? or it has changed and we are supposed take dotnet
    redistributable only from microsoft website.

    Please help!



  2. #2
    Brian Bischof Guest

    Re: dotnet framework - redistributable

    Steps to have your Setup Project check for, and install, the .NET Framework

    Step 1: Download Dotnetfx.exe. You can find it here:
    http://msdn.microsoft.com/downloads/.../sample.asp?ur
    l=/msdn-files/027/001/829/msdncompositedoc.xml

    Step 2: Download the Bootstrapper Sample files. Go to the following link and
    dowload the "Compiled Sample"
    http://msdn.microsoft.com/downloads/.../sample.asp?ur
    l=/msdn-files/027/001/830/msdncompositedoc.xml

    Step 3: Modify the Bootstrapper Sample to also install your application.
    This is detailed at the following link, but I copied the important parts
    here.
    http://msdn.microsoft.com/library/de...us/dnnetdep/ht
    ml/vsredistdeploy.asp

    Step 3 Important parts:
    To modify a deployment project for use with the Setup.exe Bootstrapper
    sample
    1.. In Solution Explorer, select the deployment project.
    2.. On the Project menu, click Properties.
    3.. In the Property Pages dialog box, select the Bootstrapper property and
    set it to None.
    The next step is to build the deployment project and copy the resulting .msi
    file to a deployment location-for example, a directory on a CD-ROM or a
    network share. The Setup.exe Bootstrapper sample and the settings file also
    need to be copied to a deployment location, and the settings file must be
    modified to reflect the deployment locations.

    To edit the settings file to reflect deployment locations

    1.. Open the file settings.ini in a text editor such as Notepad.
    2.. Find the Msi=mySetup.msi entry and replace the default path with the
    path to your .msi file. For example, if mySetup.msi is located on the local
    computer in the same folder as Setup.exe, the path will be Msi=mySetup.msi.
    If mySetup.msi is located on a network share in a folder named
    myProjectFolder, an example of the path is
    Msi=\\myNetworkShare\myProjectFolder\mySetup.msi. If mySetup.msi is located
    in a folder named myInstallerFiles, on the same CD as Setup.exe, an example
    path is Msi=myInstallerFiles/mySetup.msi.
    3.. Find the FxInstallerPath=c: entry and replace the default path with
    the correct path to the .NET Framework redistributable package,
    Dotnetfx.exe. For example, if Dotnetfx.exe is located on the local computer
    in a folder named myProjectFolder, the path will be
    FxInstallerPath=c:\myProjectFolder\. If Dotnetfx.exe is located on a network
    share in a folder named myProjectFolder, an example of the path might be
    FxInstallerPath=\\myNetworkShare\myProjectFolder\. If Dotnetfx.exe is
    located in a folder named myExecutables, on the same CD as Setup.exe, an
    example path is FxInstallerPath=myExecutables/.
    4.. Save the settings.ini file.
    Good Luck!!!
    --
    Moving from VB6 to VB.NET? It just got easier...
    "The .NET Languages: A Quick Translation Guide"
    www.bischofsystems.com/devxc.asp



    "Srinivas Kotipalli" <srinivask@sbcglobal.net> wrote in message
    news:3cc76478@10.1.10.29...
    > when I created a deployment package with Beta2, I was able to include

    dotnet
    > framework redistributable with the package. But with the release vesion

    when
    > I include dotnet redistributable it is giving me an error. Am I missing
    > something here? or it has changed and we are supposed take dotnet
    > redistributable only from microsoft website.
    >
    > Please help!
    >
    >




  3. #3
    Srinivas Kotipalli Guest

    Re: dotnet framework - redistributable

    Thank You Brian!
    "Brian Bischof" <brian@NoSpam.BischofSystems.com> wrote in message
    news:3cc79638@10.1.10.29...
    > Steps to have your Setup Project check for, and install, the .NET

    Framework
    >
    > Step 1: Download Dotnetfx.exe. You can find it here:
    >

    http://msdn.microsoft.com/downloads/.../sample.asp?ur
    > l=/msdn-files/027/001/829/msdncompositedoc.xml
    >
    > Step 2: Download the Bootstrapper Sample files. Go to the following link

    and
    > dowload the "Compiled Sample"
    >

    http://msdn.microsoft.com/downloads/.../sample.asp?ur
    > l=/msdn-files/027/001/830/msdncompositedoc.xml
    >
    > Step 3: Modify the Bootstrapper Sample to also install your application.
    > This is detailed at the following link, but I copied the important parts
    > here.
    >

    http://msdn.microsoft.com/library/de...us/dnnetdep/ht
    > ml/vsredistdeploy.asp
    >
    > Step 3 Important parts:
    > To modify a deployment project for use with the Setup.exe Bootstrapper
    > sample
    > 1.. In Solution Explorer, select the deployment project.
    > 2.. On the Project menu, click Properties.
    > 3.. In the Property Pages dialog box, select the Bootstrapper property

    and
    > set it to None.
    > The next step is to build the deployment project and copy the resulting

    ..msi
    > file to a deployment location-for example, a directory on a CD-ROM or a
    > network share. The Setup.exe Bootstrapper sample and the settings file

    also
    > need to be copied to a deployment location, and the settings file must be
    > modified to reflect the deployment locations.
    >
    > To edit the settings file to reflect deployment locations
    >
    > 1.. Open the file settings.ini in a text editor such as Notepad.
    > 2.. Find the Msi=mySetup.msi entry and replace the default path with the
    > path to your .msi file. For example, if mySetup.msi is located on the

    local
    > computer in the same folder as Setup.exe, the path will be

    Msi=mySetup.msi.
    > If mySetup.msi is located on a network share in a folder named
    > myProjectFolder, an example of the path is
    > Msi=\\myNetworkShare\myProjectFolder\mySetup.msi. If mySetup.msi is

    located
    > in a folder named myInstallerFiles, on the same CD as Setup.exe, an

    example
    > path is Msi=myInstallerFiles/mySetup.msi.
    > 3.. Find the FxInstallerPath=c: entry and replace the default path with
    > the correct path to the .NET Framework redistributable package,
    > Dotnetfx.exe. For example, if Dotnetfx.exe is located on the local

    computer
    > in a folder named myProjectFolder, the path will be
    > FxInstallerPath=c:\myProjectFolder\. If Dotnetfx.exe is located on a

    network
    > share in a folder named myProjectFolder, an example of the path might be
    > FxInstallerPath=\\myNetworkShare\myProjectFolder\. If Dotnetfx.exe is
    > located in a folder named myExecutables, on the same CD as Setup.exe, an
    > example path is FxInstallerPath=myExecutables/.
    > 4.. Save the settings.ini file.
    > Good Luck!!!
    > --
    > Moving from VB6 to VB.NET? It just got easier...
    > "The .NET Languages: A Quick Translation Guide"
    > www.bischofsystems.com/devxc.asp
    >
    >
    >
    > "Srinivas Kotipalli" <srinivask@sbcglobal.net> wrote in message
    > news:3cc76478@10.1.10.29...
    > > when I created a deployment package with Beta2, I was able to include

    > dotnet
    > > framework redistributable with the package. But with the release vesion

    > when
    > > I include dotnet redistributable it is giving me an error. Am I missing
    > > something here? or it has changed and we are supposed take dotnet
    > > redistributable only from microsoft website.
    > >
    > > Please help!
    > >
    > >

    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center