[wpkg-users] non-silent gui install question

Tomasz Chmielewski mangoo at wpkg.org
Tue Oct 24 16:12:59 CEST 2006


Tom Cool wrote:
> Tomasz Chmielewski wrote:
>>> is it possible to install packages using wpkg that are non-silent, but
>>> use a gui and autoit to simulate mouse-clicks etc? most of the software
>>> i install has a silent install script, but in some cases, sadly, a gui
>>> and autoit is the only way to get it properly installed and configured
>>> how will this happen practically? i thought gui's can only work when
>>> there's a user logged in? will there be an automatic login of a (local)
>>> administrator to install the (gui) package?
> 
>> If you start WPKG so that everything it runs is displayed, it should work.
> 
> is there a special option how to do this? here is what i did:
> 
> - configured network share, with install directory (%SOFTWARE%) and
> configured wpkg .xml files
> - made a firefox 2.0 package, which works when i test it locally on my
> own machine, running wpkg.js in a commandshell started as administrator
> - here's the problem: the firefox setup pop ups a dialog box asking you
> if it's ok to close your currently running firefox ("Yes"/"No"), before
> it can upgrade
> i *know* i can avoid this by writing a script checking for and closing
> running firefox.exe instances (i have such a script), but that's not the
> point - i used this as a test to see what would happen with gui
> installers in general
> so, when i run wpkg.js remotely, as a scheduled task on my machine run
> by the domain administrator, it doesn't display the gui install popup,
> asking me to close firefox. i'm logged in as a normal user - not
> administrator.

The window is actually displayed, but you can't see it.


> is there anything i can do to make that work, or will it just never work
> with gui installers?

It's not a good idea to use it with GUI installers.
Start it when the workstation boots, or make sure the application is not 
running (kill the applications, for example using taskkill on XP).

Of course, be careful, as users may loose data this way.


-- 
Tomasz Chmielewski
http://wpkg.org






_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list