Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Setting Registry Values

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting Registry Values

    I think there may be something wrong with my syntax - if anyone could provide me with the corrected versions, I'd be far less stressed this morning...

    Code:
    Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\JCB Interactive Price ListQ4 2004", "NoModify", "1", REG_SZ);
    Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\JCB Interactive Price ListQ4 2004", "NoRepair", "1", REG_SZ);
    Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\JCB Interactive Price ListQ4 2004", "DisplayIcon", "%AppFolder%\\start.ico", REG_SZ);
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  • #2
    Your syntax looks OK, could it be: "Unin stall" is wrong? Should it be "uninstall"?

    Comment


    • #3
      By the way, Eric, you don't need any of those keys in SUF70. "NoModify" and "NoRepair" are done automatically and you can set the icon from the Uninstall properties.

      Comment


      • #4
        Thanks on both accounts, Brett! :yes
        Eric Darling
        eThree Media
        http://www.ethreemedia.com

        Comment

        Working...
        X