PDA

View Full Version : Caught in an update loop...



NewsArchive
05-10-2011, 12:59 AM
All I did was change the version number in SB (increased it by 1). Now, my
app keeps thinking there's a new version (via wucheck). What could I have
broken to cause that? What should I look for?

Files uploaded via FTP.

I apologize for the stupid problems....

Thanks,

Donald Ridley

NewsArchive
05-10-2011, 01:00 AM
Hi Donald,

If I increase my version number ( by any value or amount ) this is
exactly the response I expect.

Why are you expecting something different?

*Regards*,

Lee
www.cya2day.com
CYA - Don't Leave Home Without One

NewsArchive
05-11-2011, 02:12 AM
I think you misunderstood what the problem is. I increased the version
number once by 1. The installed app should update - once. I keep getting
told an update is available even when there shouldn't be.

Clarion 8
Don

NewsArchive
05-11-2011, 02:13 AM
What version number are you using (in your web update package)?

Friedrich

NewsArchive
05-11-2011, 02:13 AM
>
> What version number are you using (in your web update package)?
>

BTW, you can also send your initial .sb7 and the web update installer .sb7
to our Support and we can tell you what's wrong.

Friedrich

NewsArchive
05-11-2011, 02:16 AM
I only have one sb7 file. I just check the Enable Web Installation, Enable
Web Update and Install Web Update Client check boxes. I then upload the
files to my server.

Don

NewsArchive
05-11-2011, 02:16 AM
> I only have one sb7 file. I just check the Enable Web Installation,
> Enable Web Update and Install Web Update Client check boxes. I then
> upload the files to my server.

Hmmm, only one .sb7 for both the initial install and your web updates? I
would strongly suggest to check this:

http://www.lindersoft.com/forums/showthread.php?t=9459

Okay, so you have only one .sb7 to power the "initial" install and your "web
update". But you disable the "Install Web Update Client" if you compile
your web update installer package and you have extra code in that .sb7 to
detect your "initial" install, correct?

Friedrich

NewsArchive
05-11-2011, 02:17 AM
Version number is 1.0.0.1125. Perhaps it is formatted wrong?

Don

NewsArchive
05-11-2011, 02:17 AM
>
> Version number is 1.0.0.1125. Perhaps it is formatted wrong?
>

No, the version format is okay. Does your web update installer has
administrator execution level privileges on UAC-aware systems? Or is it an
asInvoker manifested update?

Friedrich

NewsArchive
05-11-2011, 02:18 AM
Require administrator. I'm using RunCode() to check the return value on
wucheck. Maybe RunCode is broke in the latest build of C8?

Run('wucheck.exe /S /C',1)
If RunCode() = 1
UpdateWindow()
End

Don

NewsArchive
05-11-2011, 02:18 AM
> Require administrator. I'm using RunCode() to check the return value on
> wucheck. Maybe RunCode is broke in the latest build of C8?
>
> Run('wucheck.exe /S /C',1)
> If RunCode() = 1
> UpdateWindow()
> End

No, this is just the client that checks for updates. It runs non-elevated
by default.

I meant the web installer package that does the real update (and updates the
version number in the registry). This package (wucheck.exe downloads it
from your server) needs administrator execution level privileges.

But from what I have read in your other post, your web update strategy (IMO)
is incorrect and you do not have a working web update solution.

Friedrich

NewsArchive
05-11-2011, 02:18 AM
Okay, I'll take a look at having a separate wupdate.sb7 file.

Don

NewsArchive
05-11-2011, 02:19 AM
Uninstalled the application and reinstalled. Problem went away. Don't know
what the problem was but it's gone....

Thanks!

Don

NewsArchive
05-11-2011, 02:19 AM
Hi Don,

> Uninstalled the application and reinstalled. Problem went away. Don't
> know what the problem was but it's gone....

IMO, this does not "fix" it.

Friedrich

NewsArchive
05-11-2011, 02:19 AM
No it doesn't but it give me time to change everything over to the "correct"
way.

:-)

Don

NewsArchive
05-11-2011, 02:20 AM
> No it doesn't but it give me time to change everything over to the
> "correct" way.
>
> :-)

Okay :-)

Friedrich