Jump to content
SubSpace Forum Network

Recommended Posts

Posted

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 version

I 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*

Posted

"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.

Posted
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)
Posted

woot.. renaming it works

didnt 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 it

and with msinet and vbuzip10 combined, it will be possible to download eventual other components really easily, and they would install automatically

Posted

Good smile.gif

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 smile.gif

Posted
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
Posted

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

Posted
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...
Guest
This topic is now closed to further replies.
×
×
  • Create New...