On 05/06/2015 03:42 PM, Jorge Olmos wrote:
Hello all,

I have downloaded pygtk-all-in-one-2.24.2.win32-py2.7.msi.
I want to install it from command line with a "/qb!" parameter as in:
msiexec /i pygtk-all-in-one-2.24.2.win32-py2.7.msi  /qb!

But installation fails with message "TARGETDIR property is not set"

Installation fails with that message (shown by gui or in log) when I use one of:
/passive
/quiet
/qb
/qb!


From the "Other msiexec options" section in the readme[1] file:
/
Take note that if the PyGTK All-in-one installer is run with no or a basic ////UI (/q[n|b]) the automatic Python installation detection is skipped. In this ////case setting the TARGETDIR property is required. You can also set the ALLUSERS
////property if you want a system wide installation./

Please also read the "Target directory" and "Installation for All Users" sections
as they contain important information for your use case.

In short, you'll need to run something resembling (depending on where and
how your Python copy has been installed):

msiexec /i pygtk-all-in-one-2.24.2.win32-py2.7.msi TARGETDIR=C:\Python27 ALLUSERS=1

regards,
Dieter

[1] http://ftp.gnome.org/pub/gnome/binaries/win32/pygtk/2.24/pygtk-all-in-one.README

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to