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. Web Development
  3. ASP.NET
  4. during installation of desktop application, how to check that one of the perticular file/application have installed or not..

during installation of desktop application, how to check that one of the perticular file/application have installed or not..

Scheduled Pinned Locked Moved ASP.NET
helptutorial
5 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.
  • P Offline
    P Offline
    Pradeep Kumar Srivastava
    wrote on last edited by
    #1

    Hello, Can anybody help me regarding logic, how to check that perticular files have already installed or not in local system during installation of desktop application. Actually i've created a desktop application. Now for that application, some microsoft.sqlserver files must be installed in the local system. I want that during installtion of my desktop application, there should be a way for checking that .sqlserver files have installed. If not then, it prompt to the user that those files must be installed for this desktop application. Please help me about this asap... :-(

    Thanx Deep

    M 1 Reply Last reply
    0
    • P Pradeep Kumar Srivastava

      Hello, Can anybody help me regarding logic, how to check that perticular files have already installed or not in local system during installation of desktop application. Actually i've created a desktop application. Now for that application, some microsoft.sqlserver files must be installed in the local system. I want that during installtion of my desktop application, there should be a way for checking that .sqlserver files have installed. If not then, it prompt to the user that those files must be installed for this desktop application. Please help me about this asap... :-(

      Thanx Deep

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      If you are using ClickOnce, you can add the SQL server as the pre-requisition... No coding required. If you wanna check the registry, you can also check this key. "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion" too.

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      P 1 Reply Last reply
      0
      • M Michael Sync

        If you are using ClickOnce, you can add the SQL server as the pre-requisition... No coding required. If you wanna check the registry, you can also check this key. "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion" too.

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        P Offline
        P Offline
        Pradeep Kumar Srivastava
        wrote on last edited by
        #3

        thanx Michael. but can you explain me how will i check the registry during installation of my desktop application. i will be very thankfull if you provide some example code for this.. Plz rply asap... i am waiting for ur rply..

        Thanx Deep

        M 1 Reply Last reply
        0
        • P Pradeep Kumar Srivastava

          thanx Michael. but can you explain me how will i check the registry during installation of my desktop application. i will be very thankfull if you provide some example code for this.. Plz rply asap... i am waiting for ur rply..

          Thanx Deep

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          I know that it can be done by using custom action in your installer class but I'm not very familiar with normal setup because I used to use ClickOnce in the most of my projects... so, if you want to know about custom action, you can search in google. ..net setup and deployment with custom action[^] If you want to use Clickonce then you just need to check the pre-requisition button in publishing page..

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

          P 1 Reply Last reply
          0
          • M Michael Sync

            I know that it can be done by using custom action in your installer class but I'm not very familiar with normal setup because I used to use ClickOnce in the most of my projects... so, if you want to know about custom action, you can search in google. ..net setup and deployment with custom action[^] If you want to use Clickonce then you just need to check the pre-requisition button in publishing page..

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

            P Offline
            P Offline
            Pradeep Kumar Srivastava
            wrote on last edited by
            #5

            thanx Michael, I dont want to install anything during installation of my desktop application. I just want that during installation, installer check that perticular files have been installed or not on the user's local system and prompt to the user that for this desktop application these files must be installed on your system. After prompting this message, installation of my desktop application must be completed. I think you are getting my problem. Please provide help accordingly. I am waiting for your reply.. Plz provide asap...

            Thanx Deep

            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