Skip to content
⌘ NSIS Forum Archive

Dynamic Variables $$0

2 posts

bsul#

Dynamic Variables $$0

I folk, is this posible?

ReadINIStr $0 "Global.ini" "Product Installation Settings" $R0 
ReadINIStr "$$0" "Global.ini" "Product Installation Settings" $R0 
In know it's not, but is there a workaround?

thx 4 help a newbee

Bernhard
mauvecloud#
I tried a small script like that, and it doesn't compile. NSIS needs the variables to be declared, but if you know the possible values for the first read, you can use ${Select} from LogicLib.nsh to read into a different variable depending on the value of the first one.