PDA

View Full Version : Web update folder



NewsArchive
08-23-2016, 02:53 AM
Hi all,

I have an old web update that has come up through the wars all the way
from SB5 years and years ago! Still works fine in SB10:)

Some time ago I implemented two separate update folders for this project
as it forked for two companies so I had to have a system that could
allow me to update either company without messing with the other.

So I have subfolders called "programupdate" and "programupdate/comp1".
The reason I dont have comp1 and comp2 is I did not have this in place
when the other company forked off so I just left them with the original
settings ("programupdate" I don't update them much so I left them where
they were originally and the company I update much more frequently is in
the comp1 subfolder.

This works fine, but I've found that BOTH update files need to go into
the "programupdate" folder - just the manifest for comp1 needs to go
into "programupdate/comp1" The HostDirectory is set correctly to
"programupdate/comp1" so I'm not sure why it is not downloading the
update files from that folder. If I just put the files into
"programupdate/comp1" then it gets the .exe from "programupdate/comp1"
and starts the install but throws an error when it starts downloading,
complaining it can't find the "...0001" file etc. Copy the files into
"programupdate" and it's happy and updates without problems.

Like I said, this is originally pretty old, but I'm wondering why it is
insisting on pulling the files from "programupdate" rather than
"programupdate/comp1"

Any ideas?

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
08-26-2016, 02:14 AM
Hi all,

> Like I said, this is originally pretty old, but I'm wondering why it is
> insisting on pulling the files from "programupdate" rather than
> "programupdate/comp1"
>
> Any ideas?

Anyone?

Best regards,


--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
08-30-2016, 09:46 AM
I have to give it some thought.

Friedrich

NewsArchive
08-31-2016, 02:04 AM
Hi Friedrich,

> I have to give it some thought.

Basically:

www.mydomain.com/programupdate/prog1/MyProg_3_0_1.00001
www.mydomain.com/programupdate/prog1/MyProg_3_0_1.00002


HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lindersoft \WebUpdate\Apps\{Whatever
GUID}
HOST_Address = www.maydomain.com
HOST_DIRECTORY = programupdate/prog1
etc.

It reads the .ini from the programupdate/prog1 AND runs the
MyProg_3_0_1.exe from programupdate/prog1.

However, the *.00??? files are ONLY downloaded from programupdate. If
they are in programupdate/prog1 only I get an error about not being able
to download them. If I upload them to "programupdate" no problem.

I'm going to test with a plain new install created with SB10 and see if
that works. I suspect that this may be because all the scripts are old
and have been upgraded from SB5 through every version and most builds to
SB10.

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-01-2016, 01:20 AM
> www.mydomain.com/programupdate/prog1/MyProg_3_0_1.00001

> It reads the .ini from the programupdate/prog1 AND runs the
> MyProg_3_0_1.exe from programupdate/prog1.

Hi Arnor,

If this is a Linux/Unix box, they are case sensitive about URLs.

Could the problem be that you have camel case in one place where you refer
to the URL and filename and lower (or different) case in another?


Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
09-01-2016, 01:21 AM
Hi Charles,

> If this is a Linux/Unix box, they are case sensitive about URLs.
>
> Could the problem be that you have camel case in one place where you refer
> to the URL and filename and lower (or different) case in another?

This is actually on a windows server and it works 100% if I copy the
files into the "programupdate" folder. So it's not the names. The
updater simply seems to use the wrong folder... Hmm... Wondering...
Need to check something - will let ya know.

Best regards,


--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-01-2016, 03:01 AM
Hi Charles/Friedrich,

> This is actually on a windows server and it works 100% if I copy the
> files into the "programupdate" folder. So it's not the names. The
> updater simply seems to use the wrong folder... Hmm... Wondering...
> Need to check something - will let ya know.

Just checked and I AM using the latest (SB10) version of the
WUpdate.exe. I don't think I made any changes to it, just recompiled it
with the latest SB10.

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC