![]() |
Install one or more Clients
Hi!
I'm trying to generate an installation routine which should have the following functionality: With a installation-routine it should be possible to distribute and install a defined software program to one or more computers automatically. The selection, which computers should be updated, is realised with a custompage and the result (selection) is stored in a predefined file. The next step is to read this selection-file line by line and to distribute the software accordingly. As an attachment I send you my version of the installation-routine. The question is: How do I have to include the components for their proper installation? Thx edit: can't upload files so here a link to ZIP: multiclients.zip |
Can you upload it somewhere else? I keep getting an error message I can't read when trying to download.
|
sorry here the code from NSI
PHP Code:
|
and here is a sampe INI
PHP Code:
|
I don't understand the question. What are those components you wish to install? What do you mean by including them? Do you want to include files with the installer? If so, use File.
If you're asking about installing files to a remote computer, that depends on the protocol you wish to use and the access method. If you wish to use Windows shares, simply write the files to \\server\share, it works just like any other directory. |
The problem: you select one ore more Clients in Custom Page.
The Sections (1,2,3), there selectet in Components Page must include in the loop. Sample: Select on Customepage "select_pc" 2 Clients This 2 Clients where Written in a temp File pc.txt Start MUI_PAGE_COMPONENTS Select Section 1 and 3 start MUI_PAGE_INSTFILES Read fist line from pc.txt Result = Client1 Install selected Sections on Clint1 Read next line from pc.txt Result = Client2 Install selected Sections on Client2 Read next line from pc.txt Result = empty Start MUI_PAGE_FINISH The Components in the Sample are only you see the Sections are Starts. |
So you're asking how to select section from the script? For that you have the macros in Sections.nsh named SelectSection and UnselectSection.
|
| All times are GMT. The time now is 04:17. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.