Project

General

Profile

Tâche #30757

Scénario #30575: Intégrer la jonction des postes GNU/Linux à un Active Directory

installMinion.exe ne détecte pas correctement l’architecture processeur

Added by Daniel Dehennin almost 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/28/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Lors de la jonction d’un client windows x64, l’outil installMinion.exe détecte toujours l’architecture comme étant x86.

Cela doit provenir de l’utilisation de $env:PROCESSOR_ARCHITECTURE au sein d’un fichier .exe en x86.

Il faudrait déterminer l’architecture processeur indépendamment de la version du .exe, par exemple en utilisant Get-WmiObject ou encore [System.IntPtr]::Size * 8

Associated revisions

Revision bb369c2c (diff)
Added by Daniel Dehennin almost 3 years ago

InstallMinion.exe always missdetect architecture as x86

The use of “$env::PROCESSOR_ARCHITECTURE” is fixed to “x86” in the 32
bits version of the “.exe”.

  • workstation/installMinion.ps1: detect if the operating system is 64
    bits with “[System.Environment]::Is64BitOperatingSystem”.

Ref: #30757

History

#1 Updated by Daniel Dehennin almost 3 years ago

  • Description updated (diff)

#2 Updated by Daniel Dehennin almost 3 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin almost 3 years ago

  • % Done changed from 0 to 100

#4 Updated by Daniel Dehennin almost 3 years ago

  • Status changed from En cours to Résolu

#5 Updated by Laurent Flori almost 3 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF