Skip to content
⌘ NSIS Forum Archive

Multi installer Vista + XP (or Windows 2000)

14 posts

theblase#

Multi installer Vista + XP (or Windows 2000)

I want to create an installer with these parameters:

- if the operation system is Windows Vista the installer not install 2 files to the installdir path
- otherwise yes

Can you give a sample script?
I'm a beginner NSIS developer..

Thanks,

theblase
theblase#
I find it!

I find this "WinVer.nsh", but I don't find any ideas for my problem.

I want to create an installer with these parameters:
- if the operation system is Windows Vista the installer not install 2 files to the installdir path
- otherwise yes

Can you help me?

Thanks forewer!
👍
Anders#
Originally posted by Anders
WinVer.nsh already contains example code
just replace whatever OS is tested for in the example with what you need (might want to use ${IfNot} etc)and replace the detailprint code with a file command
theblase#edited
I'm a beginner in NSIS programming

How can I apply this Winwer.nsh in my .nsi script?

Here is my .nsi script:

193.224.61.147:85/download/AllinOne.nsi

Can you attach a complete sample script for me?

Thanks!
theblase#
Re: I'm a beginner in NSIS programming

Here is my .nsi script:
Anders#
Re: Can anyone help me?

Originally posted by theblase
Thanks!
Many thanks!
Bumping a thread will just cause me to ignore your cry for help...