Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

DWORD In Reg returns with #


4 replies to this topic

mouy

mouy
  • Members
  • 56 posts

Posted 13 February 2004 - 06:28

Hi,

Im trying to retrieve a dword from the registry and then displaying this in a dialog box.

However, it always puts a # infront of the value. How can I get rid of this?

I am using DevStudio9 and Basic MSI project.

Help,

Thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 February 2004 - 10:17

You will have to use a custom action to remove the leading #

dtasanas

dtasanas
  • Full Members
  • 83 posts

Posted 04 November 2004 - 00:19

is there a way to do a compare against this value?

i'm reading in a DWORD registry value and would like to use this value in a conditional check. do i have to remove the leading '#' or is there some way to do a comparison with this value without having to write a custom action.
Don Tasanasanta[br]Configuration/Installation Eng

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 November 2004 - 14:24

That depends on your comparison. You could compare against "#1234" for instance.

dtasanas

dtasanas
  • Full Members
  • 83 posts

Posted 04 November 2004 - 23:01

wow... that actually worked. who would have thunk it.

thanks!

Edited by dtasanas, 04 November 2004 - 23:01.

Don Tasanasanta[br]Configuration/Installation Eng