Skip to content

Commit

Permalink
Enable minimal GUI for the 7zip an Python installer
Browse files Browse the repository at this point in the history
In silent mode Windows won't ask for permission when
UAC is active and unpacking 7zip and Python just fails
silent.
  • Loading branch information
photron committed Oct 31, 2010
1 parent 7b2d4dd commit 1734fb1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion msys_setup_7zip.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ echo downloading %msi% ...
%wget% %zip_url%/%msi% -O %tmp%\%msi%
:unpack_zip
echo unpacking %msi% ...
msiexec /a %tmp%\%msi% TARGETDIR=%base_dir%\7z /qn
msiexec /a %tmp%\%msi% TARGETDIR=%base_dir%\7z /qb
:have_zip
2 changes: 1 addition & 1 deletion msys_setup_python.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo downloading %msi% ...
%wget% %python_url%/%msi% -O %tmp%\%msi%
:unpack_python
echo unpacking %msi% ...
msiexec /a %tmp%\%msi% TARGETDIR=%python_dir% /qn
msiexec /a %tmp%\%msi% TARGETDIR=%python_dir% /qb
:have_python


Expand Down
7 changes: 7 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

- run msys_setup.bat to download and setup an MSYS/MinGW environment

you'll see automated Windows Installer popups for 7zip and Python. the
script is not actually installing something to your system, it just unpacks
both into subdirectories for later use.

when you have UAC enabled (Windows Vista and Windows 7) then Windows will
ask you for confirmation, you need to allow 7zip and Python to get unpacked


- run msys\msys.bat to open a MSYS shell

Expand Down

0 comments on commit 1734fb1

Please sign in to comment.