Then I import the component into a new file with a box and try to install it and it seems to have lost all of it’s properties.! Even if I attempt with clean version.
Here’s what I get. It appears your window is properly made. First, I created a local collection for your window. To do that, click on the Details menu button to the right of the search magnifying glass. Choose Open or Create a Local Collection. Create a new folder, select it and open it. This is shown in the secondary pane of the Components panel while In Model is shown in the top. And this is with your file open.