Old 20th January 2007, 13:24   #1
Jedi22
Junior Member
 
Join Date: Jan 2007
Posts: 2
Components Installer

EDIT2: Sorry about this. I think this will be easier.

If this is any easier, this is what has been discussed between our group. We don't want to lose valuable internet traffic, so is it possible to write an installer program that does the following.

User downloads installer program, again, nothing to "install" as such inside this. User downloads individual packages or modules inside zip files from our site, and drops these into the main installer folder. The installer, when run, knows where to look for these using environment variables \Packages, and the user clicks install and boom, the packages they have downloaded are run silently then the original zips are deleted from the system.

Or, the user can run this wrapper program and browse for an individual package, which the wrapper then installs. The wrapper then deletes the original package file.

This can be repeated again for different packages they download.

Any ideas?

Last edited by Jedi22; 20th January 2007 at 14:37.
Jedi22 is offline   Reply With Quote
Old 20th January 2007, 19:41   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Plugins: NSISdl & ZipDLL.
Instructions: IfFileExists, CopyFile, Delete.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 21st January 2007, 03:46   #3
Jedi22
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks Joel, that makes things a bit clearer.

The only thing is, the installer "wrapper" must be able to recognise packages dynamically, will ifFileExists cover that??

I'll have a read up about that function tomorrow.
Jedi22 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