Reputation: 37
I added "Add a startup executable on Windows and OS X" action to the Finish Screen of my installer. The appplication starts up on reboot and thats good but I want to display a checkbox to end user to select/unselect at finish screen of my installer if user wants to add to startup or not just like desktop shortcuts etc. I am not able to find out how. Can somebody please help me how to achieve this?
Upvotes: 1
Views: 601
Reputation: 48105
Add a "Check box" form component to the "Finish screen" with your question to the user and set its "Variable name" property to "addStartupExecutable".
Then, set the condition expression of the "Add a startup executable on Windows and OS X" action to
context.getBooleanVariable("addStartupExecutable")
Upvotes: 1