|
|
#7 |
|
Senior Member
|
well i got around it doing it like this and it seems to work.
ReadRegStr $1 HKLM \ "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Path Push $1 Push "wbem" Call StrStr Pop $R0 StrCmp $R0 "" true false true: ; the item isnt here so add it now Push "$sysdir\wbem" Call AddToPath Goto End false: ;nothing to do today, hurray! Goto End |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|