Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi I am making sms software in vb6 wich work as windows service.my sms system is install more than 30 pcs in different locations.everything works fine but my problem is if user reinstall windows my sms software definately removed. i have a batch file which create SMsService.exe service . smsService.exe current location is d:\sms\ .so the question is there any way .if user reinstall windows my batch file automatically execute and create service again and my application works again.i hear something AutoRun.inf but autorun.inf not works for me..please give me any solution..
Posted
Comments
bbirajdar 7-Oct-13 5:41am    
And what is the user does not want to install your service ? Why are you forcing him to install your application on his machine ? He can pull you in the court for that....

Group policies is usually used for this.
 
Share this answer
 
No. Else, Make your own version of Windows
 
Share this answer
 
Hi
If your network has a Active Directory you can use it this facilities follow of links:
http://blogs.technet.com/b/deploymentguys/archive/2009/06/22/installing-applications-based-on-active-directory-group-membership.aspx[^]
http://stackoverflow.com/questions/1434320/active-directory-users-and-computers-mmc-snap-in-for-windows-7[^]
http://serverfault.com/questions/165013/allow-domain-users-to-install-software-on-their-computers[^]
http://www.symantec.com/business/support/index?page=content&id=HOWTO81177[^]

How to install domain controller:
http://technet.microsoft.com/en-us/library/cc759011(v=ws.10).aspx[^]
http://publib.boulder.ibm.com/infocenter/tivihelp/v20r1/index.jsp?topic=%2Fcom.ibm.tivoli.tpm.guides.doc%2Ftpm511installationguidewin71.htm[^]

If you have not active directory you can do it:

1- Make server one of the stations
2- Build a new Service and install on your server it should do these tasks:
2-1. Ping the other stations
2-2. If the station answer the ping it should check your sms service
2-3. If your station have not sms service so ok your Service should install sms service on this machine

However you should pay attention to for this purpose you need a socket programming and Client/Server Architect.

Best Regards.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900