![]() |
Custom Page
Hi, I made a custom page and it works so far. My problem: At the custom page are two options. One to install and one to update. I want if one of them is marked install.nsh or update.nsh will be included. The .nsi file should only contain this lines. But i don´t become it working. Can you say me how i get it working? I hope you can understand my miserable English ^^
code: |
!include is a compile-time command. It will always run so long as the !if*'s around it evaluate to true. What you want is two macros or functions and to invoke the correct one depending on the selection.
|
You can't include a header at runtime.
edit: we're posting coinstantaneously with goldy, sorry :) |
Quote:
Quote:
|
Also, you may add the code straight to your section e.g.
code: |
Thanks thanks thanks! :)
|
| All times are GMT. The time now is 04:57. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.