Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th June 2001, 00:31   #1
ractive
Junior Member
 
Join Date: Jun 2001
Posts: 3
Hello all

I found it very useful to know on what version of Windows the installer is running on.
Therefore I made a small patch that implements this functionality.

In you installation script you can do something like this:

.....
WindowsVersion Win32 WinNT
Win32:
File Warning.txt
File readme-win95.txt
ExecWait '"$WINDIR\notepad.exe" "$INSTDIR\Warning.txt"
WinNT:
blabla
......

The first jumptarget is taken if it's Windows 9x/ME, the second if it's WinNT/Win2000

If you're interested in this patch, please write me. I will send you the patch or the final executable.

Regards

James
http://www.ractive.ch

ractive is offline   Reply With Quote
Old 12th June 2001, 02:04   #2
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
Doh! This has already been done in function form, but there is no official link to the page yet.

http://www.firehose.net/free/nsis/functions.html

Edgewize is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump