right - i realized my logic was backwards after I hit send. If I run in debug mode, will it give me any feedback regarding with if check matches the name? My guess is that the name isn't being matched correctly and it's attempting to install again. The Event Log never shows it finishing with Spybot install and moving to the next package.
----- Original Message ----- From: Tomasz Chmielewski <[EMAIL PROTECTED]> To: W. Chris Shank <[EMAIL PROTECTED]> Cc: wpkg-users <[email protected]> Sent: Friday, October 19, 2007 10:35:02 AM GMT-0500 Subject: ***SPAM***Re: [wpkg-users] question about checks W. Chris Shank schrieb: > Ok, so I guess I'm having a conceptual problem with the check process. > The check that I currently have does the following (i think): > > if uninstall 'spybot' exists then > install > else > it's already installed - do nothing > end > > am i off the mark on what I think the check does? Sort of (did you mean "if uninstall 'spybot' does *not* exist"?). In whole, the process looks like below: 1. search for our host in hosts.xml (or in hosts directory) 2. search which profile we have to use 3. search which packages we need to have installed 4. check if the packages which we need to have installed are in C:\windows\system32\wpkg.xml already a) packages are there - fine, do nothing b) packages are not in C:\windows\system32\wpkg.xml - for "spybot", it would be: if uninstall 'spybot' exists (check in Software add/remove) then it's already installed - add to C:\windows\system32\wpkg.xml else install end -- Tomasz Chmielewski http://wpkg.org -- W. Chris Shank ACE Technology Group, LLC www.myremoteITdept.com (610) 640-4223 -------------------------------- Security Note: To protect against computer viruses, e-mail programs may prevent sending or receiving certain types of file attachments. Check your e-mail security settings to determine how attachments are handled. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
