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
  1. Home
  2. General Programming
  3. C#
  4. How i can istall my first project...

How i can istall my first project...

Scheduled Pinned Locked Moved C#
csharpwinformsquestion
6 Posts 2 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.
  • V Offline
    V Offline
    VisualLive
    wrote on last edited by
    #1

    HI All, within few days i will finish my first project (i'm a novice ) so i need to install this software on 5 computers.I develop my project in WinForms(C#) with NET.Framework 3.5 SP1 so when i create the file app.exe after i will install it on the computers and at the point i need some suggest/advice 'cos 5 computers did not get Net.Framework 3.5 Sp1 and can not connect online to download the Net.Framework 3.5 Sp1 so i ask how i can install my software on these computers? What i need to check in the the Prerequisites when i publish my software? If you need more info don't hesitate to ask me i will reply as soon as possible. Nice Regards, :)

    S 1 Reply Last reply
    0
    • V VisualLive

      HI All, within few days i will finish my first project (i'm a novice ) so i need to install this software on 5 computers.I develop my project in WinForms(C#) with NET.Framework 3.5 SP1 so when i create the file app.exe after i will install it on the computers and at the point i need some suggest/advice 'cos 5 computers did not get Net.Framework 3.5 Sp1 and can not connect online to download the Net.Framework 3.5 Sp1 so i ask how i can install my software on these computers? What i need to check in the the Prerequisites when i publish my software? If you need more info don't hesitate to ask me i will reply as soon as possible. Nice Regards, :)

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Hi, you could use a tool to generate a MSI-file, that will install your application and its prerequisites (using a bootstrapping-mechanism). Have a look at the WiX toolset (http://wix.sourceforge.net/[^]). If you have only 5 computer to install on, you can do it manually. Download the .NET Framework 3.5 SP1 Redistributable *(there is also a version without the need to go online - http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe[^]) Then install your app by copying all files from your bin\Release folder. If you use a database, you have to install the server too. Hope this helps. Regards Sebastian * Needs the Windows Installer 3.1

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      V 1 Reply Last reply
      0
      • S SeMartens

        Hi, you could use a tool to generate a MSI-file, that will install your application and its prerequisites (using a bootstrapping-mechanism). Have a look at the WiX toolset (http://wix.sourceforge.net/[^]). If you have only 5 computer to install on, you can do it manually. Download the .NET Framework 3.5 SP1 Redistributable *(there is also a version without the need to go online - http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe[^]) Then install your app by copying all files from your bin\Release folder. If you use a database, you have to install the server too. Hope this helps. Regards Sebastian * Needs the Windows Installer 3.1

        It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

        V Offline
        V Offline
        VisualLive
        wrote on last edited by
        #3

        HI SeMartens, thanks to reply me, i will follow your second option ,i'm downloading the .NET Framework 3.5 SP1 Redistributable and istall it manually but i need to understand better. When i create the app.exe in the Publish section of Visual Studio(2008 Sp1) and Prerequisites i need to check in the Windows Installer 3.5 and .NET Framework 3.5 SP1 or i will not check in ? After when i will install my app on the computer i need to install first the .NET Framework 3.5 SP1 and Windows Installer 3.1 and finally my app? Sorry for my poor knowledge it is the my first time i develop and install an app. :)

        S 1 Reply Last reply
        0
        • V VisualLive

          HI SeMartens, thanks to reply me, i will follow your second option ,i'm downloading the .NET Framework 3.5 SP1 Redistributable and istall it manually but i need to understand better. When i create the app.exe in the Publish section of Visual Studio(2008 Sp1) and Prerequisites i need to check in the Windows Installer 3.5 and .NET Framework 3.5 SP1 or i will not check in ? After when i will install my app on the computer i need to install first the .NET Framework 3.5 SP1 and Windows Installer 3.1 and finally my app? Sorry for my poor knowledge it is the my first time i develop and install an app. :)

          S Offline
          S Offline
          SeMartens
          wrote on last edited by
          #4

          The Windows Installer 3.1 is the program that will handle the installation of applications. The installer of .NET Framework 3.5 SP1 needs the Windows Installer 3.1. If it is not present on the system, the .NET Framework will not be installed. Do the following steps to install your app. 1. Copy the .NET Framework 3.5 SP1 install file to the pc 2. Execute it to install the framework 3. If this installation of the framework fails because of a missing Windows Installer 3.1, you have to download the file from the web and install the Windows Installer. 4. Go to Visual Studio, select "Release" from the "Configuration Manager" (must be in the toolbar) 5. Build your application 5. Copy the content of your bin\Release folder of your solution to the pc where you want to use the app. 6. Run your app.exe -> if everything is correct your app will run now

          It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

          V 1 Reply Last reply
          0
          • S SeMartens

            The Windows Installer 3.1 is the program that will handle the installation of applications. The installer of .NET Framework 3.5 SP1 needs the Windows Installer 3.1. If it is not present on the system, the .NET Framework will not be installed. Do the following steps to install your app. 1. Copy the .NET Framework 3.5 SP1 install file to the pc 2. Execute it to install the framework 3. If this installation of the framework fails because of a missing Windows Installer 3.1, you have to download the file from the web and install the Windows Installer. 4. Go to Visual Studio, select "Release" from the "Configuration Manager" (must be in the toolbar) 5. Build your application 5. Copy the content of your bin\Release folder of your solution to the pc where you want to use the app. 6. Run your app.exe -> if everything is correct your app will run now

            It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

            V Offline
            V Offline
            VisualLive
            wrote on last edited by
            #5

            Hi Se Martens, your way so clear within few days i will try it as you told me and i will let you know how is the result. Thanks so much for your support :) Have a happy day

            V 1 Reply Last reply
            0
            • V VisualLive

              Hi Se Martens, your way so clear within few days i will try it as you told me and i will let you know how is the result. Thanks so much for your support :) Have a happy day

              V Offline
              V Offline
              VisualLive
              wrote on last edited by
              #6

              HI Martens, that's all right ,i follow you directory and i could install the software so well. Thanks for your support. Have a nice day. :) Bye

              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