@@ -75,7 +75,7 @@ build_script:
 # to run your custom scripts instead of automatic tests
 test_script:
   - set DLR_BIN=%APPVEYOR_BUILD_FOLDER%\bin\%CONFIGURATION%
-  - "%SystemRoot%\\Microsoft.NET\\Framework\\v4.0.30319\\ngen.exe" install "%DLR_BIN%\\ipy.exe"
+  - ngen.exe install %DLR_BIN%\\ipy.exe
   - make testall
   #- Test\test-ipy-tc.cmd /category:Languages\IronPython\IronPython\2.X
 