Cannot write to registry

Got a problem you cannot solve? Try here.
Post Reply
tosch
Posts: 63
Joined: Thu May 27, 2010 8:44 am

Cannot write to registry

Post by tosch »

I have a fairly simple installation where I try to write a string value to the registry. But the entry is never written to the registry. I displayed a messagebox in the skript so I'm sure the code is executed.
The installation runs on a 32-bit Win7 machine.
I try to write to HKLM\Software\SwissSoft\SwissSalaer, Value: EXEPath, Data: $TARGETDIR$

Any ideas?

Thomas
tosch
Posts: 63
Joined: Thu May 27, 2010 8:44 am

Re: Cannot write to registry

Post by tosch »

Found the problem: I was writing to the registry after the Apply Install command.

Tosch
Post Reply