hola me parece esta secuencia de comandos (por ejemplo, AMS) en el sitio web turca Acabo de añadir la función de / s / en el guión de s instalación silenciosa
Código: Seleccionar todo
Global fonction
function DownloadCallback (nDownloaded, nTotal, TransferRate, SecondLeft, SecondsLeftFormat, Message)
sDownloaded = String.GetFormattedSize(nDownloaded, FMTSIZE_AUTOMATIC, true);
sTotal = String.GetFormattedSize(nTotal, FMTSIZE_AUTOMATIC, true);
Label.SetText("toplam", "Toplam : "..sTotal);
Label.SetText("indirilen", "Ýndirilen : "..sDownloaded);
Label.SetText("zaman", "Kalan Zaman : "..SecondsLeftFormat);
Label.SetText("hiz", "Ýndirme Hýzý : "..Math.Floor(TransferRate));
Progress.SetCurrentPos("Progress1", (nDownloaded / nTotal) * 100);
end
Created button
Scritp (normal install)
sLink = [[http://download.piriform.com/cc_setup527.exe]]
HTTP.Download(sLink, _TempFolder.."\cc_setup527.exe", MODE_BINARY, 20, 80, nil, nil, DownloadCallback);
Shell.Execute(_TempFolder.."\cc_setup527.exe" , "open", "", "", SW_SHOWNORMAL, false);
Scritp (install silent)
sLink = [[http://download.piriform.com/cc_setup527.exe]]
HTTP.Download(sLink, _TempFolder.."\cc_setup527.exe", MODE_BINARY, 20, 80, nil, nil, DownloadCallback);
Shell.Execute(_TempFolder.."\cc_setup527.exe" , "open", "/S", "", SW_SHOWNORMAL, false);