Changes for page WPKG

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

From version 4.1
edited by Sebastian Marsching
on 2022/05/29 12:24
Change comment: There is no comment for this version
To version 5.2
edited by Sebastian Marsching
on 2022/05/29 12:25
Change comment: Added tag [Windows]

Summary

Details

Page properties
Tags
... ... @@ -1,0 +1,1 @@
1 +Windows
Content
... ... @@ -17,7 +17,7 @@
17 17  
18 18  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.
19 19  
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.
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.
21 21  
22 22  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`:
23 23  
... ... @@ -25,11 +25,11 @@
25 25  @start %WINDIR%\System32\mshta.exe %~dp0\wpkg_status_ui.hta %*
26 26  ```
27 27  
28 -### Patching wpkg.js
28 +## Patching wpkg.js
29 29  
30 30  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.
31 31  
32 -### Download
32 +## Download
33 33  
34 34  * [[wpkg_status_ui.hta|attach:wpkg_status_ui.hta]]
35 35  * 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.