[Vídeo][SF9]Ejemplo Final Personalizado
Publicado: 14 Mar 2013 13:03
Buenas amigos de AMSSpecialist, a petición de un usuario he creado este vídeo que explica un poco como funcionan los finales personalizados en mi caso en este vídeo uso "Finished Install AMS Ceone" este final viene incluido en un pack de extras para setup factory que encontrareis aquí: Setup Factory Pack 3.0 (Para SF9.x)
El código usado es el siguiente
NOTA: Recordar que el código que pongo aquí es meramente orientativo vosotros tendréis que modificar según el tipo de instalador que estáis haciendo.
Vídeo:
El código usado es el siguiente
NOTA: Recordar que el código que pongo aquí es meramente orientativo vosotros tendréis que modificar según el tipo de instalador que estáis haciendo.
--ON NEXT:
-- These actions are performed when the Next button is clicked.
-- advance to the next screen
-- Check Box 01
if DlgCheckBox.GetProperties(CTRL_CHECK_BOX_01).Checked then
Shell.Execute(strInstallFolderPath.."\\MyAplication.exe", "open", "", "", SW_SHOWNORMAL, false);
end
-- Check Box 02
if DlgCheckBox.GetProperties(CTRL_CHECK_BOX_02).Checked then
if HTTP.TestConnection(SessionVar.Get("%CompanyURL%"), 20, 80, nil, nil) then
File.OpenURL(SessionVar.Get("%CompanyURL%"), SW_SHOWNORMAL);
else
if Application.GetInstallLanguage().Primary == 9 then -- Ingles
Dialog.Message("Connection mistake", "Connection mistake, Make sure that he has connection to Internet and prove it again, if the mistake is repeated it is possible that the page that you want to load this one fallen or it does not exist already.\r\n\r\nForgive the inconveniences.");
elseif Application.GetInstallLanguage().Primary == 10 then -- Español
Dialog.Message("Fallo de conexión", "Fallo de conexión, Asegúrese que dispone de conexión a internet y vuelva a probarlo, si el fallo es reiterado es posible que la página que deseas cargar este caída o ya no exista.\r\n\r\nDisculpe las molestias.");
end
end
end
-- Finish Installer
Screen.Next();