PDA

View Full Version : Web Update



NewsArchive
11-12-2007, 02:48 AM
Dear Friedrich and folks,

I´m trying to Web Update an instalation but... can´t do it.

What I´ve done is:

Take the original install project, lets call it WILLI.sb6 (it is so simple
that only installs a few exe and dll over a fix folder)
In the Web deploiment section:
-check the Enable web instalation.
-open the dialog window and check Web Update Image
-check the Enable Web Update
-open the dialog window and fill the host address, directory... and server
manifest file WILLI.wud
-in settings set the version number to 6.15
-compile it
-copy *.* from the \web folder to the server directory

Copy the wupdate.sb6 from the 1033 dir to a nother dir
Rename it to WILLIupdate.SB6
-change the executable name to WILLIupdate.exe
In the Web deploiment section:
-check the Enable Web Update
-open the dialog window and fill the host address, directory... and server
manifest file WILLI.wud
-in settings set the version number to 6.14
-compile it

But when I run it I got the following error:
The SetupBuilder WebUpdate client could not locate an assosiated application
to update. Please make sure this soft is intalled properly...

What am I missing?

--

Regards,

Alberto

NewsArchive
11-12-2007, 02:49 AM
More data:

I´ve run the installer (WILLI.EXE) to allow it to write the registry entries
the WILLIupdate will need (as I read in som posts).
Copy the WILLIupdate.exe to the WILLI.exe dir, and when I run it I obtain
the same error.

Pease help!

Alberto Michelis

NewsArchive
11-12-2007, 02:49 AM
OK, having done some more testing I realized I got to check the Install Web
Update Client and the wupdate.exe is automatically added and intalled.

Realized too that the intaller connects to the web directory when its
running and if it does not found any of the *.0000* files it halts the
installation.

Q1: Is that the reason why you need to have 2 differents setup files? one
for simple instalations and another for web updateds instalations?

Q2: Trying to force a reinstallation... If I change the .wud file version in
the server without uploading a new version the wupdate.exe , the wupdate.exe
detects the new version an installs it but if you run the wupdate.exe again
it stills detects a new version an reinstall it again and again.
It cant be done?

THanks
Alberto

NewsArchive
11-12-2007, 02:52 AM
Alberto,

Unfortunately, you have it completely wrong. I would suggest to use the web
update wizard. If you use File | New | Web Update Project then the wizard
will generate the web update project for you (based on your initial
install). The "Product GUID" for the initial and the web update must be the
same. Otherwise, you'll get the "ERR_IDEPLOYCONFIG" error "The Web Update
client could not locate an associated application to update. Please make
sure that this software is installed properly."

Two different projects are required because a web update only includes the
differences between the initial and new version. Let us assume, your full
install includes 200 files. Now you have a new version available and you
have modified 8 files. The web update project only includes 8 files and not
200!

HTH,

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-15-2007, 02:46 AM
OK, I´ve done it.
I´ve
-compiled the Full Install project.
-create the Web Update (it asked for the full install project)
-copile it
but when I compile the Web Udate Client it does not include any of the
modified files, there are no *.0000* files in the web directory.
I had to add them manually and then it allways include the same files.
What am I doing wrong??

Thanks
Alberto

NewsArchive
11-15-2007, 02:46 AM
Alberto,

> OK, I´ve done it.
> I´ve
> -compiled the Full Install project.
> -create the Web Update (it asked for the full install project)
> -copile it
> but when I compile the Web Udate Client it does not include any of the
> modified files, there are no *.0000* files in the web directory.
> I had to add them manually and then it allways include the same files.
> What am I doing wrong??

Hmm, what do you mean by "I compile the Web Udate Client"? The web update
client is "wupdate.exe" and this client is automatically installed as part
of the initial install.

As I understand it, you compile the full install project. This project
initializes your web update feature (makes your app web update ready),
right? That means, what you have now is the latest version of your product.
So why do you create a web update project at this stage? A web update
project only includes all changed files (files to be updated).

If my above assumption is correct, you only create a full install now. If
wupdate.exe is executed, it displays a "You already have the most recent
version of %APPTITLE% on your system."

To sum it up, to make your application web update ready, you do the
following:

1. Create your installation project
2. Go the the "Web Deployment" Visualizer and mark the "Enable Web Update"
and "Install Web Update Client" checkboxes
3. Enter the host details
4. Compile (and upload the server manifest file)

That's it!

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-15-2007, 02:47 AM
Friedrich,
In your last post you said to me:

I would suggest to use the web
update wizard. If you use File | New | Web Update Project then the wizard
will generate the web update project for you (based on your initial
install).

Then I´ve
-compiled the Full Install project.
Now you suggest:
> 1. Create your installation project
I assume you mean the Web Update Project and I´ve done it with the wizard
you suggeted.

> 2. Go the the "Web Deployment" Visualizer and mark the "Enable Web Update"
> and "Install Web Update Client" checkboxes
> 3. Enter the host details
The wizard fills this info copying it from the main project.

> 4. Compile (and upload the server manifest file)
And the problem is... Theres no *.0000* files in the web directory to upload
to the host.

The web update project wizard asks form the main install project, I thought
it is to compare the files to know which file to include in the *.0000*
files to be uploaded to the host.

Sory if I entangled you.

Alberto

NewsArchive
11-15-2007, 02:48 AM
Alberto,

> In your last post you said to me:
>
> I would suggest to use the web
> update wizard. If you use File | New | Web Update Project then the wizard
> will generate the web update project for you (based on your initial
> install).

Yes, I wrote that in my previous post because I thought you already had
distributed your version "1.0" and your intention was to provide a web
update for the product ;-)

> Then I´ve
> -compiled the Full Install project.
> Now you suggest:
>> 1. Create your installation project
> I assume you mean the Web Update Project and I´ve done it with the wizard
> you suggeted.

No. As I understand it, you make your application web update ready now,
correct? That means your app should live update when the *NEXT BUILD* is
available. In this case you don't need the web update project now!!!
Because there is nothing to update yet ;-)

>> 2. Go the the "Web Deployment" Visualizer and mark the "Enable Web
>> Update"
>> and "Install Web Update Client" checkboxes
>> 3. Enter the host details
> The wizard fills this info copying it from the main project.

See above!

>> 4. Compile (and upload the server manifest file)
> And the problem is... Theres no *.0000* files in the web directory to
> upload
> to the host.

Correct! Because there is no updated file now! If you make your
application web update ready now you don't need a web update project.

> The web update project wizard asks form the main install project, I
> thought
> it is to compare the files to know which file to include in the *.0000*
> files to be uploaded to the host.

See above ;-)

So do exactly what I wrote in my previous post and you are done. You only
have to mark two checkboxes, fill in the host information and your
application is web update ready.

Friedrich

NewsArchive
11-15-2007, 02:48 AM
Sory, but I need to undestand.

The real situation is:
I have an aplication installed manually in 3 places from long time ago.
I need the users to update the app themserlves.
Then my idea was to add a menu option to run the wupdate.exe to allow the
web update.

Then, I´ve
-made a "main install project" with all the files,
....check the Enable Web Update, fill the host data and the name of the
manifest file
....compile it and intall it in all the 3 places
Compiling the "main install project" does not make any Web directory with
the files to upload to the host.
But it generates the manifest file with the initial version in it.
Am I right?

Now I need a "web update project" which will generate the Web directory with
the files I need to upload to the host for the wupdate.exe to check the
manifest file and download and istall.
Am I right?

OK, then I create the "web update project" with the wizard, the wizard asked
for the "main install project" (as I realized to copy the host data).
When you look to this project, it checks the Enable Web Instalation/ Web
Update Image=Yes and the Enable Web update with the same info of the "main
install project"
I compiled it and no *.0000* files appears in the web directory, thats ok
because nothing changes from the compila of the "main install project" and
now.
Am I right?

OK, then I change one of the exe files includes in the main project,
recompile the "web update project" incrementing the productver and again
theres no *.0000* files appears in the web directory.
I got nothing to upload to the host.
What am I doing wrong?

Regards
Alberto

NewsArchive
11-15-2007, 02:49 AM
Alberto,

Your fundamental problem is that your existing application (installed some
time ago) is *NOT* web update ready. Let us name this version 1.0.

Now you would like to make that application "web update ready" so the
application can retrieve web updates in the FUTURE. As I understand it, you
have added a "Check for Web Update" menu item to your application now. So
let us name this version 1.1.

What you do now is you create the project that installs the above version
1.1 file(s) and that initializes the web update feature. That is my "mark
two checkboxes" solution.

Compile and send the setup.exe to the customer. He installs it and is happy
because he has a "Check for Web Update" menu item in his application now.
If he makes use of it, Web Update will display a "You already have the most
recent version of %APPTITLE% on your system.".

Then, in a few days or weeks or whatever you have version 1.2 ready to
distribute. That's the right time to you create the web update project!!!!!
You create the web update project (using the Web Update Wizard), add all
changed files, compile and upload. User clicks your new "Check for Web
Update" menu item and the web update feature reports that a new version is
available.

Do you see what I mean?

Friedrich

NewsArchive
11-15-2007, 02:53 AM
Yes, what i was confused on is:

> You create the web update project (using the Web Update Wizard), add all
> changed files, compile and upload. User clicks your new "Check for Web

Then I have to manually add the changed files to the Web Update project.
Reading the help, I undestood that there were some magic automatic procedure and the Web Update project realized which were the changed files and includes this automatically in the project.

OK, thats why it installs always all the files in the Web Update project.
THen a Q, suppose I dont want to think about what dll or exe changed and allways leave all of them in the Web Update project... Can I avoid the full update using some of the Replacement Options in the Conditions tab of each file?

Thanks Again...

Alberto Michelis

NewsArchive
11-15-2007, 02:53 AM
Alberto,

> Yes, what i was confused on is:
>
>> You create the web update project (using the Web Update Wizard), add all
>> changed files, compile and upload. User clicks your new "Check for Web
>
> Then I have to manually add the changed files to the Web Update project.
> Reading the help, I undestood that there were some magic automatic
> procedure and the Web Update project realized which were the changed files
> and includes this automatically in the project.

Yes, that's correct. There is the "Project" | "Task Automation" | "Perform
Auto Update Scan" feature to help you.

BTW, we are using this feature to build all web updates for our SetupBuilder
product line. Creating web updates for SetupBuilder takes 20-30 seconds and
can update all builds from Gold to the latest build.

> OK, thats why it installs always all the files in the Web Update project.
> THen a Q, suppose I dont want to think about what dll or exe changed and
> allways leave all of them in the Web Update project... Can I avoid the
> full update using some of the Replacement Options in the Conditions tab
> of each file?

Yes, you can add all files to the web update project. I would suggest to
always use the "Check File (CRC)" replacement option. Web update will then
only update the data necessary for this build.

Does this help?

Friedrich

NewsArchive
11-15-2007, 02:54 AM
THanks, many thanks.

Alberto Michelis

NewsArchive
11-15-2007, 02:54 AM
> THanks, many thanks.

You are welcome :)

Friedrich