With the help of some reverse engineering i got the hidden windows installer and developer modes to work.