I believe that will work, but make sure you use full paths. Otherwise you could call AutoSPInstallerMain.ps1 directly, again using its full path along with the full path to the XML. Make sure the account you're running as has rights to the locations of all source files etc.
Cheers
Brian
Cheers
Brian