how to Create setup with .net Framework

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joerozario
    New Member
    • Mar 2007
    • 60

    how to Create setup with .net Framework

    i have created windows application in .net 2005
    then i have created setup Project for that application

    i want create setup project with .net Frame work

    when the user start installing the setup it should verify
    wether the (needed frame work for that application ) is availeable in the system, if not it should install the framework first. then my application.

    how to do this, is it possible ?

    any ides or refrences ?

    thank u
  • Traps
    New Member
    • Apr 2007
    • 9

    #2
    Originally posted by joerozario
    i have created windows application in .net 2005
    then i have created setup Project for that application

    i want create setup project with .net Frame work

    when the user start installing the setup it should verify
    wether the (needed frame work for that application ) is availeable in the system, if not it should install the framework first. then my application.

    how to do this, is it possible ?

    any ides or refrences ?

    thank u
    Yes its possible. I dont recall how. I'm pretty sure of this. The first time you run your application after install. It will try to optimize itself for your operating system/cpu/etc. If you dont have .net framework installed. I believe an error comes up with a link to download the framework.

    Just do a search at MSDN.

    Comment

    • joerozario
      New Member
      • Mar 2007
      • 60

      #3
      Originally posted by Traps
      Yes its possible. I dont recall how. I'm pretty sure of this. The first time you run your application after install. It will try to optimize itself for your operating system/cpu/etc. If you dont have .net framework installed. I believe an error comes up with a link to download the framework.

      Just do a search at MSDN.
      dear friend

      thanks for u r replay

      yes i have got error comes up with a link to download the framework.

      my idea is when create a setup project i have to include framework inside as we add other files.

      when the user clicks on the setup it should run the freamework first then my project. is it possible?

      thank you

      Comment

      • hajaworld
        New Member
        • Sep 2007
        • 2

        #4
        i have idea for this this,try this


        when make setup for the project,
        1.right click project setup,select property,then click prerequestic button
        2.prerequestic windows is open ,here .net framework is already seleted as default,it u want more like crystal report,sql express,u can include,

        3.after select .net framework then select second radio button .ie
        download prerequestic from same location as my appilication

        4.again rebulid ur setup.
        5.then goto ur project folder in then dbl click setup project name there u see debug folder with dotnet framework,setup .exe,setup.msi

        6.use setup.exe for installation.

        7.if you take to another compauter that not having .net framework,you copy setup.exe and dotnetfx folder,here u just run setup.exe this will check .net framework,it will insatll .net it not availble



        Thanks by hajaworld@yahoo .co.in

        Comment

        • palaparthisivaprasad
          New Member
          • Feb 2008
          • 2

          #5
          Thanks for your explanation, but i need one more help.

          I want to include Sql Server to the Set up File

          Is it possible to do that.

          Please reply

          Comment

          • monteiro
            New Member
            • Feb 2008
            • 5

            #6
            Originally posted by palaparthisivap rasad
            Thanks for your explanation, but i need one more help.

            I want to include Sql Server to the Set up File

            Is it possible to do that.

            Please reply
            Try this explanation, it may help you
            http://msdn2.microsoft .com/en-us/library/7eh4aaa5(VS.80) .aspx
            or
            http://www.codeproject .com/KB/dotnet/Prerequisites_i n_Setup.aspx

            Comment

            Working...