Page 1 of 1

Writing DWORD data to the Registry when the Native Engine is enabled

Posted: Tue Jun 17, 2025 9:59 am
by Kostya
Hello,

For some reason I have to execute the Write Registry command when the NATIVE_ENGINE is set to TRUE. Previously I used a trick with adding "#" to the beginning of the string so that the value in the Registry would be of type DWORD, since the command does not allow to select this data type. But with the Native Engine enabled this does not work. How could I do this now, to write DWORD data to the Registry?

Thanks,
Kostya

Re: Writing DWORD data to the Registry when the Native Engine is enabled

Posted: Tue Jun 17, 2025 2:24 pm
by JohnGaver
This topic applies to InstallAware Multi Platform as well.

How do you mean?

Aren't you just selecting the Integer type in the Write Registry command?

Re: Writing DWORD data to the Registry when the Native Engine is enabled

Posted: Wed Jun 18, 2025 5:36 am
by Kostya
Ah, that's right, the Integer type is of course what I need in this case. I just used the "#" at the beginning of the string before to write the value as DWORD. Found a mention of this somewhere. It was on the surface. Sorry, and thank you for the tip!

Re: Writing DWORD data to the Registry when the Native Engine is enabled

Posted: Wed Jun 18, 2025 7:37 am
by JohnGaver
Right, that would probably work with Windows Installer given their internals, but not the Native Engine! No worries :)