Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 7th April 2009, 07:36   #1
Panarchy
Member
 
Join Date: Nov 2008
Posts: 72
How do I create a simple installer to copy files to multiple directories?

Hello

I would like to know how to create a simple installer using NSIS which will, at launch of setup, ask me to choose (from a Drop down list or radio buttons) which Operating System I am installing it on (or could auto-detect this?).

Firstly, I'll explain what I need done.

I need 2 files (.exe and .ini) copied to the following directories;

On Windows (XP, Server 2003 and everything before);[list=1][*]%WINDIR%\servicepackfiles\i386[*]%WINDIR%\system32\dllcache[*]%WINDIR%\system32[*]%WINDIR%[/list=1]On New Windows! (Vista, Win7, Server 2008 etc. including x64);[list=1][*]%WINDIR%[*]%WINDIR% \servicepackfiles\i386[*]%WINDIR% \system32\dllcache[*]%WINDIR%\SysWOW64 - (NOTE: Probably only on Vista x64)[*]%WINDIR%\winsxs\amd64_microsoft-windows-notepad_31bf3856ad364e35_6.0.6001.18000_none_cb3928ff285d2ca9 - (NOTE: Probably only on Vista x64)[*]%WINDIR%\winsxs\amd64_microsoft-windows-notepadwin_31bf3856ad364e35_6.0.6001.18000_none_9ee86862b36a7eff - (NOTE: Probably only on Vista x64)[*]%WINDIR%\winsxs\x86_microsoft-windows-notepad_31bf3856ad364e35_6.0.6001.18000_none_6f1a8d7b6fffbb73[/list=1]Any advice on how I could do this would be truly appreciated.

Thanks in advance,

Panarchy
Panarchy is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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