I use the following Code:
When this code is ran I get the following as the batch file runs:Code:Productkey_result = File.Run(_TempLaunchFolder.."\\add-on.bat", "", "", SW_SHOWNORMAL, true);
D:\>Productkey AIS xxxxxxxxxxxxxxx /q
'Productkey' is not recognized as an internal or ....."
D: in this case is the CD rom. Three files, hasp.exe, add-on.bat and productkey.exe are all installed a primer files. Hasp.exe runs without a problem. Add-on.bat wants to run from the CD rather then the (_TempLaunchFolder .
This is what the actual command looks like in the batch file:
Any clues?Code:ProductKey AIS t1nvtpj1ttivvjci /q

