Creating a Script to install either x64 or x86 version of software
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)
Please log in to answer
Posted by:
Desktop Jockey
7 years ago
Using this in Verify will result in success being X86 and remediation x64.
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 7 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 7 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 7 years ago -
Sorry but 1618 means there is already an installation in progress. Do you have something running? - Desktop Jockey 7 years ago