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

Got a problem you cannot solve? Try here.
Kostya
Posts: 25
Joined: Tue Jul 25, 2017 8:09 am

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

Postby Kostya » Tue Jun 17, 2025 9:59 am

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

JohnGaver
Posts: 240
Joined: Mon Feb 05, 2024 6:15 pm

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

Postby JohnGaver » Tue Jun 17, 2025 2:24 pm

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?
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm

Kostya
Posts: 25
Joined: Tue Jul 25, 2017 8:09 am

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

Postby Kostya » Wed Jun 18, 2025 5:36 am

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!

JohnGaver
Posts: 240
Joined: Mon Feb 05, 2024 6:15 pm

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

Postby JohnGaver » Wed Jun 18, 2025 7:37 am

Right, that would probably work with Windows Installer given their internals, but not the Native Engine! No worries :)
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 36 guests