QSTP - Auto Inform Sample
The QSTP AutoInform sample will show you how we could have added AutoInform capability
to QSetup (This is just a sample - that is not distributed to users).
Auto Inform STEP-1
The first step takes place when we create the first (original) setup.
At this stage only the first 2 areas ("General" and "Original Setup") of the "AutoUpdate" page are important so
we have painted the third area in black.
We define Name of UPDATE Project to be qstpupdate. Later on (in the next steps) 2 files
will be created with the names:
"qstpupdate.info" & "qstpupdate.inform".
We define Download URL of UPDATE Project to be "http://www.pantaray.com/download".
In the next steps the files "qstpupdate.info" & "qstpupdate.inform" will be posted in this location.
We define the Secret Token
to be 1234.
In the second area we define the following:
- We want the agent to test for new update every 2 hours.
- The version of the current release is 1.
- If the user declines when prompted to AutoInform we want to prompt him once again after 1 week (7 days).
- We want the Agent to start automatically at computer startup.
- We want to provide the user the option to manually check if an Update is available.
Auto Inform STEP-2
A month has passed and we are now ready with a new version of QSetup Installation Suite
First we compile a full new QSTP.EXE file for regular distribution to download sites. For this compilation
the only change that we make in the AutoUpdate page is to increment
the Version of Original Setup to 2. (Of course we might have made other changes in other
pages of the composer like adding files, adding registry entries etc...)
Second we compile a full new updateqstp.EXE file for distribution to our old customers.
This file will only contain files that have changed since the previous version.
This file will be placed on our website.
Third we prepare an RTF or TXT file that will describe in short words the new version.
We call this file: AutoInform01.rtf
Forth we prepare a new download page on our website with a link to the updateqstp.EXE file.
We now proceed to compile the AutoInform files. For this operation we will need the third
area ("Update Setup") of the AutoUpdate page.
In the third area we do the following:
- Select the Auto Inform tab.
- Check the Select INFORM File: option.
- Enter the full path of the AutoInform01.rtf file.
- Set the size of the dialog area to 640x400.
- Check the Download URL: option.
- Enter the full URL to the download page we prepared previously(http://www.pantaray.com/download01.html).
- We specify that the version of this Update is 2.
- We specify that this update should take place only if the current version on the target machine is 1.
Now it's time to hit the Compile button. (the button located on the third area)
When hitting this button the files "qstpupdate.info" & "qstpupdate.inform" will be created in the
Remember the Test Mode is still checked.
So we can test our Inform Setup before we upload it to the web.
We go to "Start/Program/Qsetup Installation Suite" and click Check for New Update.
In response the Agent will present us with the following message:
We click YES and the agent will present the following dialog:
We click Download and the browser will open with the download page we prepared previously.
From this page we can download the new update and install it over our older version.
Now it's time to upload our INFORM files to our website.
We click the Upload button. (the button located on the third area)
And use the FTP service of QSetup to upload the files "qstpupdate.info" & "qstpupdate.inform" to our
Website in the directory: download.
When upload is concluded we can test that the files were correctly uploaded and placed in the correct
location on our website.
To do this we click the Verify URL button and get the following display:
We click the Verify INFO File and Verify INFORM File buttons to get a message similar to the
Now the creation of the AutoInform option is concluded.
We may repeat Step-2 for any future update.
If we only provide updates and not intend to provide a new setup file then there is NO need to
increment the Version of Original Setup on the second area.
Last edited: 26-JUL-2021 Copyright © 2002-2021 Pantaray Research, All Rights Reserved.