I am having some trouble with an automation script we use for license install for ST6/ST7. In previous versions, the license file could be installed in the \Program Directory (where edge.exe is). So I used the following to set the path:
Dim DestPath As String = SEInstallData.GetInstalledPath() & "\SELicense.dat"
However, now that ST7 licenses go into the preference folder, I am not too sure how to point my VB code in the right direction. I dont want to force a location in the code because I dont know where some users are installing their SE. But I can no longer install to the /Program directory.
Any guidance would be appreciated!
Good one Tushar. I have to admit, the GetPreferencesPath() method slipped past me. I had not even noticed that it got added to the API in ST6. I'm slacking...