Indigo Rose Software
  #1  
Old 09-24-2004
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
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
Reply With Quote
  #2  
Old 09-24-2004
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Your syntax looks OK, could it be: "Unin stall" is wrong? Should it be "uninstall"?
Reply With Quote
  #3  
Old 09-24-2004
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
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.
Reply With Quote
  #4  
Old 09-24-2004
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Thanks on both accounts, Brett!
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
INFO: Finding Shell Folders in the Registry Support Setup Factory 6.0 Knowledge Base 0 10-10-2002 04:52 PM
Help! Setting Registry Keys - Failure diver Setup Factory 6.0 2 04-18-2002 07:37 PM
Query Registry Values Deano Setup Factory 6.0 8 01-05-2002 12:22 AM
Registry Values Determination strongcomet AutoPlay Menu Studio 3.0 0 03-18-2001 09:59 AM
REGISTRY VALUES ARE SET WRONG Lee Edwards Setup Factory 5.0 1 11-13-2000 04:29 PM


All times are GMT -6. The time now is 05:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software