A compound of formula wherein Y represents a pyridyl group, or a phenyl group of formula wherein R3 represents a hydrogen atom, a CF3 group or an alkoxy group, R4 represents a hydrogen atom, an alkyl group, or a CF3 group, R5 represents a hydrogen atom, an alkyl group, a CF3 group or an alkoxy group, and R1 and R2 are the substituents of a terminal alkene of formula wherein R1 represents an alkyl or alkylene group, a mono- or poly-cycloalkyl group, or a phenyl group that optionally includes one or several hetero-atoms of oxygen, nitrogen, phosphorous or sulfur R2 represents a hydrogen atom, an alkyl or alkylene group, a mono- or poly-cycloalkyl group, or a phenyl group that optionally includes one or several hetero-atoms of oxygen, nitrogen, phosphorous and sulfur. This compound is capable of releasing, upon an exposure to light, an active compound such as a perfume and can be advantageously used in the treatment of any surface in order to perfume it through the controlled release of a perfumed molecule.