A zip file including a version of POV-Ray is including in the installation of Aneka.3.1 it can be found in the following folder:
C:\Program Files (x86)\Manjrasoft\Aneka.3.1\Runtime\Repository\PovRay.zip
This file it is not copy with the worker installation therefore to install POV-Ray in the workers, we suggest to copy this file in this path after install the container in the worker. After having the POV-Ray zip file in the container the following PowerShell script can be run in order to install it. We recommend rebooting the machine after install the script:
C:\Program Files (x86)\Manjrasoft\Aneka.3.1\Runtime\Repository\PovRay.zip
This file it is not copy with the worker installation therefore to install POV-Ray in the workers, we suggest to copy this file in this path after install the container in the worker. After having the POV-Ray zip file in the container the following PowerShell script can be run in order to install it. We recommend rebooting the machine after install the script:
$documents = [Environment]::GetFolderPath("MyDocuments")
New-Item $documents\temp -type directory
$shell = new-object -com shell.application
$zip = $shell.NameSpace("C:\Program Files (x86)\Manjrasoft\Aneka.3.1\Runtime\Repository\PovRay.zip")
foreach($item in $zip.items()) { $shell.Namespace("$documents\temp").copyhere($item,0x14) }
cd $documents\temp\PovRay
msiexec /I povwin362-32bit.msi /qb | out-null
$shell = new-object -com shell.application
$zip = $shell.NameSpace("$documents\temp\PovRay\megapov-1.2.1-windows.zip")
foreach($item in $zip.items()) { $shell.Namespace(“$documents\POV-Ray\v3.6”).copyhere($item,0x14) }
[Environment]::SetEnvironmentVariable("POVRAY_HOME", "$documents\POV-Ray\v3.6", "Machine")
New-Item $documents\temp -type directory
$shell = new-object -com shell.application
$zip = $shell.NameSpace("C:\Program Files (x86)\Manjrasoft\Aneka.3.1\Runtime\Repository\PovRay.zip")
foreach($item in $zip.items()) { $shell.Namespace("$documents\temp").copyhere($item,0x14) }
cd $documents\temp\PovRay
msiexec /I povwin362-32bit.msi /qb | out-null
$shell = new-object -com shell.application
$zip = $shell.NameSpace("$documents\temp\PovRay\megapov-1.2.1-windows.zip")
foreach($item in $zip.items()) { $shell.Namespace(“$documents\POV-Ray\v3.6”).copyhere($item,0x14) }
[Environment]::SetEnvironmentVariable("POVRAY_HOME", "$documents\POV-Ray\v3.6", "Machine")