Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. package and deployment related question

package and deployment related question

Scheduled Pinned Locked Moved C#
csharpsysadminhelptutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tridip Bhattacharjee
    wrote on last edited by
    #1

    after creating setup file by package and deployment wizard when i going to install that setup file on a machine where .net runtime not installed i got error. so i want to full instruction how to create a setup file i .net that will run on a machine where .net runtime not there. tbhattacharjee

    A B 2 Replies Last reply
    0
    • T Tridip Bhattacharjee

      after creating setup file by package and deployment wizard when i going to install that setup file on a machine where .net runtime not installed i got error. so i want to full instruction how to create a setup file i .net that will run on a machine where .net runtime not there. tbhattacharjee

      A Offline
      A Offline
      Arun Bhalla
      wrote on last edited by
      #2

      Out of curiosity, are you using VS2002 or VS2003? My colleagues tell me that VS2003 will prompt to download the .NET runtime if necessary. I haven't been able to test that on a virgin machine.

      S 1 Reply Last reply
      0
      • A Arun Bhalla

        Out of curiosity, are you using VS2002 or VS2003? My colleagues tell me that VS2003 will prompt to download the .NET runtime if necessary. I haven't been able to test that on a virgin machine.

        S Offline
        S Offline
        sumeat
        wrote on last edited by
        #3

        Hi, I recently had to build a installation program to install my application and I tried to do it using the "Deployment" project in Visual Studio.Net. After much research and help from the folks on this message board I was able to build the installation package. There are 2 things to be done: 1. Create a new project of type "Deployment" and add all the components of your application to this project. You can specify the folders they need to be on the target computer, the icons/shortcuts on the desktop, the item in the Start->Program Menu, etc. On building this project it will generate a .wsi file, a setup.exe along with other files. All the files generated in the Debug directory constitute the installation package. The above package will run perfectly on any computer as long as it has .NET framework installed on it. If not then you have do the second thing. 2. Download the BootStrapper sample from the following link: http://www.microsoft.com/downloads/details.aspx?FamilyId=BF253CFD-1EFC-4FC5-BA7E-6A6F21403495&displaylang=en Its in unmanaged C++. Build it and it will generate a setup.exe. It also has a settings.ini file. Copy the setup.exe and settings.ini into a folder, say, myfolder. Then copy the .wsi generated in step 1 above into myfolder. Then copy the dotnetfx.exe (the .net framework installer) into myfolder. The dotnetfx.exe can be downloaded from here: http://www.microsoft.com/downloads/details.aspx?FamilyId=D7158DEE-A83F-4E21-B05A-009D06457787&displaylang=en All files in myfolder now constitute your new installation package. This installation will first check if .NET is installed or not on the target computer, if not, then it will silently install it and then it will install your application. I hope this helps. Suhas Those who can, do, those who cannot, teach.

        1 Reply Last reply
        0
        • T Tridip Bhattacharjee

          after creating setup file by package and deployment wizard when i going to install that setup file on a machine where .net runtime not installed i got error. so i want to full instruction how to create a setup file i .net that will run on a machine where .net runtime not there. tbhattacharjee

          B Offline
          B Offline
          Braulio Dez
          wrote on last edited by
          #4

          Visual studio .net Installer it’s an useful ( and free J ) tool to deploy for project, but... there is a problem, what if your client doesn’t have installed the “.net framework”, to make your application able to be installed on any machine, the guys from Microsoft made one sample, look at this in the msdn page: Microsoft .NET Framework Setup.exe Bootstrapper Sample

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups