I tested my WPF script pack sample without installing the packages first. It installs them correctly, but because script packs are picked up by MEF and registered with Autofac at startup, the script pack isn't resolved correctly in the ScriptPackResolver until you execute the command again.
We should pick up script packs as late as possible, e.g. right before execution...