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. Visual Basic
  4. Create setup project using own code

Create setup project using own code

Scheduled Pinned Locked Moved Visual Basic
sysadminhelpworkspace
8 Posts 3 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.
  • K Offline
    K Offline
    kvelu d
    wrote on last edited by
    #1

    Without using any setup and deployment, how can we create the setup file using fresh code. Please help me to find out the solution. Thanks in Advance, KV

    D 1 Reply Last reply
    0
    • K kvelu d

      Without using any setup and deployment, how can we create the setup file using fresh code. Please help me to find out the solution. Thanks in Advance, KV

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Write code to copy your files to the appropraite places required, create and the registry keys and values you need, and modify any other configuration files. Shouldn't be too hard, just time consuming.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      K V 2 Replies Last reply
      0
      • D Dave Kreskowiak

        Write code to copy your files to the appropraite places required, create and the registry keys and values you need, and modify any other configuration files. Shouldn't be too hard, just time consuming.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        K Offline
        K Offline
        kvelu d
        wrote on last edited by
        #3

        please give me any sample code Thanks KV

        V D 2 Replies Last reply
        0
        • K kvelu d

          please give me any sample code Thanks KV

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          You Have to Create Installer Class and create CustomActions. look at this http://www.google.co.za/search?hl=en&q=Create+Installer+Class&btnG=Google+Search&meta=[^] Am Still Struggling in that matter too. trying to update the WebConfig.

          Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

          1 Reply Last reply
          0
          • D Dave Kreskowiak

            Write code to copy your files to the appropraite places required, create and the registry keys and values you need, and modify any other configuration files. Shouldn't be too hard, just time consuming.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            V Offline
            V Offline
            Vimalsoft Pty Ltd
            wrote on last edited by
            #5

            hi Dave , Can you please help me with the kinda same Problem , i posted my Problem here http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2929159#xx2929159xx[^] Thanks

            Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

            D 1 Reply Last reply
            0
            • V Vimalsoft Pty Ltd

              hi Dave , Can you please help me with the kinda same Problem , i posted my Problem here http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2929159#xx2929159xx[^] Thanks

              Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              An ASP.NET app is a bit more complicated, and no I don't have any sample setup projects. I just don't go through the MAJOR hassle of reinventing the setup project that comes with Visual Studio.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008

              V 1 Reply Last reply
              0
              • K kvelu d

                please give me any sample code Thanks KV

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                I don't have any code that shows how to do it. And seriously, if you can't copy a file in code, you really don't have the skills to make an entire setup for you app. The only thing I use are MSI installer editors, like InnoSetup, Wise Package Studio, or InstallShield. I just don't believe in reinventing the wheel.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                1 Reply Last reply
                0
                • D Dave Kreskowiak

                  An ASP.NET app is a bit more complicated, and no I don't have any sample setup projects. I just don't go through the MAJOR hassle of reinventing the setup project that comes with Visual Studio.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007, 2008

                  V Offline
                  V Offline
                  Vimalsoft Pty Ltd
                  wrote on last edited by
                  #8

                  Thanks for your Reply Dave me too. The only thing that i need to achieve is Accept the user input from the Setup Process and change the Webconfig(ConnectionString), i dont want to move directories around, but i think i should be easy to do that. My problem in the link i gave you, is that i cant open the WEbConfig to write on it. well the code works on the page , but not on the installer Class Project.

                  Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

                  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