Problem with Windows all-in-one msi installer with /q params

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with Windows all-in-one msi installer with /q params

Jorge Olmos
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!

But installation works when I use /qr, or when I use no "reduced
interface" param. Which is strange, because with /qr the installer does
not ask for
the python directory (in fact it does not ask for anything).

Am I doing something wrong?

Thanks

--
Jorge

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Windows all-in-one msi installer with /q params

Dieter Verfaillie-2
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   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Windows all-in-one msi installer with /q params

Dieter Verfaillie-2
On 05/06/2015 08:36 PM, Dieter Verfaillie wrote:
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

Off course that should have been:

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

regards,
Dieter


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