Old 23rd October 2008, 09:54   #1
losernoob
Junior Member
 
Join Date: Oct 2008
Posts: 1
Separate install from files

I've checked where I can, but I probably haven't done enough. It's late here, and I'm pretty tired. I don't have a lot of time to do this, so I thought I'd better put up my question as sson as possible. Again, I'm sorry if this has already been answered.

I am making an extremely simple CD-based installer. I want my files to remain separate from my installer, as installation is more a convenience than a necessity.

Specifically, I want to do the following:
[list=1][*]Open a dialog box that gives the user the ability to either continue with the install, or cancel the process.[*]Copy all files (including folders) from the CD to a directory on the HD.[*]Create a special folder made of specially crafted shortcuts on the desktop.*[/list=1]

So is this possible (and fairly simple coding) for this language, or do I need to look for a more all-purpose solution?


* In case you wanted to know, I have to run the installed programs through DOSBox. I am making a CD of a friend's DOS programs so they can easily be installed on Windows, as he knows next to nothing about computers. (He didn't even know the programs were DOS programs...)
losernoob is offline   Reply With Quote
Old 23rd October 2008, 14:59   #2
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
All should be pretty much "out of the box"

1. Use a message box in the .onInit function
2. Use CopyFiles
3. use CreateShortcut (with maybe CreateDirectory)

Even the most basic install should do what you want. The best way to learn is just jump in an start playing!

(Have a look at some of the samples with NSIS and the help files to get you started.)
Comperio 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