PDA

View Full Version : Help Using True Update Client with a Set Up Factory Project


Alphaman5000
10-08-2007, 04:35 PM
I plan to embed the True Update client into my Set up factory installation. When I make updates to the software, I will rebuild the SAME Set up factory project and deploy the generated installer to the True Update hosting server.

Here is my concern:

- When a new version of the installer is deployed, True Update will attempt to delete the original installation and will run the new installer.
I am concerned that when the original installation is being uninstalled, the True Update client will ALSO be uninstalled in the process.
If the True Client executable is killed, the downloaded update will never get run.


- Please tell me if my thinking is correct?

- Please tell me another way to accomplish this without resorting to using Visual Patch 3.0.

Thanks.

Mark
10-11-2007, 10:10 AM
Hi Rilwan,

If I was you, what I would do is offload the running of the uninstall to the installer instead of doing it in the TrueUpdate 3.0 client.

So the TrueUpdate 3.0 client would run, see that an update was available and then download the Setup Factory installer. Once the download had completed the TrueUpdate 3.0 client would then start the Setup Factory installer and quit.

The Setup Factory installer would then check to see if there was an old version installed on the system (in the same way that your TrueUpdate client does now) and if their is run its uninstall before installing.

If you wanted to get really fancy, you could pass information to the installer from the TrueUpdate client via the command line in order to make the uninstall silent, or deviate from the default settings.