如果用户重新安装Windows,则自动安装我的应用程序 [英] Auto Install My Application if user Reinstall Windows

查看:182
本文介绍了如果用户重新安装Windows,则自动安装我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在vb6中使SMS软件作为Windows服务工作.我的SMS系统已在不同位置安装了30多台PC.一切正常,但我的问题是,如果用户重新安装Windows,一定要删除我的SMS软件.我有一个创建SMsService.exe服务的批处理文件. smsService.exe的当前位置是d:\ sms \.所以问题有什么办法.如果用户重新安装Windows,我的批处理文件将自动执行并再次创建服务,并且我的应用程序又可以正常工作.我听到一些AutoRun.inf但autorun.inf却没有请为我工作..

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..

推荐答案

通常使用组策略.


不.否则,请制作您自己的Windows版本
No. Else, Make your own version of Windows



如果您的网络具有Active Directory,则可以使用它,这些功能可通过链接进行:
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-域用户在其计算机上安装软件 [ http://www.symantec.com/business/support/index?page=content& id = HOWTO81177 [ ^ ]

如何安装域控制器:
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 [
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.


这篇关于如果用户重新安装Windows,则自动安装我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆