I added the option <run-privileged condition="izpack.windowsinstall.vista|izpack.windowsinstall.7"/> to my installer.xml file.
It did fix the problem I had with Windows Vista and Windows 7 where installation couldn't be done in C:\Program Files\ but... it affected RedHat too. On RedHat, it prompts a message:
sudo password for myaccount
After entering the password, it crashes.
If I remove the "run-privileged" option, it works fine on RedHat.
The option run-privileged clearly indicates that it should affect only Windows Vista and Windows 7, why does it affect RedHat too ? This issue prevents me from releasing an installer that installs in C:\Program Files for Windows.