Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Newbie : other package ort file list depending on windows Ver (http://forums.winamp.com/showthread.php?t=244666)

ciegalo 26th April 2006 14:25

Newbie : other package ort file list depending on windows Ver
 
Hi to all,
I'm totally new to NSIS... I went through the manual & forums but I could not find what I need.

My installer needs to be multilingual (that'll be for later) and to install files in several directories. The hard part is that files are different if target OS is XP, 98, 2000... I've found several posts speaking of that, got the GetWindowsVersion script and found the Quick script generator.

But I still can't figure out how to write the script...

Any pointers ? Hints ?

Thanks in advance !
Ciegalo

Afrow UK 26th April 2006 16:06

Use LogicLib.
See Examples\LogicLib

-Stu

Red Wine 27th April 2006 05:13

Quick Setup Script Generator could not help you on that. You have to write the code manually :-)
Using LogicLib would be the easiest way. For example:
Get the results from GetWindowsVersion
${If} ; is win 98 install these files
${ElseIf} ; is win 2000 install those
etc. See the included LogicLib example.
regards


All times are GMT. The time now is 04:35.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.