PBB_Updater: Auto Updating
So, today an update to PBB_Updater was made that will allow it to update itself. No longer will you need to pay attention to the Recent Comments to know if I have made an update!
How do you get this functionality, you ask?
1. Open Windows Explorer and make a backup copy of the mySettings.xml file - naming the backup mySettings_Upgrade.xml. You will find this file at: C:\Program Files\StillTruth.com\PBB Updater (unless on a 64-bit edition in which case C:\Program Files (x86)\StillTruth.com\PBB Updater).
2. Download and install the latest PBB_Updater_Setup.msi.
3. Run PBB_Updater and go to Application/New. Select the updater and download it. This is the same version that you just installed, but you need to download this file if you want to know when there is an update. When you finish downloading, a message will popup asking if you want to install it - just click Cancel.
Now you will know if an update to the application occurs! You will find it under Application/Update inside of PBB_Updater.
Note: in the initial build of the PBB_Updater all date/times are in local time format. I discovered that this made everything show up as updated due to daylight savings time. (The code now ignores DST.) But, since this happened you may notice a lot of files show up under Updates. If you do, please let me know and I will try to troubleshoot. Also, in the future an update may occur to change time format to GMT time based operations. Please make sure your collection is up-to-date in the next month or so (not necessarily "New" but "Update" books). Thanks!
| Attachment | Date | Size |
|---|---|---|
| 08/27/08 4:28 am | 482.5 KB |


Comments
Still Doesn't Work on Vista x64
It is still not working on Vista x64. Are there plans to add support in the future?
Vista x64
If you could e-mail me the errors you are getting, the log file that the program generates, and if you are somewhere other than the US...? Also, are you signed in with Administrative rights or less? If less, which rights does the account have?
I know that it is working on Vista, XP, XP 64-bit, and I think someone said Vista 64-bit. So it is more or less troubleshooting each scenario as it comes up. And I do not have access to Vista 64-bit to do any testing of my own.
Thanks.
Email Sent
I wasn't getting any errors. It just wouldn't do anything. I am in Bellingham, WA. It doesn't generate a log file. I am the administrator operating with full rights.
I figured out at least part of the problem. I have to go to the actual file location (C:\Program Files (x86)\StillTruth.com\PBB Updater) and run PBB_Updater as an administrator rather than trying to run the shortcut that it creates, which cannot be run as administrator. Now it actually creates a log. Before it wouldn’t. It did actually download the Walther Library, but it didn’t download any of the StillTruth.com stuff. Also, now if I try to run the shortcut, I get an error that I didn’t get before. See the email for all the details.
Vista UAC Issues
This has to do with UAC permission issues. As I've stated previously, on my Vista machine I've turned this off. I have not researched the UAC (because I don't like it on my computer), but I believe there will be an authorization process that you must go thru to authorize this application to have access to the file system (write/delete).
I'll try to research further, but if you do reading on UAC you might find the answer quicker. I do not believe this is something I will be able to code around - as that is what UAC is supposed to do.
Fix it so the shortcut works
If you right click on the actual executable and bring up properties, and select the compatibility tab, there is a button that will allow you to change the settings for all users... If you change the setting on that screen, your shortcuts will work... (Running off memeory here, my by description might be a bit off)
God Bless,
John
FYI: Reinstalling
I just wanted to mention that if the program is not working for any reason you might be served well by completely uninstalling the PBB_Updater that you have and installing it from scratch. I had to do that yesterday and I just heard from someone else that it solved their issue as well.
Updater?
The updater will automatically update new books or do you mean the PBB updater updates new software concerning itself?
early morning ; )
Steve
RE: Updater?
Books will never automatically update. Nor in fact will the download of updates for the application. But, the program will now inform you (via Applications) if there are updates available for the application. If you choose to download the update, it will then automatically run the update upon download completion. (Also, the installer will be kept at C:\Program Files\StillTruth.com\PBB Updater in case you need to run it again.)
GPL3
I'm thrilled that you released this under GPL3. It makes my gnu loving heart happy.
Second
Clicking license reveals that the license file is not there.
You need to include it in the root directory.
Shared Source and Debugging
I'll fix that this week.
Also, I'm thinking about placing the source code out there in either EmptyCrate.com or SourceForge.net. Are there any other developers out there that would be interested in testing on other platforms that would be able to work with source debugging?
I mostly testing on XP 32-bit, but periodically test on Vista 32-bit with UACL off.
Abort button?
VMWare helps a ton when testing the other platforms...
Have you tought to include an abort button? The last update I did (using the latest Updater) was taking too long, so I clicked on the X in the upper left hand corner... Instead of a graceful close, I kept getting half a .Net Framework error screen that would keep popping up until I shutdown...
Using XP fully patched....
God Bless,
John