/build/static/layout/Breadcrumb_cap_w.png

Creating a Script to install either x64 or x86 version of software

0FhXLw.jpeg



Want to create a script to install *.exe in 64 bit and if fails cause OS is x86 then install x86 version of Exe.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Desktop Jockey 6 years ago
Second Degree Green Belt
0
Using this in Verify will result in success being X86 and remediation x64.

Verify a registry value is exactly...
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Name: PROCESSOR_ARCHITECTURE
Equal to: x86

Also - Please delete your duplicate  Questions. :-) Thanks

Comments:
  • If you would like it to happen the other way around switch:
    Equal to: AMD64 - Desktop Jockey 6 years ago
    • Running as SYSTEM
      Checking if registry 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' value 'PROCESSOR_ARCHITECTURE' is equal to 'AMD64' did not succeed: (0)
      Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\969 \Silverlight.exe /q /doNotRequireDRMPrompt : (0) The operation completed successfully.
      Error Code: 0
      Status Code: 1618


      Checking if registry 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' value 'PROCESSOR_ARCHITECTURE' is equal to 'AMD64'
      Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\969 \Silverlight.exe' '/q /doNotRequireDRMPrompt ' wait='true'

      error - Kdebiasse 6 years ago
      • X86 Error
        Running as SYSTEM
        Checking if registry 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' value 'PROCESSOR_ARCHITECTURE' is equal to 'x86' succeeded
        Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\969 \Silverlight.exe /q /doNotRequireDRMPrompt : (0) The operation completed successfully.
        Error Code: 0
        Status Code: 1618

        Checking if registry 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' value 'PROCESSOR_ARCHITECTURE' is equal to 'x86'
        Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\969 \Silverlight.exe' '/q /doNotRequireDRMPrompt ' wait='true' - Kdebiasse 6 years ago
      • Sorry but 1618 means there is already an installation in progress. Do you have something running? - Desktop Jockey 6 years ago
Posted by: Kdebiasse 6 years ago
9th Degree Black Belt
0


script now


 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ