Old 30th November 2005, 09:15   #1
Ace_NoOne
Junior Member
 
Join Date: Nov 2005
Location: Germany
Posts: 2
Question NSIS's capabilities?

Hello there,

I need to create a program that automates the installation of two separate, but intertwined applications and also writes some data to a properties file and creates a folder structure.

I remembered having read about NSIS some time ago, and I think it might be well-suited for this task. However, I'm not sure it supports everything I need, and since I'm a little under pressure, I can't risk starting to learn NSIS and later realizing that I need to start over with another language.

Here's a quick overview of what my installer needs to do:[list=1][*]install app1 by extracting a self-extracting archive to a user-specified folder[*]prompt the user to enter some data
possible problem: the number of fields can be dynamic, e.g. the user first chooses the number of trading partners and then has to enter some data on each of those[*]write this data to properties file (in the form [parameter]=[value])[*]create a folder structure in the installation dir (basically just create a sub-folder for each trading partner)[*]start the installation of the second app - i.e. run SETUP2.EXE
this is an independent installation routine, so I guess the user will have to install it manually[*]when the installation of app2 is complete:
tell app2 where app1 is installed (not sure yet how app2 handles this - hopefully I'll just have to edit some settings file)[/list=1]

Is NSIS well-suited for these tasks or should I rather use another language (e.g. Visual Basic or AutoHotkey)?


Thanks a lot!

Last edited by Ace_NoOne; 30th November 2005 at 10:07.
Ace_NoOne is offline   Reply With Quote
Old 30th November 2005, 15:29   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Yes to all.
If you look at the NSIS documentation there are commands suited for many taks or solving many problems, along with many functions written found on the Wiki for even more tasks.

-Stu
Afrow UK is offline   Reply With Quote
Old 2nd December 2005, 10:08   #3
Ace_NoOne
Junior Member
 
Join Date: Nov 2005
Location: Germany
Posts: 2
Okay, good to know.
However, I found it kinda hard to get into NSIS, so I guess I'll have to use AutoHotkey this time. That looks a lot less professional, but I guess I'll be much quicker that way.

I'll be sure to remember NSIS for the next project though!
Ace_NoOne is offline   Reply With Quote
Reply
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