|
|
#1 |
|
Junior Member
|
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 Last edited by Amun; 31st August 2006 at 09:36. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Can you upload it somewhere else? I keep getting an error message I can't read when trying to download.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
|
sorry here the code from NSI
PHP Code:
|
|
|
|
|
|
#4 |
|
Junior Member
|
and here is a sampe INI
PHP Code:
|
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Junior Member
|
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. |
|
|
|
|
|
#7 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
So you're asking how to select section from the script? For that you have the macros in Sections.nsh named SelectSection and UnselectSection.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|