Well if i am not wrong you are asking abt , How to call installer file through 
Python.
 
If i got it right then , You can directly use os.system("<filepath\filename> 
<Any Switch>")
For silent installation , you have to pass switch,if installer supports.If you 
want intractive installation then just file name and file path is enough.

--- On Sat, 12/9/09, Sean DiZazzo <half.ital...@gmail.com> wrote:


From: Sean DiZazzo <half.ital...@gmail.com>
Subject: Re: [BangPypers] [Pythonmac-SIG] .exe r .dmg install
To: "sudhakar s" <ssqu...@gmail.com>
Cc: pythonmac-...@python.org, bangpypers@python.org
Date: Saturday, 12 September, 2009, 12:56 PM


>>What i actually my query is there is a .exe file exists in some directory and 
>>i need to install that .exe file from my pthon script
>>itself either by execution or an by an interactive application....

>>suppose i had an application with  button labeled "install"  and when i press 
>>the button installation of a .exe file or .dmg file should start.

~~~~~
Are you looking for an installer??  Here's one for windows that you can easily 
adapt to python programs.  http://www.jrsoftware.org/isinfo.php

If you need a multi-platform installer, you are on your own, but it shouldn't 
be too difficult.

hmm... Cant you do a bit of searching yourself?

~Sean


On Fri, Sep 11, 2009 at 11:50 PM, Sean DiZazzo <half.ital...@gmail.com> wrote:

Yes.  py2exe (http://www.py2exe.org/) and py2app 
(http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html)

These will take a Python program and create an executable file that doesn't 
rely on any installation of Python or the required libraries. (If the package 
is created correctly)

Is that what you mean?!?

~Sean





On Fri, Sep 11, 2009 at 11:39 PM, sudhakar s <ssqu...@gmail.com> wrote:




Hi,
     Can we install a .exe or .dmg file from python program itself....
     

-- 
With Regards,
S Sudhakar.

_______________________________________________
Pythonmac-SIG maillist  -  pythonmac-...@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig




-----Inline Attachment Follows-----


_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers



      Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to