Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
install program silent
#1
How do I install program silent(quite mode) using python?
install without window popups
Thanks,
Reply
#2
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.
Reply
#3
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"')
Reply
#4
read https://www.irfanview.com/faq.htm#PAGE11

and check subprocess module
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
can you give example? I am confuse with this subprocess module
Thanks,
Reply
#6
Can someone give me example how to use subprocess module
install the infranview program in silent mode?
Thanks
Reply
#7
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Launch soft on Terminal in silent mode Note3409 2 2,067 Oct-03-2020, 08:21 PM
Last Post: Note3409
  Silent installation with Add python.exe to path ag248 3 6,637 Aug-09-2018, 11:38 AM
Last Post: ag248
  Adding into Path var while silent installation of Python Erik 7 7,258 Nov-20-2017, 04:16 PM
Last Post: Erik
  How to install my Python application as an Arch Linux Program BigMan 1 4,197 Apr-11-2017, 09:55 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020