Installation fails -- ANTSPerformanceProfiler_9.7.0.101.exe

This is from the event log:

Product: ANTS Performance Profiler 9 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action BuildMandlebrotCS, location: C:\Program Files\Red Gate\ANTS Performance Profiler 9\Tutorials\CS\Mandelbrot\, command: cmd.exe /c "C:\Program Files\Red Gate\ANTS Performance Profiler 9\Tutorials\CS\Mandelbrot\build.bat"

I currently am only running the VS2017 Enterprise Preview, so there is no vsvars32.bat where the installation is looking:

IF NOT "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\" == "" (
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat"
csc.exe /t:winexe /debug+ /optimize+ /out:.\Mandelbrot.exe Form1.cs Algorithm.cs ColorScheme.cs Complex.cs Image.cs Settings.cs
)
'"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat"' is not recognized as an internal or external command,
operable program or batch file.
Microsoft (R) Visual C# Compiler version 2.6.0.62328 (925ac9b2)
Copyright (C) Microsoft Corporation. All rights reserved.

error CS2012: Cannot open 'C:\Program Files\Red Gate\ANTS Performance Profiler 9\Tutorials\CS\Mandelbrot\Mandelbrot.exe' for writing -- 'Access to the path 'C:\Program Files\Red Gate\ANTS Performance Profiler 9\Tutorials\CS\Mandelbrot\Mandelbrot.exe' is denied.'

Are there any known workarounds that don't require installing another VS instance?
Tagged:

Best Answer

Sign In or Register to comment.