Okay, thanks. I just decided to use POL_SetupWindow_prefix_selector because there isn't much reason to install an uninstaller on an empty Wineprefix. Unfortunately, I've run into another problem: When I close RevoUninstaller, I get an error message from POL Debugger. I've used POL_Shortcut_QuietDebug, but this only seems to fix the problem when I use it from the POL Console.
Here's the revised version of the script:
#!/bin/bash
# Date : (2015-4-10)
# Last revision : (2015-4-10)
# Wine versions used : 1.6.2, 1.7.22, 1.4.1
# Distributions used to test : Linux Mint 17.1 (x64), Debian GNU/Linux 7.8 (x64)
# Author : MTres19
[ $PLAYONLINUX = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_System_TmpCreate "RUninstaller"
cd "$POL_System_TmpDir"
TITLE="Revo Uninstaller (Free)"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "VS Revo Group" "www.revouninstaller.com" "MTres19" "$(eval_gettext '[Your Wineprefix of choice]')"
POL_SetupWindow_prefix_selector "$(eval_gettext 'Please select the Wineprefix in which you would like to install Revo Uninstaller.')"
PREFIX=$APP_ANSWER
POL_Wine_SelectPrefix "$PREFIX"
SHORTCUTNAME="RevoUninstaller on $PREFIX Wineprefix"
POL_Download "http://9d4da85dff3fdd198886-459beec849893df302ec58f8a71b3ad1.r61.cf1.rackcdn.com/revouninstaller.zip" "c581e60e67b83fc640741df7197ead86"
unzip "revouninstaller.zip" -d "$POL_USER_ROOT/wineprefix/$PREFIX/drive_c/Program Files"
POL_Shortcut "Revouninstaller.exe" "$SHORTCUTNAME"
POL_Shortcut_QuietDebug "$SHORTCUTNAME"
cd "$POL_USER_ROOT"
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext '$TITLE was successfully installed in your $PREFIX Wineprefix.')" "$(eval_gettext '$TITLE - Successfully Installed')"
POL_SetupWindow_Close
exit