Forum Discussion
rminnich
13 years agoContributor
I used a slightly different solution. I created 2 TestedApp objects for each application that had a path that varied, one for x86 and one for x64 OS's.
Starting each app effectively became:
If sys.OSInfo.Windows64bit then
Call TestedApps.MyApp_x64.Run(-1, true)
else
Call TestedApps.MyApp_x86.Run(-1, true)
end if
If the path specified by the environment variable ProgramFiles (or ProgramFiles(x86) on 64 bit OS's) changes across PCs, you may need to update each tested app further to always point to the correct path for 32-bit program files (i.e., it's e:\program files (x86) on some PCs while it's c:\program files (x86) on others).
Related Content
- 7 months agotarttdh
Recent Discussions
- 37 minutes agoSubhraDas
- 20 hours agotramuntana