Samapico Posted July 27, 2006 Report Posted July 27, 2006 Ok, we want to make it so when you get an update, you can have it automatically unzipped and restarted so you immediatly get to use the latest versionI was trying to use the s!@#$%^&* command for winzip to extract it , but after 15 minutes, I noticed I don't even have winZip... (I use WinRAR)So it would need to find the program to use in the registry... but does all the s!@#$%^&* commands in zip/unzip utilies are the same? probably not... bleh I suck at these s!@#$%^&* things *cries*
»SOS Posted July 28, 2006 Report Posted July 28, 2006 "Should I use a gl!@#$%^&* bottle or an old shoe to hammer this nail?" Neither. Use a zip DLL. Alternative - don't even download a zip, just download an EXE straight from the web.
Samapico Posted July 31, 2006 Author Report Posted July 31, 2006 ok.. found a way to unzip easily using a dll (it will need to be downloaded) ... but it doesnt seem to want to overwrite the .exe when it is running (from VB's IDE it works since the .exe file is not being used)
»SOS Posted August 1, 2006 Report Posted August 1, 2006 I outlined how to do it a month or two ago...
Samapico Posted August 1, 2006 Author Report Posted August 1, 2006 woot.. renaming it worksdidnt know how to "queue a "delete after restart" work item for Windows" as you suggested, but everytime DCME starts, it searches for a DCMEbackup????.exe hidden file, and deletes it if present now im trying to handle errors correctly concerning missing components... or have it check if the component exists before trying to use itand with msinet and vbuzip10 combined, it will be possible to download eventual other components really easily, and they would install automatically
»SOS Posted August 1, 2006 Report Posted August 1, 2006 Good The queuing was... erm... there were two ways, I think. One was some Windows exe that queued it and another way was to add it manually to the registry. But your solution is just fine, as well
Samapico Posted August 1, 2006 Author Report Posted August 1, 2006 someone on another forum suggested creating a .bat file that would do the work, then it would delete itself... that would have been pretty neat too
Samapico Posted August 2, 2006 Author Report Posted August 2, 2006 har har har, it shouldnt crash anymore, even if you dont have the needed components... it searches for the component first (in application path and system folder (using OS variables)), and if it doesnt find it, a message will appear asking you if you want to download it, and bring you to the download page (for msinet)for vbuzip10.dll, if you already have msinet, it will bring up the "Get Components" dialog, and allow you to download it quickly by one simple click, then the zip file will be opened automatically... you just need to extract it
Drake7707 Posted August 2, 2006 Report Posted August 2, 2006 why don't you put the components into a self-extracting archive ? with . as destination ( . is path where archive is located)
Samapico Posted August 3, 2006 Author Report Posted August 3, 2006 could do that... but I have no place to put such file for direct download; i dont know if a link to an attachment would work with msinet ; but it would still require msinet.ocx to do a direct download from the program...
Recommended Posts