Skip to content
⌘ NSIS Forum Archive

Dialogue for SetOutPath

4 posts

qpos#

Dialogue for SetOutPath

I have a dialogue to choose from option A or B. The SetOutPath will be taken base on the selection of A or B.
If option A is selected the SetOutPath will be.
SetOutPath "C:\Windows\SysWow64\config\systemprofile\Myapp"
If option B is selected the SetOutPath will be.
"C:\Windows\System32\config\systemprofile\Myapp".
Could this be done?
Thanks for the help.
Anders#
If you already have a dialog with radio buttons, what is the question exactly? and if not, see the nsDialogs readme and examples.

If this is just about 64bit detection, checkout x64.nsh
qpos#
The question is, how could I have the SetOutPath to be change upon the selection made, lets say one choose option A, so base on this choice I would like to have something like this.
SetOutPath If select A,”C:\Windows\System32\config\systemprofile\Myapp”
Else,”C:\Windows\SysWow64\config\systemprofile\Myapp”