PDA

View Full Version : WebUpdate problem



NewsArchive
10-21-2006, 08:31 AM
I am using the webupdate in one of my apps and I am in a continuous loop
My app starts
the webupdate tells me an update is available
it downloads and installs the update
then when my app starts again, it tells me an update is available

This happens every time
i deleted my installation and tried again and still have the same problem
Cant figure out what I am doing wrong
I am using version 5.6.159

--
Eric Jacobowitz
www.castlecomputer.com
www.cctsoftware.com

NewsArchive
10-21-2006, 08:32 AM
Eric,

What's the value of your [PRODUCTVER] field (General Information) in your
original and web update script?

You need a higher version number in your web update script.

HTH,

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
10-22-2006, 05:59 AM
Friedrich

I figured that part out, but the problem is the entry in my registry is not
being updated

[PRODUCTVER] is set to 1
an the web update scrtip is set to 200

I ran the update and my registry still is set to 1 for LocalVersion

--
Eric Jacobowitz
www.castlecomputer.com
www.cctsoftware.com

NewsArchive
10-22-2006, 05:59 AM
Eric,

This could be too obvious, but I'll ask, do you have the *SAME* "Product
GUID" in both the original and the web update script? If not, then the web
update script has no idea which local version to update.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
10-24-2006, 02:24 AM
Friedrich

I only have 1 install that I wrote because the install is basically only 2
files - my exe and the webupdate.exe
I think that is the problem? I need another install script for the
update????

In general info the productguid is {60C83860-602F-11DB-6784-03C242ED18BE}



--
Eric Jacobowitz
www.castlecomputer.com
www.cctsoftware.com

NewsArchive
10-24-2006, 02:24 AM
More info

My local version is 1 in the install script
the webupdate version is 201
I changed the setting in the registry to 200
I run my app
it does the update and resets the local version back to 1 in the registry

If I set the local version to 201, then the app does not update - which is
correct. But the registry is always being set back to 1

I have used Webupdate before with another app and do not have this problem

not sure what I am missing here


--
Eric Jacobowitz
www.castlecomputer.com
www.cctsoftware.com

NewsArchive
10-24-2006, 02:25 AM
Eric,

Yes, you need two projects. See "Using Web Update in Your Installation"

1) Initial Deployment
2) Web Update Deployment

One project to power the initial and all web updates does not work. The
initial project initializes web update (installs the web update client)
and the web update script(s) control(s) all web update processes.

BTW, you can completely automate this. File | New | Web Update Project
creates the web update script for you and Project | Task Automation |
Perform Auto Update Scan can generate the file updating logic. We are
using the above to generate all update scripts for our SetupBuilder 5
live updates (takes only 15 seconds to develop the full auto updating
solution).

HTH,

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
10-24-2006, 02:25 AM
YES! I ran the FILE > NEW > WEB UPDATE and now it works
I didnt remember doing that last time I created a web update but that was
not with the most recent version

--
Eric Jacobowitz
www.castlecomputer.com
www.cctsoftware.com