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