OS check in CMD
Right now in pre-launch script we are directly executing OffVirt.msi through cmd, but this msi is not working for x64
I downloaded X64 version of OffVirt.msi, need to edit cmd so that if it is x32 excute from \x32\OffVirt.msi & for 64bit execute from \x64\OffVirt.msi
I downloaded X64 version of OffVirt.msi, need to edit cmd so that if it is x32 excute from \x32\OffVirt.msi & for 64bit execute from \x64\OffVirt.msi
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
pjgeutjens
12 years ago
have a look at this article: http://blogs.msdn.com/b/david.wang/archive/2006/03/26/howto-detect-process-bitness.aspx
Another option is to check for the existence of the SysWoW64 folder like
IF EXIST C:\Windows\C:\Windows\SysWOW64
PJ
Another option is to check for the existence of the SysWoW64 folder like
IF EXIST C:\Windows\C:\Windows\SysWOW64
PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.