Visual Assist X - Extend Trial
Oh ok, I shouldn’t have done it, but it did happen. I’m back into C++ development for some time now, and I still find Visual Studio with Visual Assist X plugin the best for C++ development, including for Linux development. Even comparing to CLion (I have full paid license to all IntelliJ products) I still find Visual Studio superior even without plugins, but Visual Assist just makes it totally superior. You have some C# goodness in VAX, however I never found that C# needs any extra plugins in VS, it’s excellent without anything extra.
So after being back to VS I’ve decided to trial VAX after like 5 year break from it to see whether I liked it. Unfortunately after installing it I forgot about it completely as I had to work on other projects mostly in IntelliJ, and then the trial simply expired. Fortunately this guy has provided a reset script which works even after 4 years of it’s release. I’ve applied it to have a chance to play with VAX over the weekend, and it’s still awesome, so buying it right now!
.bat file content:
1@echo off
2set tempfile="%temp%\1489AFE4.TMP"
3set regkey=HKEY_CURRENT_USER\SOFTWARE\Licenses
4set has_error=0
5
6tasklist | find /I "devenv.exe" > NUL
7if %errorlevel% == 0 (
8 echo Please close Visual Studio and try again.
9 exit /B 1
10)
11
12echo.
13
14echo Resetting Visual Assist X trial period
15echo Deleting registry key %regkey% ...
16reg delete %regkey% /f
17if %errorlevel% == 1 (
18 echo Registry key was not deleted.
19 set has_error=1
20)
21echo.
22
23echo Deleting temporary file %tempfile% ...
24del %tempfile%>NUL
25
26echo.
27
28if %has_error% == 0 (
29 echo Done. Visual Assist X should have forgotten about your trial period now.
30) else (
31 echo Done. However, maybe not everything worked out right.
32)
33
34exit /B %has_error%

Have feedback or questions? Feel free to email me.