Import or Open MIDI file to save software instrument setting?


How can I generate a MIDI file that when opened or imported uses specific software instruments?

When I save a MIDI file, a track of which uses a software instrument (specifically Yamaha Piano Hall), if I reopen that MIDI file, a different instrument is used in place. Or if I import it. (Of course, I can open the whole Logic project of which the MIDI file is a part, but I want to know if there is a way to open the instrument just from the MIDI itself).