Home All Groups Group Topic Archive Search About

Install VB2005 app on 2003 64 bit server

Author
4 Dec 2006 4:37 PM
TexasAggie96
I have written a windows service in VS 2005 and created a setup for
install on a 2003 64 bit server.  When the installer adds the registry
components they are created in the WOW6432NODE key under
HKEY_LOCAL_MACHINE\SOFTWARE but when the application trys to read the
registry it looks in the 64 bit section of the registry for the
registry entries.

I have created the entries in the 64 bit side and the application works
just fine.

What am I doing wrong here?  I thought that since this is  32 bit
application that the installer and application would look at 32 bit
section.

Thanks

James

Author
5 Dec 2006 12:52 PM
Michel Posseth [MCP]
In that case you should have compiled the program as a 32 bit only  program

If you choose anny CPU option at compile time , it will run on a 32 bit
system in 32 bits modus and on a 64 bit system in 64 bits modus

in some situations this gives different behavior a anny cpu compiled
assembly can for instance on a 64 bit capable system not access a oledb
database for the simple fact that there are no 64 bit drivers availlable ,
the same proggy runs just fine on a 32 bit system .

hth

Michel Posseth [MCP]





Show quoteHide quote
"TexasAggie96" wrote:

> I have written a windows service in VS 2005 and created a setup for
> install on a 2003 64 bit server.  When the installer adds the registry
> components they are created in the WOW6432NODE key under
> HKEY_LOCAL_MACHINE\SOFTWARE but when the application trys to read the
> registry it looks in the 64 bit section of the registry for the
> registry entries.
>
> I have created the entries in the 64 bit side and the application works
> just fine.
>
> What am I doing wrong here?  I thought that since this is  32 bit
> application that the installer and application would look at 32 bit
> section.
>
> Thanks
>
> James
>
>