What can I do to make it work?
I can't do this because I want to make it run with a checkbox..If the installation will run on Windows Vista the custom action should be moved under "InstallExecuteSequence" -> "PublishProduct". Also, it should be set as "Deferred with no impersonation".
Edit: Finally solved it: I simply had to edit the execution condition and add the checkbox. Now it's working!