PDA

View Full Version : IPD - Detect an existing IPD-Server during update (X-post)



NewsArchive
07-12-2011, 12:48 AM
Cross-posted in Databasedriver/Setupbuilder-NG

IPD - Detect an existing IPD-Server during update (X-post)

Hello all,

how do you handle your updates of IPD-apps?

When you send out a CD with an installer, likely made with SetupBuilder,
how do you detect an existing IPD-server?

Although its rather improbable that my end-users have a running IPD-app
from another vendor, what happens if I distribute an older version of IPD
compared to the one that is already installed?

In SetupBuilder I see Check Service, so I could give out a message to stop
that one.

There is also a function Detect Previous Version which looks up a GUID. I
suppose that GUID has to be store somewhere in the Registry. But with this
I can detect an already known version, which for sure would be my own
previous, but I can't detect any other previous from other vendors.

Thanks for your thoughts.....

IPD - Detect an existing IPD-Server during update (X-post)

--
Wolfgang Orth

www.odata.de
www.kik-service.de

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It's five o'clock somewhere.....




Written with Operas News-/ Mailclient: http://www.opera.com/mail/
..com/mail/

NewsArchive
07-12-2011, 12:49 AM
Hi Wolfgang,

I think the service executable is version stamped. So it should be enough
to check the version info ("Get File Info...") and compare it to your
service version number ("Compare Version Strings..." and/or "If Version"
Statements).

Does this help?

Friedrich

NewsArchive
07-12-2011, 10:21 AM
> Does this help?

We will see..... :-D

Get File Info - I looked at that, but did not know that this means
integrated FileVersion.

Thats what I add into my EXE with cwVersion like 4.6.0.1? That might solve
it


thanks for the info


--
Wolfgang Orth

www.odata.de
www.kik-service.de

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It's five o'clock somewhere.....




Written with Operas News-/ Mailclient: http://www.opera.com/mail/