regard updater - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Tavi
Posts: 3
Joined: Tue Mar 30, 2010 3:35 pm

regard updater

Hi friends,
I am new to this tool .I created MSi application using advance Installer 7.5.2. I want to create the Updater using Advance installer. I go through tutorial, but i am confused,so please sugges me step by step process and what are the files should deploy into server? and which files should include the package..

Advance Thanks....
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: regard updater

Hi,

Have you followed the updater tutorials? I ask this as it is not very clear from your post which
tutorial you have followed.

Basically what the updater does is this:
-- it is deployed with a version of your application, for example version 1.0.0
-- then you release version 2.0.0
-- you will have to place on the server the installation package for version 2.0.0 and the "updates.txt" file generated by the Updates Configuration project
-- the updater from version 1.0.0 will read the "updates.txt" file and see that a new version is available
-- after this the user will be prompted to install the new version if it wishes to

Since Advanced Installer is new for you I recommend you first try the tutorial on our web site and then try to make your
own package to use the updater.

If you have any questions please let us know or send us an e-mail to support at advancedinstaller dot com.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Tavi
Posts: 3
Joined: Tue Mar 30, 2010 3:35 pm

Re: regard updater

Dear Bogdan,
I followed the link below for creating the updater.
http://www.advancedinstaller.com/user-g ... tml#create


Following steps i did for my msi package

1. select updater page and select the checkbox for Enable Advance updater
2.
Settings:

Updates Url:http://www.example.com/download/updater.msi
Download folder:[APPDIR]\updates\

3. Display
File name as: Updater
Icon File : path
4.
Run updater

check updates every 2 Days

Created shrotcut for updater

Then I build the packge and after i run the package..

it's installed in system ..
when i go to Allprograms-> appname-> updater

I got error Invalid command line.

Am i followed right process? please let us know?




Advance Thanks..
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: regard updater

Hi Tavi,

There are some small mistakes in the steps that you have done, please follow me:
First of all you must understand that in that field you DON'T specify the path of the MSI package, but the path of the "updates.txt" generated by the Updates Configuration project.
The path of the MSI file will be specified in the project Updates Configuration.

This is not correct, in that field you should put the path from where your "updates.txt" file can be downloaded. We used "www.example.com" simply
as an example, normally users put in that field the URL of their server, from where the updater will automatically download the setup file of the new version and the "updates.txt" file.

For debugging purposes you can use something like this for that path:

Code: Select all

file://C:\updater\StoryUpdates.txt
A similar path can be used and for the MSI file location in the Updates Configuration project.
I got error Invalid command line.
This happens because you haven't set the command line of the shortcut to "/checknow" as it is explained in the tutorial.

Please note that in order for the updater to be completely functional you will need at least two projects:
-- the one that installs the first version of the application along with the updater.exe file
-- another Updates Configuration project that will generate the "updates.txt" file

Please notice that on our web site there is a set of three tutorials for the updater feature, follow them
ENTIRELY to make sure that you understand this feature. As I said in my previous post this is a complex feature and
you can make a lot of mistakes if you don't follow the indication from the articles.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Tavi
Posts: 3
Joined: Tue Mar 30, 2010 3:35 pm

Re: regard updater

Dear Bogdan,

Thankyou for ur kind reply.I got the Updater concept.It works fine with me..

Thanks&Regards,
Tavi.

Return to “Common Problems”