Hi,
Let's go for the script review,
PREFIX=
"Photoshop"
To avoid any possible collision, better pick a more specific PREFIX, PhotoshopCS6 or something
POL_System_TmpCreate
"$PREFIX"
If you don't use the temporary directory, remove those statements; For scripts maintenance, the simpler the better.
POL_SetupWindow_InstallMethod
"LOCAL"
if
[
"$INSTALL_METHOD"
=
"LOCAL"
]
then
Same thing, until you support more than one installation method, it's probably best to drop the extra complexity
POL_SetupWindow_browse
"Please select the installation file to run."
"Photoshop CS6 installation"
POL_SetupWindow_wait
"Installation in progress."
"Photoshop CS6 installation"
For a standard waiting message just use POL_Wine_WaitBefore "$TITLE"
POL_Wine
start
/unix
"$APP_ANSWER"
start /unix is usually unnecessary and has the side effect that the execution of the program becomes asysnchronous (the script doesn't wait for the execution to finish to continue). See if the script works without start /unix.
By the way in this script, are you sure POL_Shortcut is not attempted before the installation is completed? That'd be strange if it works as-is.
Regards,
Pierre.