Archive: Writing into the Regestry


Writing into the Regestry
Hi,

i'm new to this installer, so i tried alot of examples and read the tutorials.
But now I have a problem writing into the regestry under windows 7.
I can write the installer dir to "Software\Microsoft\Windows\CurrentVersion\App Paths\myapp.exe"

But when i want to set the install dir in
"Software\MyName\MyApp" it did not work.

I've created the installer script with the hm-edit editor.
I only changed the line where the PRODUCT_DIR_REGKEY is defined.

Can someone help me what i'm doing wrong.

HeReSY


It will have wrote to Software\Wow6432Node under Windows x64. If you want to avoid this, use SetRegView 64.

Stu