Archive: To read the Check Box checking


To read the Check Box checking
Hi!!!!!!!!!!!!!!!!!


I have to run my application After Finish page according to whether the checkBox is checked or not.
On Finish Page even if I am not clicking the check box the Application runs.
How to solve this problem? can any one please help me?


hmm... could you post a minimal sample of your code?


I am sending the code below but it's not working.
Even if I checks the check box on finish page the url does not get browsed on Internet Explorer.The thing I want to run is based on Checking of the CheckBox which comes as a default on MUI_FINISHPAGE_RUN Page.

; Finish page
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_PAGE_CUSTOMFUNCTION_PRE Call_VirtualDirCreation
!define MUI_FINISHPAGE_RUN Call_Application
;!define MUI_PAGE_CUSTOMFUNCTION_LEAVE restart_machine

!insertmacro MUI_PAGE_FINISH

function Call_Application
Messagebox mb_ok "Reached Here 1"
execshell open "http://localhost/My_WebSite/My_Page.aspx"
Messagebox mb_ok "Reached Here 2"
functionend


1. There is a special option on finish page to add a link,
see MUI documentation.

2. To call a function on MUI_FINISHPAGE_RUN the syntax is,
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION function_name,
also see MUI documentation

http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html


Thanks!!!!!!!!!!!!!!!!!!!!
It works fine.