Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    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. #2
    Join Date
    Jan 2000
    Posts
    2,002
    Your syntax looks OK, could it be: "Unin stall" is wrong? Should it be "uninstall"?

  3. #3
    Join Date
    Jan 2000
    Posts
    2,002
    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.

  4. #4
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804
    Thanks on both accounts, Brett!
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

Similar Threads

  1. INFO: Finding Shell Folders in the Registry
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:52 PM
  2. Help! Setting Registry Keys - Failure
    By diver in forum Setup Factory 6.0
    Replies: 2
    Last Post: 04-18-2002, 06:37 PM
  3. Query Registry Values
    By Deano in forum Setup Factory 6.0
    Replies: 8
    Last Post: 01-04-2002, 11:22 PM
  4. Registry Values Determination
    By strongcomet in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 03-18-2001, 08:59 AM
  5. REGISTRY VALUES ARE SET WRONG
    By Lee Edwards in forum Setup Factory 5.0
    Replies: 1
    Last Post: 11-13-2000, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts