latexdraw-core/net.sf.latexdraw.bundle/src/scripts/install_windows.vbs
raw| 1 | |
| 2 | Set objFSO = CreateObject("Scripting.FileSystemObject") |
| 3 | Set objFile = objFSO.GetFile("installer.jar") |
| 4 | Set objShell = CreateObject("Shell.Application") |
| 5 | |
| 6 | params = "-jar " & objFSO.GetAbsolutePathName(objFile) & " " & objFSO.GetAbsolutePathName(objFile) |
| 7 | |
| 8 | objShell.ShellExecute "javaw", params, "", "runas" |