# Running NCover for both x86 and x64

**URL:** https://www.finalbuilder.com/forums/t/running-ncover-for-both-x86-and-x64/1811
**Category:** Discussion
**Created:** [July 22, 2011, 6:54am UTC](https://www.finalbuilder.com/forums/t/running-ncover-for-both-x86-and-x64/1811 "2011-07-22T06:54:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![russell](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/50afbb/32.png) [@russell](https://www.finalbuilder.com/forums/u/russell)
#### Post date: [July 22, 2011, 6:54am UTC](https://www.finalbuilder.com/forums/t/running-ncover-for-both-x86-and-x64/1811/1 "2011-07-22T06:54:09Z")

</div>

&nbsp;Is it possible to use both NCover x86 & NCover x64 (as expected, one is in "Program Files (x86)" and the other in "Program Files"), yet in the options choices, there's only one option for the executable's location. &nbsp;Any suggestions would be appreciated.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 23, 2011, 4:07am UTC](https://www.finalbuilder.com/forums/t/running-ncover-for-both-x86-and-x64/1811/2 "2011-07-23T04:07:15Z")

</div>

You can use some script to change the path at runtime in the BeforeAction script event :   
  
 [Code]var opt = GetOptionsObject(“NCover”);opt.NCoverPath = “C:\Program Files\NCover”;[/Code]   
  
 I have added support for selecting 32 or 64bit NCover, however I cannot locate our license to test this (need to make sure it’s backwards compatible), I will sort this out on Monday. We’re planning on releasing an official update next week so we’ll get the changes in then.
