Added a flag to do an msiexec install easily

This commit is contained in:
Anna Rose 2011-04-27 13:55:49 -04:00
parent a4b503b272
commit 4f06564999

5
wino Executable file → Normal file
View File

@ -98,6 +98,11 @@ elsif ($command eq '--regedit')
{
exec "WINEPREFIX=$container_path regedit";
}
elsif ($command eq '--msi')
{
my $new_command = join(' ', @ARGV);
exec "WINEPREFIX=$container_path msiexec /i $new_command";
}
else
{
# Execute the command given, or the default command