Visual studio deployment project error when writing to registry
        Posted  
        
            by Rekreativc
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rekreativc
        
        
        
        Published on 2010-05-24T14:08:46Z
        Indexed on 
            2010/05/24
            14:11 UTC
        
        
        Read the original article
        Hit count: 302
        
Hello
I have a setup for an application that was recently converted to be a framework 4.0 project (don't know if it's relevant). The setup has to write to registry (Local Machine) and until now this has always worked perfectly, however now it fails to write to registry on a clean machine (running Windows 7, 64 bit).
The setup does not fail, does not show a warning of any kind, however it does not write to the registry (I even set AlwaysCreate property to true on every key, just in case) which of course causes the application to terminate on startup.
What could be the cause of this? I have never encountered such an error before.
Edit: I have tried running the installer as administrator, didn't change anything.
© Stack Overflow or respective owner