I have an issue where I read a DWORD registry value into a property upon installation so I can use this value within our software registry and basically the property gets stored as a string instead of the intended DWORD.

For Example


When the value is stored using the raw registry read in WIS it is = "#4"

When I reimport the property into the registry:


Does anyone know how I can import the value back as a DWORD without the use of scripts?

Many Thanks

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


If you set the data type to 'string' instead of 'Double Word' in the registry details it will write the registry key as a DWORD value.
Answered 04/13/2010 by: yuri
Orange Belt

Please log in to comment
I'm not sure if I'm reading you right but a value of #4 in the registry table is interpreted as a DWORD value

Registry table

So in your Registry table do you have the value of the reg key HKEY_LOCAL_MACHINE\SOFTWARE\TCPIPPort set to #[RESULT OF DWORD READ PROPERTY]
Answered 04/14/2010 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
Hi Yuri,

As illogical as it seems that worked?!

Thank you for your promt response

Answered 04/14/2010 by: HotSpot
Orange Senior Belt

Please log in to comment
Cool one dude, something i learn, i think this may be useful in future. I am not sure how it works, but definitely i will give a trial.
Answered 04/14/2010 by: ekniranjan
Purple Belt

Please log in to comment