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. C#: Setup Project in VS2010 with Custom actions

C#: Setup Project in VS2010 with Custom actions

Scheduled Pinned Locked Moved C#
csharpdatabasevisual-studiodesignsysadmin
8 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.
  • A Offline
    A Offline
    AshwiniSH
    wrote on last edited by
    #1

    I am creating a setup and deployment project in visual studio 2010. I need some custom action to be performed. I added an user interface with a text box that will accept the mail ID from user during installation and check from the database whether the mail id already exists in my user table. Please help me.

    L 1 Reply Last reply
    0
    • A AshwiniSH

      I am creating a setup and deployment project in visual studio 2010. I need some custom action to be performed. I added an user interface with a text box that will accept the mail ID from user during installation and check from the database whether the mail id already exists in my user table. Please help me.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      AshwiniSH wrote:

      Please help me.

      With what, you have not asked a question?

      A 1 Reply Last reply
      0
      • L Lost User

        AshwiniSH wrote:

        Please help me.

        With what, you have not asked a question?

        A Offline
        A Offline
        AshwiniSH
        wrote on last edited by
        #3

        Sorry. In my setup project, I want to add an user interface with a text box that will accept the mail ID from user during installation and check from the database whether the mail id already exists in my user table.

        L 1 Reply Last reply
        0
        • A AshwiniSH

          Sorry. In my setup project, I want to add an user interface with a text box that will accept the mail ID from user during installation and check from the database whether the mail id already exists in my user table.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          And what is the problem with doing that? Will the setup program have access to the database?

          A 1 Reply Last reply
          0
          • L Lost User

            And what is the problem with doing that? Will the setup program have access to the database?

            A Offline
            A Offline
            AshwiniSH
            wrote on last edited by
            #5

            I created a setup project in VS2010 and added a user interface selecting a text box field. The user interface is appearing during installation. I want to validate the input entered in the text box. How can I do this? Where should I check this? Please help me in how to validate the fields. In VS2012, Install shield Limited edition I did not find how to add user interface also.

            L 1 Reply Last reply
            0
            • A AshwiniSH

              I created a setup project in VS2010 and added a user interface selecting a text box field. The user interface is appearing during installation. I want to validate the input entered in the text box. How can I do this? Where should I check this? Please help me in how to validate the fields. In VS2012, Install shield Limited edition I did not find how to add user interface also.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              AshwiniSH wrote:

              Where should I check this?

              Presumably you will capture the input and validate it against some values that you have in your code.

              A 2 Replies Last reply
              0
              • L Lost User

                AshwiniSH wrote:

                Where should I check this?

                Presumably you will capture the input and validate it against some values that you have in your code.

                A Offline
                A Offline
                AshwiniSH
                wrote on last edited by
                #7

                Yes the input will be provided during installation (Say username), I want to validate this. Where should I write code to check this validation?

                1 Reply Last reply
                0
                • L Lost User

                  AshwiniSH wrote:

                  Where should I check this?

                  Presumably you will capture the input and validate it against some values that you have in your code.

                  A Offline
                  A Offline
                  AshwiniSH
                  wrote on last edited by
                  #8

                  I was able to add a user interface but not able to do any validations to it as I don't know where exactly I can refer the user interface I added. So, I decided to do it another way. i.e run my application exe after the installation. My application has a windows form which accepts user details and can validate through code behind. In this case I don't want to show "Installation Complete" screen. I want my application to be launched instead of "Installation Complete" screen. How can I do this? Can you please help me in this?

                  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