j...@freakyacres.com, I saw your WPKG question. I have a idea that may work for you. Its a blended program approach. Are you familiar with Autoit? If not its super easy to use and you can get it for free at http://www.autoitscript.com/autoit3/index.shtml. I also recommend getting the scite editor.
Anyway in brief autoit allows you to write au3 files and compile them into .exe files. What I would do is create your WPKG as you have, but before it starts any install commands it firsts "installs" an autoit program you wrote, notifying the user a upgrade is in progress. The WPKG code would be: "WPKG header info check commands Install/upgrade command 1: AutoIT message box saying please don't reboot Install/upgrade command 2: WPKG install you already wrote Install/upgrade command 3: AutoIT message box saying all done remove commands wpkg footer info" The auto it code would be something like this: "msgbox(1, "Upgrade in progress", "Please do not restart your computer. Another message will let you know when it is done")" The user will see this pop up and need to click OK to get rid of it (you can also add a time out, but it won't affect WPKG commands, only the next autoit command in the same program). Then your WPKG runs and you end it with a second "install" of a autoit program. "msgbox(1), "Upgrade is complete", "Upgrade finished!")" If you wanted to force a reboot you could also throw in at the end of your autoit success message shutdown(code) where code is equal to type of shutdown. I personally enjoy shutdown(22) which does a forced reboot even if anything is hung. I know this isn't what your looking for but it might help. If you run into AutoIT issues email me direct and I'll see what I can do. Also the forums are decent and the help file is incredibly helpful. Good luck. Nick Elmendorf Senior Information Technology Specialist ----- Original Message ----- From: wpkg-users-requ...@lists.wpkg.org To: wpkg-users@lists.wpkg.org Sent: Wednesday, January 26, 2011 4:00:01 AM GMT -07:00 US/Canada Mountain Subject: wpkg-users Digest, Vol 39, Issue 16 Send wpkg-users mailing list submissions to wpkg-users@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-requ...@lists.wpkg.org You can reach the person managing the list at wpkg-users-ow...@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. Is there any way to display a popup? (Joe) ---------------------------------------------------------------------- Message: 1 Date: Tue, 25 Jan 2011 11:48:36 -0500 From: Joe <j...@freakyacres.com> To: wpkg-users@lists.wpkg.org Subject: [wpkg-users] Is there any way to display a popup? Message-ID: <4d3efee4.8060...@freakyacres.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed I have a wpkg user running wpkg at login. The problem is that the real user cannot see that wpkg is running and then they tend to restart when the computer seems busy. Is there some way to display a popup message while wpkg is running so any real user can see it on the desktop? ------------------------------ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users End of wpkg-users Digest, Vol 39, Issue 16 ****************************************** ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users