标签:des style color io art ar cti new
写在这里,方便查阅
NativeApplication.nativeApplication.autoExit = true;// 主窗体关闭也跟着关闭
Debug.trace(‘ToursLocalConnection :: appExePath = ‘ + appExePath);
currFile = new File(appExePath);
//currFile = new File("C:/Users/lenovo/Desktop/LZPC_Test/LZPC/uninstall.exe");
Debug.trace(‘ToursLocalConnection :: currFile.nativePath = ‘ + currFile.nativePath)
//currFile.openWithDefaultApplication();
nativeProcessStartupInfo = new NativeProcessStartupInfo();
nativeProcessStartupInfo.executable = currFile;
nativeProcess = new NativeProcess();
nativeProcess.start(nativeProcessStartupInfo);
var file:File = File.documentsDirectory.resolvePath(installPath + ‘uninstall.exe‘);
trace(file);
file.openWithDefaultApplication();
标签:des style color io art ar cti new
原文地址:http://www.cnblogs.com/cc523/p/3891977.html