• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Starting a 64bit program from a 32bit .HTA?

H

HAL07

#1
I've created a program that starts remote assistance (msra.exe) from Windows Vista/7. We use it alot in the IT-department.
The program is just a normal vbscript, but wrapped into a .HTA file for some GUI (buttons etc), so it's still a Vbscript.

The problems came when people installed Windows 7 x64. The HTA still runs as 32bit. But when they try starting msra.exe they get
the error:
C:\windows\system32\msra.exe The network is not present or not started.

Well I guess it's too much to ask for a separate 32bit-version of msra in windows x64. but is there a way to start a 64bit program
from a 32bit HTA?


--
-- HAL07, Engineering Services, Norway
 

My Computer

M

mayayana

#2
> Well I guess it's too much to ask for a separate 32bit-version of msra in
windows x64. but is there a way to start a 64bit program

> from a 32bit HTA?
>
Someone else might come up with a more well-
informed answer, but one thought is to check to
make sure there isn't a 32-bit version. Many of the
core Windows programs xists as both. Win64 is
really sort of like 2 OSs put together. If a 32-bit
version exists it should be in the (bizarrely named)
SysWOW64 folder.
 

My Computer

D

Dave \Crash\ Dummy

#3
HAL07 wrote:

> I've created a program that starts remote assistance (msra.exe) from
> Windows Vista/7. We use it alot in the IT-department.
> The program is just a normal vbscript, but wrapped into a .HTA file for
> some GUI (buttons etc), so it's still a Vbscript.
>
> The problems came when people installed Windows 7 x64. The HTA still
> runs as 32bit. But when they try starting msra.exe they get the error:
> C:\windows\system32\msra.exe The network is not present or not started.
>
> Well I guess it's too much to ask for a separate 32bit-version of msra
> in windows x64. but is there a way to start a 64bit program from a 32bit
> HTA?
Are you using the 32 bit build of IE to open the HTA file?

--
Crash

"When you want to fool the world, tell the truth."
~ Otto von Bismarck ~
 

My Computer

H

HAL07

#4
Dave "Crash" Dummy wrote:

> HAL07 wrote:

>> I've created a program that starts remote assistance (msra.exe) from
>> Windows Vista/7. We use it alot in the IT-department.
>> The program is just a normal vbscript, but wrapped into a .HTA file
>> for some GUI (buttons etc), so it's still a Vbscript.
>>
>> The problems came when people installed Windows 7 x64. The HTA still
>> runs as 32bit. But when they try starting msra.exe they get the error:
>> C:\windows\system32\msra.exe The network is not present or not
>> started.
>>
>> Well I guess it's too much to ask for a separate 32bit-version of msra
>> in windows x64. but is there a way to start a 64bit program from a
>> 32bit HTA?
>
> Are you using the 32 bit build of IE to open the HTA file?
>
yes i guess. not sure how that works. but i cannot make changes to my local computer settings, as this program is ran by many others.

--
-- HAL07, Engineering Services, Norway
 

My Computer

H

HAL07

#5
mayayana wrote:

>> Well I guess it's too much to ask for a separate 32bit-version of msra in
> windows x64. but is there a way to start a 64bit program

>> from a 32bit HTA?
>>
>
> Someone else might come up with a more well-
> informed answer, but one thought is to check to
> make sure there isn't a 32-bit version. Many of the
> core Windows programs xists as both. Win64 is
> really sort of like 2 OSs put together. If a 32-bit
> version exists it should be in the (bizarrely named)
> SysWOW64 folder.
I think MSRA needs firewall exception as well, so then you need a separate exception for the 32bit version, as well as all dll's
required registered. not sure if that is possible since i then have to manually configure a lot of computers.

--
-- HAL07, Engineering Services, Norway
 

My Computer

M

munrpa

#6
have a look at using the c:\windows\sysnative link instead, I've not tried it
but

C:\windows\sysnative\msra.exe should point to the 64bit version on x64.

"HAL07" wrote:

> Dave "Crash" Dummy wrote:

> > HAL07 wrote:

> >> I've created a program that starts remote assistance (msra.exe) from
> >> Windows Vista/7. We use it alot in the IT-department.
> >> The program is just a normal vbscript, but wrapped into a .HTA file
> >> for some GUI (buttons etc), so it's still a Vbscript.
> >>
> >> The problems came when people installed Windows 7 x64. The HTA still
> >> runs as 32bit. But when they try starting msra.exe they get the error:
> >> C:\windows\system32\msra.exe The network is not present or not
> >> started.
> >>
> >> Well I guess it's too much to ask for a separate 32bit-version of msra
> >> in windows x64. but is there a way to start a 64bit program from a
> >> 32bit HTA?
> >
> > Are you using the 32 bit build of IE to open the HTA file?
> >
>
> yes i guess. not sure how that works. but i cannot make changes to my local computer settings, as this program is ran by many others.
>
> --
> -- HAL07, Engineering Services, Norway
> .
>
 

My Computer