Skip to content
⌘ NSIS Forum Archive

Using a switch function on a Var

3 posts

Tom_bmx#edited

Using a switch function on a Var

Hi, im trying to just make a .exe installer but i was wanting to do one or two things.

1)[SOLVED]

2)I have made a drop down selection box with 3 variables, but now i want to make a function to do different things depending on the users selection.

I know how to do it in c++ but since i never use this language or know any of the commands I'm kinda of stuck.

Thanks in advanced, Tom.
lazlot#
1) $LOCALAPPDATA
2) The sample I posted in the Call $Var thread a few posts down might help you.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Tom_bmx#
thanks a lot ! 1) solved.

I'll check that out now thanks.

Edit: yup that worked a treat thanks 😁