UpdaterName (General questions)

by jasnew1969 @, (6230 days ago)

If I have anything in UpdaterName, I get 30003 Name not unique, cannot obtain lock. Please use different UpdaterName. Doesn't matter what I put in there, I get that error. I can leave it blank and it works, but when I add the control to the app, that field is populated and gives me that error. Just wondering what the deal is.

locked

Re: UpdaterName

by wodDamir @, (6230 days ago) @ jasnew1969

Hi,

Can you please check what ServiceIsRunning property value is?

Regards,
Damba

locked

Re: UpdaterName

by Edgar Vorland @, (6189 days ago) @ wodDamir

I get the same behaviour.

Using Delphi 2007.

The error message is displayed whatever I put in Updatername , but when it is left blank it is working ok.

ServiceIsRunning is true

locked

Re: UpdaterName

by wodDamir @, (6189 days ago) @ Edgar Vorland

Hi Edgar,

What version of wodAppUpdate are you using?

Can you check what does your Version property return?

Also, where do you set Updater name?

Regards,
Damba

locked

Re: UpdaterName

by Edgar Vorland @, (6189 days ago) @ wodDamir

Hi Edgar,

What version of wodAppUpdate are you using?

Can you check what does your Version property return?

Also, where do you set Updater name?

Regards,
Damba

Version: 1.3.1.84
WinVersion: 5.1.2.2600.Service Pack 2

I set the updater name through Delphi's inbuildt Object Inspector. (Design time).

locked

Re: UpdaterName

by wodDamir @, (6189 days ago) @ Edgar Vorland

Edgar,

Ok, can yuo please do one more check? Can you check version number of C:Windowssystem32wodUpdSv.exe ? What does it contain?

It should be the same as your AppUpdate version.

Also, can you try settings it inside your code, something like:

wodAppUpdate1.UpdaterName := 'someName';

Regards,
Damba

locked

Re: UpdaterName

by Edgar Vorland @, (6189 days ago) @ wodDamir

Edgar,

Ok, can yuo please do one more check? Can you check version number of C:Windowssystem32wodUpdSv.exe ? What does it contain?

It should be the same as your AppUpdate version.

Also, can you try settings it inside your code, something like:

wodAppUpdate1.UpdaterName := 'someName';

Regards,
Damba

The wodUpdSv.exe has the same version: 1.3.1.84

And you are on the right track because when I set the updatername in code (Put it in the FormCreate) then it worked.


[:smile:]

locked

Re: UpdaterName

by wodDamir @, (6189 days ago) @ Edgar Vorland

Edgar,

So it works when you set the property from your code? Then I don't think this is an issue.

Setting some properties in Delphi (thru object inspector) doesn't work for some reason (probably because of the wrappers that are created). When Delphi creates wrappers for the component, he usually changes some things because of the reserved words etc.

Or perhaps I misunderstood you?

Regards,
Damba

locked