This is simple... only with Factory
1. Delete your default Finish dialog
2. Put dialog check buttons. Import 2 check buttons
3. Diasbla all button except Finish
4. onNext put this script
Code:result1 = DlgCheckBox.GetProperties(CTRL_CHECK_BOX_01); -- These actions are performed before the screen is shown. result2 = DlgCheckBox.GetProperties(CTRL_CHECK_BOX_01); sApplication = "%AppFolder%\\Centrala.exe" if (check01) then File.OpenURL('http://www.yourfirmsait.com/', SW_SHOWNORMAL); end; if (check02) then File.Open(SessionVar.Expand("%AppFolder%\\Centrala.exe"), '%AppFolder%\\', SW_SHOWNORMAL); end; error = Application.GetLastError(); if (error ~= 0) then Dialog.Message("Error_1", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION); end; Screen.Next(); if Dialog.Message('Restart', 'Do you wana to restart?', MB_YESNO, MB_ICONQUESTION, MB_DEFBUTTON1) == IDYES then System.Reboot(); else Application.Exit(0); end;

Reply With Quote