[wpkg-users] Passing variables between WPKG and AutoIt

Marco schmidt at fgcz.ethz.ch
Wed Oct 8 10:14:21 CEST 2014


What about creating/using a web-frontend, which generates the
wpkg-profile for the host?

I am wondering how you can pop up an "Autoit" script in Windows 7. My
experience is that I just get a note from windows, that there is a
program trying to show something and blocks it.

Greetings ...
 Marco


On 08.10.2014 10:06, Kevin Hall wrote:
> Thank you Stefan, I will try that.
> 
> Just to clarify, my users are teachers who have to be ready to teach at
> set times. Therefore, I want to allow them to install software when it
> is convenient.
> 
> Regards
> 
> Kevin Hall
> 
> On 07/10/14 11:00, wpkg-users-request at lists.wpkg.org wrote:
>> Send wpkg-users mailing list submissions to
>> 	wpkg-users at lists.wpkg.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.wpkg.org/mailman/listinfo/wpkg-users
>> or, via email, send a message with subject or body 'help' to
>> 	wpkg-users-request at lists.wpkg.org
>>
>> You can reach the person managing the list at
>> 	wpkg-users-owner at lists.wpkg.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of wpkg-users digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Passing variables between WPKG and AutoIt (Kevin Hall)
>>    2. Re: Passing variables between WPKG and AutoIt (Stefan Pendl)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 06 Oct 2014 22:04:01 +0100
>> From: Kevin Hall <kevin.hall at hallictservices.co.uk>
>> To: wpkg-users at lists.wpkg.org
>> Subject: [wpkg-users] Passing variables between WPKG and AutoIt
>> Message-ID: <543303C1.8060504 at hallictservices.co.uk>
>> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>>
>> Hi Everyone
>>
>> I would like to do this:
>>
>> WPKG runs an AutoIt GUI which asks the user "Do you want to install 
>> program x ? Yes No"
>>
>> If answer$ = yes, WPKG installs the program.
>>
>> If answer$ = no, WPKG does not install the program but continues processing.
>>
>> How do I pass the variable answer$ from AutoIt back to WPKG?
>>
>> My apologies if this has been covered before, but I could not find 
>> anything on the Internet or in the forums.
>>
>> Thank you
>>
>> Kevin Hall
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20141006/e6e2e7b2/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 07 Oct 2014 08:21:59 +0200
>> From: Stefan Pendl <stefan.pendl.71 at gmail.com>
>> To: wpkg-users at lists.wpkg.org
>> Subject: Re: [wpkg-users] Passing variables between WPKG and AutoIt
>> Message-ID: <54338687.5070008 at gmail.com>
>> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>>
>> Am 06.10.2014 um 23:04 schrieb Kevin Hall:
>>> Hi Everyone
>>>
>>> I would like to do this:
>>>
>>> WPKG runs an AutoIt GUI which asks the user "Do you want to install 
>>> program x ? Yes No"
>>>
>>> If answer$ = yes, WPKG installs the program.
>>>
>>> If answer$ = no, WPKG does not install the program but continues 
>>> processing.
>>>
>>> How do I pass the variable answer$ from AutoIt back to WPKG?
>> WPKG is designed to run without user interaction and in the context of 
>> an administrative user.
>>
>> There is a file check of type execute which checks against the result 
>> (returned error code), but that is not suitable.
>>
>> Your AutoIt program must return 0 (zero) or any other value, then you 
>> could use it as the first install command and the package installation 
>> would only proceed on the return of zero.
>>
>> Still I think that the Administrator decides which software has to go on 
>> which computer and user has only the ability to use it or not, so there 
>> is no need to let the user decide what to install.
>>
>>
>> --
>> Stefan P.
>>
>> Top-posting:
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>> A: Top-posting.
>> Q: What is the most annoying thing in e-mail?
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20141007/619a1c05/attachment-0001.html>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> wpkg-users mailing list
>> wpkg-users at lists.wpkg.org
>> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>>
>>
>> ------------------------------
>>
>> End of wpkg-users Digest, Vol 84, Issue 6
>> *****************************************
> 
> 
> 
> 
> -------------------------------------------------------------------------
> SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)
> http://www.sslrack.com/
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> 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