/build/static/layout/Breadcrumb_cap_w.png

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?

 

 

 


0 Comments   [ + ] Show comments

Answers (5)

Posted by: piyushnasa 11 years ago
Red Belt
2

use this in a batch file and it will work for sure and I am 100% sure:

cd %windir%\sysnative

acme.exe /s /qn

 

Do let me know your result.

Posted by: philologist 11 years ago
Red Belt
1

Have you tried running it without calling cmd.exe?  Just run

acme.exe /s /qn

Your next option would be to use %windir%\system32\cmd.exe

I would also see if it runs with C:\Windows instead of %WINDIR%.  Some deployment tools run as a user that does not have these system variables defined.

Posted by: mhsl808 11 years ago
Fifth Degree Brown Belt
1

running it without the cmd.exe was the first thing we tried and it failed.  

Posted by: adilrathore 11 years ago
4th Degree Black Belt
1

So does it work if you run it from %windir%\sysnative?

Posted by: pjgeutjens 11 years ago
Red Belt
1

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?

 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Link

Related Links

Post

Related Posts

Share

 
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