From 4f0656499930991788c52c98ba6a86b5ea185064 Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 27 Apr 2011 13:55:49 -0400 Subject: [PATCH] Added a flag to do an msiexec install easily --- wino | 5 +++++ 1 file changed, 5 insertions(+) mode change 100755 => 100644 wino diff --git a/wino b/wino old mode 100755 new mode 100644 index b2952e0..db980ee --- a/wino +++ b/wino @@ -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