wixlocation to not working

Hi

Thanks for your help. The async/wait keyword does the trick.