Re: [wpkg-users] documentation
Hi Chris, W. Chris Shank wrote: > ok - i found the config.xml file in the SVN sources, so I'm getting more > info now. One thing, does anyone know if when using a http base you can > still use the empty packages.xml and have a subdir called packages and > have all individual softwarepackage.xml in it? config.xml is enclosed within the release downloads on wpkg.org as well. If you use a http base WPKG ignores the content of packages.xml and the packages subdirectory. So you can use either the files or http. If you want to use http and still edit XML, then you should configure your webserver to serve your packages.xml and make it available at the right download URL. However then you cannot use a directory with individual package files. br, Rainer - 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
Re: [wpkg-users] truecrypt [SEC=UNCLASSIFIED]
Hi, > > Unattend has some nice little scripts for this > > http://unattended.sourceforge.net/apps.php#scripts > > shortcut.pl > Also requires Perl to be installed. That isn't really a problem. Every package that uses shortcut.pl depends on the activeperl package and every client that is installed with unattended has activeperl installer already anyway. - jens - 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
Re: [wpkg-users] documentation
Just to note, config.xml can also be found in the wpkg release zip file on wpkg.org. According to latest wpkg stable release (1.0.2) source code, when using an http_base it downloads three xml files. That's one xml file per type: packages, profiles, hosts. On 12/18/08, W. Chris Shank wrote: > > ok - i found the config.xml file in the SVN sources, so I'm getting more > info now. One thing, does anyone know if when using a http base you can > still use the empty packages.xml and have a subdir called packages and have > all individual softwarepackage.xml in it? > > -- > -- > W. Chris Shank > ACE Technology Group > www.myRemoteITdept.com > > > > - > 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 > > - 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
[wpkg-users] documentation
ok - i found the config.xml file in the SVN sources, so I'm getting more info now. One thing, does anyone know if when using a http base you can still use the empty packages.xml and have a subdir called packages and have all individual softwarepackage.xml in it? -- -- W. Chris Shank ACE Technology Group www.myRemoteITdept.com - 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
Re: [wpkg-users] truecrypt
Brian May wrote: > The one issue I have noticed is the sc delete command sometimes fails to > delete the service without a reboot, which means the remainder commands > will fail because the truecrypt.sys file is still in use. At least wpkg > should still detect it as being installed and do the right thing on the > next run. > > I haven't tried to make sure that Perl is installed, you could argue > this is required, because it calls shortcut.pl (copied from unattended). I guess my number one concern with this approach is that it might cause some confusion if the computer already has truecrypt installed, via the upstream installer. Especially if there are any differences in path names, etc. Brian May - 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
[wpkg-users] searching for documentation
Can someone point me to documentation that explains the format and options for config.xml? Particularly, I'd like to know how to configure wpkg to search a URL for the packages.xml (host.xml and profiles too i guess). Are there any specific variables available for use in the settings.xml file or can we just make up anything we need? thanks -- -- W. Chris Shank ACE Technology Group www.myRemoteITdept.com - 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
Re: [wpkg-users] truecrypt
Brian May wrote: > Just realized I forgot to add the check to see if the software is > already installed or not. Will do this tomorrow. Ok, my latest version is: === %SOFTWARE%\truecrypt\install.cmd === "%WINDIR%\System32\sc.exe" stop truecrypt copy "%SOFTWARE%\truecrypt\%1\truecrypt.sys" "%WINDIR%\System32\Drivers" "%WINDIR%\System32\sc.exe" create truecrypt type= kernel start= auto error= normal binPath= "%WINDIR%\System32\Drivers\truecrypt.sys" DisplayName= truecrypt "%WINDIR%\System32\sc.exe" start truecrypt xcopy /E /I /Y "%SOFTWARE%\truecrypt\%1" "%ProgramFiles%\truecrypt" "%SOFTWARE%\unattended\shortcut.pl" --description "Truecrypt encryption" "%ProgramFiles%\truecrypt\TrueCrypt.exe" special:AllUsersStartMenu\Programs\TrueCrypt === %SOFTWARE%\truecrypt\remove.cmd === del "%ALLUSERSPROFILE%\Start Menu\Programs\TrueCrypt.lnk" "%WINDIR%\System32\sc.exe" delete truecrypt del "%WINDIR%\System32\Drivers\truecrypt.sys" rmdir /S /Q "%ProgramFiles%\truecrypt" The one issue I have noticed is the sc delete command sometimes fails to delete the service without a reboot, which means the remainder commands will fail because the truecrypt.sys file is still in use. At least wpkg should still detect it as being installed and do the right thing on the next run. I haven't tried to make sure that Perl is installed, you could argue this is required, because it calls shortcut.pl (copied from unattended). Brian May - 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
Re: [wpkg-users] truecrypt [SEC=UNCLASSIFIED]
Michael Chinn wrote: > Unattend has some nice little scripts for this > http://unattended.sourceforge.net/apps.php#scripts > shortcut.pl > it supports special folders like Unfortunately doesn't seem to allow deleting shortcuts (if package removed) :-(. Also requires Perl to be installed. Brian May - 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
Re: [wpkg-users] Problems with WPKG after settings update
Hi, > You should look in log.your_machinename, not log.nmbd and log.smbd > (unless you have some weird Samba configuration and everything gets > logged into log.smbd? That makes the log file very big and unreadable). There was basically only the test client that was accessing the samba server. So the logfile is pretty much the same as it would've been if samba was configured to create separate logfiles for every machine. > Is the time on the server and on the workstation in sync? Yes. > Because the log file ends earlier than the error from the Event Log > (14:48:55). The following lines from log.smbd are already past the time of the eventlog entry: [...] [2008/12/18 14:48:49, 3] printing/pcap.c:pcap_cache_reload(223) reload status: ok [2008/12/18 14:49:38, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2008/12/18 14:49:42, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2008/12/18 14:49:49, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [...] > I don't see anything unusual in the logfile. The workstation was reading some > files from the wpkg share etc. Are you sure it is the log from the "failed > attempt"? The second (shorter) paragraph is from a failed attempt, yes. The first one is from a working attempt. > Workstation did not read (or tried to read) the settings.xml file though. Settings.xml is only read during installation of wpkg or when the client config is updated. This error isn't really related to wpkg updating its own config as I first thought. It appears to be a more fundamental error as there aren't any traces of wpkg in the samba logs when wpkg failed. Maybe I can do some more testing tomorrow but I cannot promise anything yet. - jens - 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
Re: [wpkg-users] Problems with WPKG after settings update
Jens Geile schrieb: > Hi, > >> Coming back to your problem - it would be good to know what the server >> (i.e., Samba) logs say about it - and why it denies a connection. Without >> it, I'm afraid I can't help much. > Ok, I did some more testing today and I cant find _anything_ in the samba > logs regarding this error ... For debugging I've set the samba log level to > "3 smb:10 acls:10 locking:10 auth:10 vfs:10" which is why the attached > logfiles are a bit "long". >.> I've also included the output of "smbstatus" > and the eventlog extract in the logfiles at the times where they fit in. In > the first run everything went as expected but after a package restarted the > machine I got my usual "access denied" error. Though, the problem doesn't > really seem to be related to a package restarting the system because WPKG > still worked after such restarts in earlier test runs. > > Anyway, as I couldn't find anything in the logs (maybe I'm just blind) You should look in log.your_machinename, not log.nmbd and log.smbd (unless you have some weird Samba configuration and everything gets logged into log.smbd? That makes the log file very big and unreadable). Is the time on the server and on the workstation in sync? Because the log file ends earlier than the error from the Event Log (14:48:55). I don't see anything unusual in the logfile. The workstation was reading some files from the wpkg share etc. Are you sure it is the log from the "failed attempt"? Workstation did not read (or tried to read) the settings.xml file though. -- Tomasz Chmielewski http://wpkg.org - 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
Re: [wpkg-users] How to Deploy WPKG client with group policy??
Greg Kavanagh schrieb: > On Wed, Dec 17, 2008 at 5:26 AM, Tomasz Chmielewski wrote: >> Greg Kavanagh schrieb: >>> I was using the generic format from the AD page and I am using 1.36 >>> >>> I still can't get it to work. It starts the installer at login and >>> fails with the error "you need administrative privileges to run this >>> tool" which strikes me as an error from the WPKGinst.exe rather than a >>> MS error. >>> >>> I posted the install log. If anyone more knowledgeable could have a >>> quick look I'd appreciate it. > > >> According to the log, it installed correctly: >> >> MSI (s) (14:E4) [14:47:25:031]: Product: WPKG -- Installation completed >> successfully. >> >> MSI (s) (14:E4) [14:47:25:047]: Windows Installer installed the product. >> Product Name: WPKG. Product Version: 1.3.6. Product Language: 1033. >> Installation success or error status: 0. >> >> >> What and when displays these errors you mention? Could you provide a >> screenshot? Did you check the Event Log? (...) > Just above that you'll find these errors > MSI (s) (14:E4) [14:47:25:031]: Note: 1: 1707 > MSI (s) (14:E4) [14:47:25:031]: Note: 1: 2262 2: Error 3: -2147287038 > MSI (s) (14:E4) [14:47:25:031]: Note: 1: 2262 2: Error 3: -2147287038 About every MSI installation has such errors. > When the user logs on it runs a .bat that runs the wpkg msi. The error > can be seen at > > www.concretenoise.com/wpkgerror.jpg > > it appears before the desktop arrives. > > > The event log states: > > "Product: WPKG -- Error 1722. There is a problem with this Windows > Installer package. A program run as part of the setup did not finish > as expected. Contact your support personnel or package vendor. Action > _A9459942_EE79_497A_9080_F39DDA8A7B80, location: C:\Program > Files\wpkg\wpkginst.exe, command: --SETTINGSFILE=" Does it come from the time when the log said: MSI (s) (14:E4) [14:47:25:031]: Product: WPKG -- Installation completed successfully. That would be weird: log file says it was a success, Event Log says it was a failure. > it also states: > > "The WPKG Service service is marked as an interactive service. > However, the system is configured to not allow interactive services. > This service may not function properly." > > Thats why the service won't run I think > > MS have a page about this > > http://www.microsoft.com/whdc/system/vista/services.mspx UAC & friends? Sorry, I'm not familiar with Vista, but I know there are people on this list using WPKG Client with Vista successfully. -- Tomasz Chmielewski http://wpkg.org - 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