in win7, after installation and setting the correct file associations, the correct program would start upon double clicking

in win10 however, it popups wanting you to set a ?default app?. ive seen this happen for klite codec pack, firefox, utorrent

i do unattended installations so i hope its possible to programmatically select default apps.