Changes for page WPKG

Last modified by Sebastian Marsching on 2022/05/29 14:08

From version 11.1
edited by Sebastian Marsching
on 2022/05/29 14:08
Change comment: There is no comment for this version
To version 4.1
edited by Sebastian Marsching
on 2022/05/29 12:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Tags
... ... @@ -1,1 +1,0 @@
1 -Windows
Content
... ... @@ -11,14 +11,13 @@
11 11  * The service can be started by a logon script (when network is available), but users need the right to manage the service:
12 12  * See [http://support.microsoft.com/default.aspx?scid=kb;en-us;288129](http://support.microsoft.com/default.aspx?scid=kb;en-us;288129) on how to give them the right or even better [http://support.microsoft.com/kb/256345/](http://support.microsoft.com/kb/256345/) on how to do this using Group Policies.
13 13  * When the service is not listed, you have to edit `SYSVOL\<Domain>\Policies\<ID>\Machine\Microsoft\WindowsNT\SecEdit\GptTmpl.inf` manually.
14 -* A login script with just one line can be used:
15 -`net start WPKGService`
14 +* A login script with just one line can be used:
16 16  
17 17  # Status UI
18 18  
19 19  If you want to delay user logon while software is being installed, you might be interested in [wpkg-gp](http://code.google.com/p/wpkg-gp/)). If you do not want to do this (maybe because you are worried about unnecessary delays for roaming users), you still might want to notify users after logon that software installation is in progress.
20 20  
21 -I wrote a little [HTML Application](http://en.wikipedia.org/wiki/HTML_Application), that does exactly this: show a small window that notifies the user of the software installation. When the installation is finished, the window closes itself. You can [[download||anchor="download-status-ui"]] the application and distribute it on your PCs. You just have to make sure that it is started each time a user logs in. An easy way to do this is [http://support.microsoft.com/kb/240791/en-us through group policies](<http://support.microsoft.com/kb/240791/en-us> through group policies). However, you can also use a registry entry.
20 +I wrote a little [HTML Application](http://en.wikipedia.org/wiki/HTML_Application), that does exactly this: show a small window that notifies the user of the software installation. When the installation is finished, the window closes itself. You can [download](https://sebastian.marsching.com/wiki/Windows/WPKG#download-status-ui) the application and distribute it on your PCs. You just have to make sure that it is started each time a user logs in. An easy way to do this is [http://support.microsoft.com/kb/240791/en-us through group policies](http://support.microsoft.com/kb/240791/en-us through group policies). However, you can also use a registry entry.
22 22  
23 23  Starting the application directly can cause problems, because (at least sometimes) the 32-bit version of `mshta.exe` will be used on 64-bit systems. If this happens, the application cannot read the registry keys created by WPKG and thus cannot display the status. Therefore, I use a little batch-file for making sure it is always started using the 64-bit version of `mshta.exe`:
24 24  
... ... @@ -26,11 +26,11 @@
26 26  @start %WINDIR%\System32\mshta.exe %~dp0\wpkg_status_ui.hta %*
27 27  ```
28 28  
29 -## Patching wpkg.js
28 +### Patching wpkg.js
30 30  
31 31  The current version of WPKG (at time of writing version 1.3.0) has a bug that causes the running information not to be published in the registry. Even if this worked, it would only provide information about whether it is running, not what it is doing. Therefore I made a small patch that publishes this information in the registry. This way, the status UI will also show which package is just being installed or removed. You can download the [[patch|attach:wpkg.js-extra-status.patch]] or download the [[patched version|attach:wpkg-extra-status.js]] of `wpkg.js` version 1.3.0.
32 32  
33 -## {{id name="download-status-ui"/}}Download
32 +### Download
34 34  
35 35  * [[wpkg_status_ui.hta|attach:wpkg_status_ui.hta]]
36 36  * The icon used in this application has been created by [DesignContest](http://www.designcontest.com/) and is licensed under the terms of the [CC Attribution License 3.0](http://creativecommons.org/licenses/by/3.0/). Feel free to replace this icon with another one that you might like better. In fact I use a different icon internally, however I can not distribute this icon with the application due to copyright restrictions.