Python Forum
install program silent - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: install program silent (/thread-12032.html)



install program silent - shlomi27 - Aug-06-2018

How do I install program silent(quite mode) using python?
install without window popups
Thanks,


RE: install program silent - Larz60+ - Aug-06-2018

Are you talking about a package that you created?
First create a setup.py file, and then create a wheel using:
python setup.py bdist_wheel
see: http://lucumr.pocoo.org/2014/1/27/python-on-wheels/

a wheel can be saved on PyPi, and loaded using a script.
I'm not sure if you can make it totally 'silent' because tools used to install the wheel usually display the steps being performed as they are executed. Look for a verbose option.


RE: install program silent - shlomi27 - Aug-06-2018

see following is part of the code I need to install infranview and other program silently
if che50.get() == "1":
os.system(programSourcePath + '/"iview444_x64_setup.exe"')


RE: install program silent - buran - Aug-06-2018

read https://www.irfanview.com/faq.htm#PAGE11

and check subprocess module


RE: install program silent - shlomi27 - Aug-06-2018

can you give example? I am confuse with this subprocess module
Thanks,


RE: install program silent - shlomi27 - Aug-06-2018

Can someone give me example how to use subprocess module
install the infranview program in silent mode?
Thanks


RE: install program silent - nilamo - Aug-06-2018

The linked docs contain examples. If you still have issues, please share your code so we don't have to make wild guesses as to what the problems are.