Archive: Fails to write registry values on a few machines


Fails to write registry values on a few machines
I am using NSIS for the first time.

I am getting a failure to launch the program after install because it cannot read the registry values. It then messages the user to reinstall.

Over the last two months 16 failed in this manner. It does not write the values on these machines during installation and hence the program will not initiate.

Any known viruses or am I missing something?


Hello lawisevil,

If you are not in a admin session, you can't read/write in the HKLM root key of the registry (unless the admin give you the permissions on this root key).
So you should write your values on the HKCU root key of the registry if you are not admin (normally, users have permissions on this root key).

Maybe you are getting failures for an other reason but this one can explain it if you are installing in a restricted session.