/build/static/layout/Breadcrumb_cap_w.png

Remove Registry Value

I need some help deleting a registry key. I am looking for a way to get it done with "Remove Table". I am a bit confused as i do not need to delete a key but a value in it.

hklm\SYSTEM\currentcontrolset\services\SGNAuthService\DependOnService

The value in the key is "123" and "xyz", i need to delete "xyz". Can this be done with Remove Registry Table?

Or it only removes the key and my task should be done with CA?

Thank you.


0 Comments   [ + ] Show comments

Answers (4)

Posted by: SMal.tmcc 11 years ago
Red Belt
2

http://www.itninja.com/question/difference-between-registry-and-removeregistry-table

http://msi-faq.wikidot.com/table-removeregistry

Posted by: ogeccut 11 years ago
Black Belt
1

I got the CA already. i was just wondering if this can be done with a table.

Posted by: rileyz 11 years ago
Red Belt
1

Have a look at this link.
http://msdn.microsoft.com/en-gb/library/windows/desktop/aa371168(v=vs.85).aspx

You should be using the registry table to do that sort of thing. You could just write a null/blank value to the key on install. Im assuming you are installing.

Dont forgot to add an entry to the remove registry table if you are doing this manaully. If your using Admin Studio etc, it should be fine.

Hope that gives you a good pointer atleast.


Comments:
  • Ive never seen "Remove Table" before, is this a windows installer thing? - rileyz 11 years ago
Posted by: ogeccut 11 years ago
Black Belt
1

Sorry for the wrong information. I was asking about "remove registry" table

The key is created with a .dll or CA from the vendor installation.

I cant leave it blank.

Again....it has a value "123", and "xyz". I need to delete "xyz" and leave "123".

Not Blank.

Can this be done with remove registry table?


Comments:
  • Ahh, that sucks it might be a CA writing the key.

    Option 1)
    Add a entry to overwrite it with a null value in te Registry Table, or use the GUI whatever program you use. Then shift the WriteRegistryValues action to the end of the Execute Sequence. This could work, also might blow up.

    Option 2)
    Use a custom CA and just do a command line windows tool (REG) to write the value you need. Ugly but will do the job and less likely to blow in your face (screw the MSI) - rileyz 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ