View Full Version : Web Update Situation
NewsArchive
11-15-2007, 03:00 AM
Hi Friedrich,
Here goes another Q...
The situation is: the same app is installed in 3 folders in the same
disk/machine, then when you run the webupdate proc from one of theese apps
it updates ok but the others saids "you have the most recent..."
Is there any way to force the update?
--
Saludos,
Alberto
CIO CPSistemas
www.cpsistemas.cjb.net
www.gymec.com.ar
NewsArchive
11-15-2007, 03:01 AM
Alberto,
> Here goes another Q...
>
> The situation is: the same app is installed in 3 folders in the same
> disk/machine, then when you run the webupdate proc from one of theese apps
> it updates ok but the others saids "you have the most recent..."
> Is there any way to force the update?
Not sure, but I think this is only possible if you mark, in the "Install Web
Update Client" properties (Web Deployment Visualizer), the "Store Properties
in INI file" checkbox.
Friedrich
NewsArchive
11-15-2007, 03:01 AM
And how to modify the wupdate dialog to let the user choose to force the
update if it detects that you allready have the latest vesion?
How can I do it?
Alberto
NewsArchive
11-15-2007, 03:02 AM
Alberto,
> And how to modify the wupdate dialog to let the user choose to force
> the update if it detects that you allready have the latest vesion?
> How can I do it?
Hmm, I fear I do not understand this question. Why install it again if it
is already the latest version?
If you use the INI option, then all three apps in your three folders have a
unique INI file. If you update app #1 to the latest version, then app #2
and app #3 do not have the new version number in the INI. Only the INI for
app #1 is updated.
Friedrich
NewsArchive
11-15-2007, 03:02 AM
The problem is, the apps are allready installed with the not ini check
(registry I think)
If I chage this option... I'll have to run the full installer again in each
location?
Alberto
NewsArchive
11-15-2007, 03:03 AM
Hi Alberto,
> The problem is, the apps are allready installed with the not ini check
> (registry I think)
> If I chage this option... I'll have to run the full installer again in
> each location?
Yes, in this case you have to run the full installer again -or- send them a
"dummy" installer to re-initialize the web update feature (with the INI
option). I would use a small dummy installer that does not register itself
in the Add/Remove Panel and that does not provide an uninstall feature. The
resulting "fix.exe" file size will be around 140 KB.
BTW, there is more involved than changing the dialog to force an update "by
hand" ;-) If you are interested, check the wupdate.sb6 project in your
Redist folder (this is the source code for wupdate.exe).
Friedrich
NewsArchive
11-15-2007, 03:03 AM
Thanks again Friedrich
Yours sincerely
Alberto
NewsArchive
11-17-2007, 07:45 AM
Alberto,
What I do here is very simple :
Before calling the wupdate I use a small exe created with SB to download the
site version
Then I compare the site version to the app version
If the app is smaller version then all is fine otherwise I popup a case
message do you want to force update ?
if the user says yes I do a putreg on the key read by wupdate to lower the
number and all is fine
JP
--
Merci - Thank you
JP
NewsArchive
11-17-2007, 07:46 AM
Thats what I need, coudl you please send me the script?
Thanks
Alberto Michelis
NewsArchive
11-17-2007, 07:47 AM
here it is
carefull to change the GUID with your apps ones ....
JP
--
Merci - Thank you
JP
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.