Beta 2 Publish help needed

Hi all, I'm a student trying out VS.net C# express beta 2. I had created a simple hello world program. I'm using the "publish" feature that comes with vs.net, however I notice that when it's install on another computer, it takes a long time to install as the setup is downloading the .net framework 2 from the internet.

Is there anyway to bypass the internet streaming and instead put in all in a
cd-rom for the installation

Thanks.


Answer this question

Beta 2 Publish help needed

  • marianocab

    Thanks for your reply, Graham. I've tried numerous times but I cannot get it work. I keep getting the following error

    Error 11 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0 Beta' can not be located on disk. See Help for more information. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 3249 9 


    Error 12 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\WindowsInstaller-KB884016-v2-x86.exe' in item '.NET Framework 2.0 Beta' can not be located on disk. See Help for more information. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 3249 9 

    Please someone, help me here. What can I do
    Thanks.



  • Brian Napora

    Awesome! I confirm! Thanks for those great solutions.
  • YAYitsAndrew

     Patrick Darragh wrote:

    1. In your web browser, go to http://go.microsoft.com/fwlink/ LinkId=37283 and save the file to '<Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\DotNetFX'. An example of the VS install directory is 'C:\Program Files\Visual Studio 8'
    2. Also save the files at http://go.microsoft.com/fwlink/ LinkId=37285 and http://go.microsoft.com/fwlink/ LinkId=37287 to the same location, <Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\DotNetFX'.
    3. To solve this same problem for SQL Server Express <snip>
    4. Then return to the prerequisites dialog and select 'Download prerequisites from the same location as my application.'
    5. Publish


    Here's another happy googler! I was installing a .Net program on a stand-alone computer (ie. one without an internet connection), and I ran into the same problem. I did steps 1,2,4 and 5, and worked first time! Big Smile Thanks Patrick!

  • jaybo_nomad

    Hi Netasia,

    On the Publish tab in the project properties view there is a Prerequists button. In here you will find a few more options that should help you.

    Graham

  • chen_k

    Hi Netasia,

    Here's what you need to do to fix the problem

    1. In your web browser, go to http://go.microsoft.com/fwlink/ LinkId=37283 and save the file to '<Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\DotNetFX'. An example of the VS install directory is 'C:\Program Files\Visual Studio 8'
    2. Also save the files at http://go.microsoft.com/fwlink/ LinkId=37285 and http://go.microsoft.com/fwlink/ LinkId=37287 to the same location, <Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\DotNetFX'.
    3. To solve this same problem for SQL Server Express, then go to http://go.microsoft.com/fwlink/ LinkId=3728 and save the file to '<Visual Studio install directory>\SDK\v2.0\Bootstrapper\Packages\SqlExpress\en'
    4. Then return to the prerequisites dialog and select 'Download prerequisites from the same location as my application.'
    5. Publish

    Cheers,
    -Patrick

  • AASoft_ILSC

    Q1: try http://go.microsoft.com/fwlink/ LinkId=37280

    Q2: no, the location is fixed.

    Q3: add the files to your solution and set the build action property to Content


  • Hitesh Khamesra

    AWESOME!!  My thanks also.  After 2 weeks of work I couldn't publish for the same reason.  This fix worked like a charm!  Cheers,
    Scott

    PS: Any tips on configuring the setup.exe so that it prompts for an installation folder, puts an icon on the desktop, etc.    

  • Kory Chang

    You are a GOD

    Thank you


  • Greg Motter

    Thanks guys. You guys are awesome!

  • Nickeay

    Hi, I had the same troubles both with burning to cd and the bad link. I downloaded the good links but messed around with the bad one to get it to work. I looked at the other links, the ending # were all 3728* with 5 numbers but the bad one had only 4. I just added #'1-9 until it worked. It should be link id 37286. That was easier that the burning cd thing.
    Good luck ....man302


  • Jannet

    Thanks a million Patrick,


    Q1. I manage to get it working accept for the link to the SQL Server Express. LinkID 3728 doesn't work. May I ask to confirm that link again.

    Q2. Is there a way where we can let the user specific a directory to install my application with clickonce publish

    Q3. I've 2 text files that are required by my program, how can I "package" it up with the publising proccess


    Appreciate if anyone can help me out here.
    Thanks in advance.

  • Paul-I

    Hi Netasia,

    I had the same problem. I searched my system for both files and copied them to the "C:\Program Files\Microsoft.NET\SDK\v2.0\Bootstrapper\Packages\DotNetFX"
    folder.

    This worked for me.

    Do you know the fix for the SQLEpress Prerequisite problem (Publish fails because it cannot find sqlexpr.exe)

    ~sh~

  • 3600s

    Yes, I had the same problem too. I had installed the .NET 2.0 SDK separately after installing VB.NET 2005. I had to put the files under

    C:\Program Files\Microsoft.NET\...

    rather than under

    C:\Program Files\Microsoft Visual Studio 8\...

    Best bet is to search your hard drive for a folder named "Bootstrapper", then put the files into the appropriate subfolder (wherever Bootstrapper exists). It appears that installing the SDK separately causes the Bootstrapper folder under the Visual Studio folder to disappear.


  • Beta 2 Publish help needed