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

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

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

Post 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
JohnGaver
Posts: 265
Joined: Mon Feb 05, 2024 6:15 pm

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

Post 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?
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/installawa ... atform.htm
Kostya
Posts: 29
Joined: Tue Jul 25, 2017 8:09 am

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

Post 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!
JohnGaver
Posts: 265
Joined: Mon Feb 05, 2024 6:15 pm

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

Post by JohnGaver »

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/installawa ... atform.htm
Post Reply