C# Setup issues on 32 bit windows on 64 bit machine

  • Thread starter Thread starter SamaySar
  • Start date Start date
S

SamaySar

Guest
Hi All,

Sorry to my bad english, I am new to C# programming.

I have following issue:

I am trying to build a set up of c# program using Setup Project. In the Solution "SolutionABC" -> Properties -> Configuration Properties -> Configuration Manager, I set active configuration platform as "Any CPU" and build my set up.

My Solution has three projects in it:

1. ABC-SetUp dependent on ABC

2. ABC dependent on Gma.UserActivityMonitor

and 3. Gma.UserActivityMonitor (Can be downloaded from http://www.codeproject.com/KB/cs/globalhook.aspx)

I have Gma.UserActivityMonitor -> Properties -> Application -> Target Framework = .Net framework 4.0

and in ABC -> Properties -> Application -> Target Framework = .Net framework 4.0

before running the application I install .Net Framework 4.0 full (x32 and x64) on both the computers.

Now I install my ABC.msi on one of my computer, which has Intel T6500 processor (Instruction set 64 bit) and currently I have windows 64-bit operating system installed on it. And my program works fine.

But when I install the same ABC.msi on another computer which has Intel E5400 processor (Instruction set 64 bits) and windows 32-bit operating system install on it, my program does not work. And throughs me error.

How can I build a solution which can work on all type of combination

1. 64 bits Intel with 64 bits windows

2. 64 bits Intel with 32 bits windows

3. 32 bits Intel with 32 bits windows.



Please suggest.

Thanks & Regards,

Continue reading...
 
Back
Top