how to run a 32-bit .EXE on Windows 7 x64?
Using a deployment tool we copy down 2 files to our target machines. acme.exe and runacme.cmd. Since the target machines are Windows 7 x64 runacme.cmd has this.
%WINDIR%\SysWOW64\Cmd.exe acme.exe /s /qn
It will not install. And what is odd is you Can run this manually on a machine. If I open up the cmd window and run acme.exe /s /qn it installs fine.
Application is 32-bit
Target OS is Windows 7 x64
What should my runacme.cmd contain to make this work?
Answers (5)
have you tried the following contents of the cmd file:
pushd %~dp0 acme.exe /s /qn
The problem might be your cmd not 'knowing' its own working directory, and thus not finding acme.exe. The first line of the script should fix that. Also, just a remark, the /qn parameter makes me suspect there's an MSI contained in acme.exe. Have you tried extracting that and running it directly?