Indigo Rose Software
  #1  
Old 11-14-2008
brianthegood brianthegood is offline
Indigo Rose Customer
 
Join Date: Jul 2008
Location: Redmond, WA
Posts: 5
Interesting requirement

So I have a nice updater client and server that I've created.
It can be launched from
1) A shortcut of the Start Menu
2) The application that it is serving (Help --> Check for Updates)
Both are verbose and have screens.

What I was hoping for was a way to launch this from within a stub application that starts before the main app. When launched from this stub, I would like the handshaking to be silent unless there is an update.

Is there a way to pass an argument to the updater to tell it to run in quiet mode and go visible if an update is detected?
Reply With Quote
  #2  
Old 11-14-2008
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
When you use the Wizard to create a new project, on the second dialog you find an option to create silent updaters: Mark the checkbox "Don't show any interface unless an update is available."

If you already created your project, it would be best to create a new one with this option checked, and then see what you have to include in your own project to make it work. Especifically, note the usage of g_SilentUntilUpdateAvailable in the scripts...

You could pass a command line parameter to bybass this variable when your customer calls the updater from inside the program, so he will get informative screens even if there is no update available. Otherwise he could think that nothing happened as he clicked the option in the menu.

Ulrich
__________________
Reply With Quote
  #3  
Old 11-15-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
What Ulrich said will definately do it for you -- but are you wanting to make an existing bit of code also run silently?

There's a few ways to do it; what I think is easist is to create a silent version; then add in the dialogs you really want; rather than try to make a screen (wizard) based project run silently.

Have you highly customized your project? or can you redo it easily?
__________________
Reply With Quote
  #4  
Old 11-18-2008
brianthegood brianthegood is offline
Indigo Rose Customer
 
Join Date: Jul 2008
Location: Redmond, WA
Posts: 5
I've already created the project and it has deployed in a trial offering of the main app.

I'm not sure right now what an update will do after the trial period.
I think I will experiment with a new quiet client and push that once the trial period is over.

If I delete my old project and migrate the name to the new project, is there a way to migrate the Encryption Key so that the old client will attempt to update itself to the new 'quiet' client?

I'd like to see a bit of code that uses the g_SilentUntilUpdateAvailable variable. Where and how is it set in order for me to use it in my logic?

By the way, many thanks for the support!
Reply With Quote
  #5  
Old 11-18-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Quote:
Originally Posted by brianthegood View Post
I've already created the project and it has deployed in a trial offering of the main app.

I'm not sure right now what an update will do after the trial period.
I think I will experiment with a new quiet client and push that once the trial period is over.

If I delete my old project and migrate the name to the new project, is there a way to migrate the Encryption Key so that the old client will attempt to update itself to the new 'quiet' client?

I'd like to see a bit of code that uses the g_SilentUntilUpdateAvailable variable. Where and how is it set in order for me to use it in my logic?

By the way, many thanks for the support!

YOu can copy the key over to the new project; but if you change the name; then no; not really -- you'd need to have a true update client that 1st upates updates itself; then downlaods the new named update client; then do the udpate checs...

regarding g_SilentUntilUpdateAvailable - do what ulrich suggested; just build a new project and select the checkbox "Silent until upate available"
__________________
Reply With Quote
  #6  
Old 11-25-2008
brianthegood brianthegood is offline
Indigo Rose Customer
 
Join Date: Jul 2008
Location: Redmond, WA
Posts: 5
Best of both worlds

So I took an up-the-middle approach.

I created a silent project, grabbed the client code from there and placed it in my original project. I then created a registry entry that I read upon starting the client that decides whether I want to run silently or not. That registry value can be set by different applications.

Did I re-invent the wheel or just add a fancy hubcap?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add reboot requirement gott Setup Factory 7.0 Discussion 1 09-27-2007 08:16 PM
Interesting data on red light cameras Corey General Chat 1 04-06-2005 08:37 PM
Recalculate the Space Requirement? skippy Setup Factory 6.0 4 09-29-2003 08:58 AM
An interesting study/article out today... Corey General Chat 0 08-14-2003 06:35 PM
memory requirement not correctly shown vamsi Setup Factory 5.0 1 05-28-2001 04:53 PM


All times are GMT -6. The time now is 01:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software