Homeless
22nd April 2006, 08:11
Hi all,
I must insert 2 section only with this parameters:
OutFile "test.exe"
InstallDir "$PROGRAMFILES\Test1"
ShowInstDetails show
InstType "First option"
InstType "Second option"
Section "First Section" SEC01
SetOutPath "$INSTDIR"
SetOverwrite on
File "${NSISDIR}\test1.txt"
SectionEnd
Section "Second Section" SEC02
SetOutPath "$INSTDIR"
SetOverwrite on
File "${NSISDIR}\test2.txt"
SectionEnd
I dont understand the checked of options.
When i select First option the check box of section 1
must be checked and check box of section 2 not checked and of course disable.
When i select Second option the check of section 1 must be
not checked but enabled to checked and check box of section 2 checked and disabled.
There is also the possibility to change the destination path when the option i different?
If i select first option installdir must be:
InstallDir "$PROGRAMFILES\Test1"
If i select second option installdir must be:
InstallDir "$PROGRAMFILES\Test2"
Thanks a lot for help.
Thanks in advance.
HL
I must insert 2 section only with this parameters:
OutFile "test.exe"
InstallDir "$PROGRAMFILES\Test1"
ShowInstDetails show
InstType "First option"
InstType "Second option"
Section "First Section" SEC01
SetOutPath "$INSTDIR"
SetOverwrite on
File "${NSISDIR}\test1.txt"
SectionEnd
Section "Second Section" SEC02
SetOutPath "$INSTDIR"
SetOverwrite on
File "${NSISDIR}\test2.txt"
SectionEnd
I dont understand the checked of options.
When i select First option the check box of section 1
must be checked and check box of section 2 not checked and of course disable.
When i select Second option the check of section 1 must be
not checked but enabled to checked and check box of section 2 checked and disabled.
There is also the possibility to change the destination path when the option i different?
If i select first option installdir must be:
InstallDir "$PROGRAMFILES\Test1"
If i select second option installdir must be:
InstallDir "$PROGRAMFILES\Test2"
Thanks a lot for help.
Thanks in advance.
HL