|
|
#1 |
|
Junior Member
Join Date: May 2002
Posts: 2
|
2 Reg Keys, 1 Install Dir
hi!
i want to search for reg key A und reg key B. when the one of these keys is found it should be the install dir. i tried it with InstallDirRegKey ... InstallDirRegKey ... but it don't work ... |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
Do something like this:
-Hendri.code: |
|
|
|
#3 |
|
Junior Member
Join Date: May 2002
Posts: 2
|
mh
it doesn't work
perhaps an example would help ... - christoph |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
What error does it give you?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 | |||
|
Senior Member
Join Date: Mar 2002
Location: France / Paris
Posts: 138
|
I'ld have written ...
function .onInit ReadRegStr $0 [RegAddress_A] ReadRegStr $1 [RegAddress_B] Quote:
Quote:
StrCpy $0 $1 Quote:
NotFound: ... functionend |
|||
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Mar 2002
Location: France / Paris
Posts: 138
|
.. sorry, i forgot a label
!StrCmp $0 "" 0 Continue StrCpy $0 $1 Continue:
|
|
|
|
|
|
#7 |
|
Guest
Posts: n/a
|
veekee, my code works fine.
weidhas, an example? The code supplied already was an example. But ok. -Hendri.code: |
|
|
|
#8 |
|
Senior Member
Join Date: Mar 2002
Location: France / Paris
Posts: 138
|
Apologizes
Sure, your code works
Bad veekee, bad ! |
|
|
|
|
|
#9 |
|
Guest
Posts: n/a
|
Veekee, it's OK.
-Hendri. |
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|