Hi lahtis,
There's nothing wrong in your script, so I'll just give possible improvements:
- The call to POL_SetupWindow_VMS seems a bit early, usually it's placed after installation, among tweaks and settings adjustments;
- You can shorten the browsing test as
[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.arma2.com/free"
but it's a matter of taste, no hard rule about that
- One should never simultaneously need POL_SetupWindow_WaitBefore and POL_SetupWIndow_WaitExit (as I explained in http://www.playonlinux.com/en/topic-11130.html)
- Endind the script with a success message as been out of fashion since the addition of an integrated debugger in POL4 (since your message could be followed by a failure message and the possibility to send a bug report, something confusing when received after a success message ;) )
Cheers,
Pierre.