I have installer_type
variable which will have either desktop
or server
as its value.
If the value is server then page1 should get inserted in the installer and page2 should be hidden for this installer and vice versa.
StrCmp installer_type "server" 0 +3
Page custom page1 page1Leave
Goto Done
Page custom page2 page2Leave
Done:
Please let me know how to achieve this in .nsi file