Setting Registry key write permissions using .NET

前端 未结 4 1355
广开言路
广开言路 2020-12-15 07:31

I\'m trying to grant Write access to my application\'s registry settings to everyone or all users of a machine during the install process.

My application does not

4条回答
  •  忘掉有多难
    2020-12-15 07:46

    I ended up taking a different and better approach by switching to Wix 3.0. Using the Wix installer I'm able more easily customize and expand my install.

    Add Wix Util Extension namespace:

    
    

    Wix Sample for registry permissions:

    
    
      
    
        
        
        
            
         
        ...
    

提交回复
热议问题