Not enough permissions to install service

后端 未结 8 848
悲&欢浪女
悲&欢浪女 2021-02-08 14:04

I have the following declaration of my service:



        
8条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-08 14:18

    It should work without the WiX util extension. Here is my complete test installer. Create your own test project and copy and past my installer into your .wxs file. Then replace the File, ServiceInstall and ServiceControl paths and names with your own service. If you still get the same error message, could it be that you don't actually have the privileges to do the install on your machine?

    
    
    
        
    
        
        
    
        
            
        
    
    
    
        
            
                
            
        
    
    
    
        
      
        
        
        
      
        
    
        
    

提交回复
热议问题