From a customer I got the question to update the Thin Clients with Flash Player 18 (for Flash Redirection) , the customer has HP Thin Clients with Windows 7 embedded. I suggested they should use the free HP device Manager for managing the Thin Clients, not just for rolling out new image but also install updates onto the TC’s.
After trying to install some software onto the TC I noticed that the software wont install, this is because the TC’s have their TEMP folder redirected to the Z-drive. When changing this to the c-Drive I could install the software. After knowing this I created the separate tasks which I could use in multiple occasions.
Basically you need the following tasks:
- Change Temp from Z:\Temp to C:\Temp
- Install Flash Player
- Change Temp from C:\Temp back to Z:\Temp
I’m assuming you already configured HP Device Manager and have it working so I won’t explain how to install it.
Open HP Device Manager en login to the console, go to the Task Templates and select on of the templates shown in the screenshot, we will use the following templates for our tasks:
- _File and Registry
- _Template Sequence
Create: “Change Temp to C” task and “Change Temp to Z” task
To change the Temp from Z:\Temp to C:\Temp you need to edit the Registry. Open the _File and Registry Template and click add and select Registry. In the new windows create the following tree HKLM\System\CurrentControlSet\Control\Session Manager\Environment\ and add the following values:
Value : C:\Temp
Value : C:\TMP
Click OK and save the task as “Change Temp to C”.
Repeat these steps with the following values:
Value : Z:\Temp
Value : Z:\TMP
and save the task as “Change Temp to Z”.
Create: “<Program install>” Task
To install the program on the Thin Client we need three steps:
- Deploy files
- Start install Script
- Delete files
First we create the install script. We create a install.cmd file with the following lines:
msiexec /i “C:\Temp\install_flash_player_18_active_x.msi” /qn
msiexec /i “C:\Temp\\install_flash_player_18_plugin.msi” /qn
and save this to the same location where the Flash Player install files are located.