PDA

View Full Version : Please explain how wucheck and wupdate work.



NewsArchive
06-07-2013, 11:04 AM
Hi, I am new to using SetupBuilder, and I have this question. If I have 3
different programs that need to be updated and the are all in the same
directory on the clients machine, how do I tell wucheck or wupdate which one
I am trying to update?
Thanks,
Wayne

NewsArchive
06-07-2013, 11:04 AM
You don't - each install has a unique GUID and that is what is looked at.

However, wupdate and wcheck all have the same name, so you can't install
them with that name in the same folder as the last one wins.

To get around this, you can alter the sb8 script that creates each as a
new script (save as) so the resulting name is different.

PrgAUpdate
PrgBUpdate
PrgCUpdate

Salt to taste.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
06-07-2013, 11:05 AM
Thanks Russ, so if I am understanding you correctly, I would not be calling
"wupdate", but a name I created myself like "program1update",
"program2update" etc. - And I can change that somewhere in the SB script?
Wayne

NewsArchive
06-07-2013, 11:05 AM
Wayne,

Exactly what Russ said.

BTW, in Windows, each "Product" needs it's own unique Product GUID. Of
course, you can web update as many programs (.exe) as you want -- one
Product can have an unlimited number of "programs".

For example:

Initial Install 1.0:

c:\MyCoolApp\App1.exe -- Version 1.0
c:\MyCoolApp\App2.exe -- Version 1.0
c:\MyCoolApp\App3.exe -- Version 1.0
c:\MyCoolApp\App4.exe -- Version 1.0

In Update 1.1, your developers add updated App1.exe and App3.exe programs.
Then your Web Update project will include:

c:\MyCoolApp\App1.exe -- Version 1.1
c:\MyCoolApp\App3.exe -- Version 1.1

In Update 1.2, your developers add an updated App4.exe. Then your Web
Update project will include:

c:\MyCoolApp\App1.exe -- Version 1.1
c:\MyCoolApp\App3.exe -- Version 1.1
c:\MyCoolApp\App4.exe -- Version 1.2

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

Hope this helps a bit.

Friedrich

NewsArchive
06-07-2013, 11:05 AM
Forgot a link in my previous post. The "Examples Package" for SB8 is
available here:

http://www.lindersoft.com/sb8_Examples.exe

http://www.lindersoft.com/downloads_licensed.htm

Friedrich

NewsArchive
06-07-2013, 01:50 PM
Thanks Russ and Friedrich!

Wayne Hodge

NewsArchive
06-09-2013, 03:23 AM
Does this work in SB7 also?
Thanks, Wayne

NewsArchive
06-09-2013, 03:23 AM
Should as the script files are interchangeable. But if you get a
compiler error on one of the commands, its likely a SB8 only feature <g>.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
06-09-2013, 03:24 AM
Thanks, Russ

Wayne Hodge