Update CreateInstaller permissions and temp directory

-Change all files permission to 777
-Use linux tmp for temp directory
Fix huge "id" and "tmp" url request confusion.