|
|
#1 |
|
Junior Member
Join Date: Apr 2006
Posts: 4
|
Manipulate part of a string
I am trying to pull a value from a registry key that has multiple pieces as such:
ProviderOrder = RDPNP,LanmanWorkstation,WebClient,PssoCM32 These could be in any order depending on when they were installed. I need to be able to remove PssoCM32 from the string and leave the rest. Could someone point me in the right direction? Any help is appreciated. |
|
|
|
|
|
#2 |
|
Member
Join Date: Jan 2003
Posts: 83
|
!include "WordFunc.nsh"
!insertmacro WordReplace ReadRegStr $0 "root_key" "sub_key" "name" ${WordReplace} $0 "PssoCM32" "" "+" $0 WriteRegStr "root_key" "sub_key" "name" $0 it's all in the manual. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2006
Posts: 4
|
Thank you very much.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|