How do I install to LocalAppData folder?

前端 未结 4 1175
囚心锁ツ
囚心锁ツ 2021-02-18 14:42

Following directory setting works perfectly for me.


  

        
4条回答
  •  我寻月下人不归
    2021-02-18 14:59

    I converted an application from being a perMachine install to be a perUser install. In order to properly convert the install I had to add a registry key for each of the components I have.

    Originally I had the following:

    
      
        
          ...
    

    When I moved the exe component to the user install I had to do something like this:

    
      
        
          
          
          
            
          
          
          
        
       ...
    

    The most important part is that you will have to add a registry key which points to HKEY_CURRENT_USER. I added a registry value for each component which indicates that the component is installed.

    I also had to remove the following: Advertise="yes".

提交回复
热议问题