Lexmark X792 Lexmark Document Distributor - Page 104

Method 2-Customizing a script for remote installation on multiple, computers

Page 104 highlights

to "%CD%\..\x86\InstallGui.exe" /I:"%CD%\Install_Client_Software.isf" COMPUTER_NAME=%1 COMPUTER_USERNAME=%2 COMPUTER_PASSWORD=%3 SOLNS_INSTALL_DIR=%4 6 From the command prompt, run the script, using the new options as follows: Install_Client_Software.bat -The IP address or fully qualified domain name of the computer on which the client software will be installed remotely -The user name of an administrator account on the remote computer -The password of the selected account on the remote computer -The folder in which to install the client software on the remote computer (for example, "C:\Program Files\Lexmark\Solutions") Method 2-Customizing a script for remote installation on multiple computers The following script is customized for a single use to install client software on several specific computers. 1 Make a backup copy of the file Install_Client_Software.isf. 2 Open the file Install_Client_Software.isf in a text editor. 3 At the top of the file, add the section heading [Computer]. 4 In the new [Computer] section, add an entry for each computer on which you want to install the client software in the format PCx=x. For example: [Computer] PC1=1 PC2=2 PC3=3 5 Add a section, based on the following format for each entry added in step step 4: [PCx] ComputerName= UserName= Password= Make the following replacements in the above sample: • Replace the x in PCx with the number of the entry. • Replace with the IP address or fully qualified domain name of the remote computer. • Replace with the user name of an administrator account on the remote computer. • Replace with the password for the selected account on the remote computer. 6 From the command prompt, run the script as normal (Install_Client_Software.bat ). Client software will be installed in the specified folder on each computer specified in the file Install_Client_Software.isf. Managing software clients 104

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141

to
"%CD%\..\x86\InstallGui.exe"
/I:"%CD%\Install_Client_Software.isf" COMPUTER_NAME=%1
COMPUTER_USERNAME=%2 COMPUTER_PASSWORD=%3 SOLNS_INSTALL_DIR=%4
6
From the command prompt, run the script, using the new options as follows:
Install_Client_Software.bat <comp> <username> <pwd> <install_dir>
<comp>
—The IP address or fully qualified domain name of the computer on which the client software will
be installed remotely
<username>
—The user name of an administrator account on the remote computer
<pwd>
—The password of the selected account on the remote computer
<install_dir>
—The folder in which to install the client software on the remote computer (for example,
"C:\Program Files\Lexmark\Solutions"
)
Method 2—Customizing a script for remote installation on multiple
computers
The following script is customized for a single use to install client software on several specific computers.
1
Make a backup copy of the file Install_Client_Software.isf.
2
Open the file Install_Client_Software.isf in a text editor.
3
At the top of the file, add the section heading
[Computer]
.
4
In the new [Computer] section, add an entry for each computer on which you want to install the client software
in the format
PCx=x
.
For example:
[Computer]
PC1=1
PC2=2
PC3=3
5
Add a section, based on the following format for each entry added in step step 4:
[PCx]
ComputerName=<COMPUTER_NAME>
UserName=<COMPUTER_USERNAME>
Password=<COMPUTER_PASSWORD>
Make the following replacements in the above sample:
Replace the x in PCx with the number of the entry.
Replace <COMPUTER_NAME> with the IP address or fully qualified domain name of the remote computer.
Replace <COMPUTER_USERNAME> with the user name of an administrator account on the remote computer.
Replace <COMPUTER_PASSWORD> with the password for the selected account on the remote computer.
6
From the command prompt, run the script as normal (
Install_Client_Software.bat
<install_dir>
). Client software will be installed in the specified folder on each computer specified in the file
Install_Client_Software.isf.
Managing software clients
104