Well I think we would need to see what the code is inside your script and how you also call the installer.

I assume you're using SHELL within the script, but please post your full code or the full portion that makes up this launcher. Please use the UBB CODE TAGS to retain the code formatting in the post.