Upgrade a Windows Service without Uninstalling

后端 未结 6 833
抹茶落季
抹茶落季 2020-12-04 18:08

Currently I have to uninstall the old version of my service before I install the new version. I am pretty sure this has something to do with it not being smart enough to upd

6条回答
  •  有刺的猬
    2020-12-04 18:28

    I've done this with WiX, which generates .MSI files using the ServiceInstall & SeviceControl commands:

    
        
        
        
    
    

    This stops the service, installs the new version and re-starts the service.

提交回复
热议问题