## Copie Jvm Fuss Directory + 7z
mkdir "D:\Fuss-client\jre"
#Copy "jdk8_341.zip" "D:\Fuss-client\jre"
#Copy "7z.dll" "D:\Fuss-client\jre"
#Copy "7z.exe" "D:\Fuss-client\jre"

## Décompression Zip
#cd D:\Fuss-client\jre
C:\JavaFuss\7z.exe x "C:\JavaFuss\jdk8_341.zip" -o"D:\Fuss-client" -y

## Add Ligne Jvm (FUSS)
add-content -path "D:\Fuss-client\service64.ini" `n"vm.location=D:\Fuss-client\jdk8_341\jre\bin\server\jvm.dll"
add-content -path "D:\Fuss-client\service.ini" `n"vm.location=D:\Fuss-client\jdk8_341\jre\bin\server\jvm.dll"

# Modification Bat Fuss-client
(Get-Content "D:\Fuss-client\fuss-client.bat") -replace "java","D:\Fuss-client\jdk8_341\bin\java" | Set-Content "D:\Fuss-client\fuss-client.bat"

## Restart Service Fuss
net stop FussClient
net start FussClient
