Yathosho
14th March 2004 04:05 UTC
InstallOptions: Anchor in links
i'd like to use an anchor in a link on an IO page. this does not work, i assume that's because it ignores the # and it's following parts (=comment!).
i tried to get around that by using a variable with the anchor link, but that didn't work either. couldn't find something like $/#.
any solution?
deguix
14th March 2004 10:16 UTC
Put it inside quotes ("" or '' or ``).
Yathosho
14th March 2004 13:02 UTC
that didn't work, maybe because i write the state onInit?
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioA.ini" "Field 1" "State" "file:///$EXEDIR/doc/index.htm#1.1"
Joost Verburg
14th March 2004 13:10 UTC
That should work. Does it work when putting it directly in the INI file?
Yathosho
14th March 2004 13:48 UTC
no, in both cases it opens index.htm, but doesn't jump to the anchor
Joost Verburg
14th March 2004 14:25 UTC
And what happends when you enter it in Start > Run? If it doesn't work there it's not supported.
Yathosho
14th March 2004 14:37 UTC
alright doesn't work, seems like i have to solve this with an additional html file. thank you anyway!