digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Version Numbers

I would like to update in silent mode in a C# application. When I perform the update I would like to pass an argument to the new installer. Do you have a C# example of this or is there some program I can call. I read the directions and it seems that if you want a silent install you have to write some code.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Version Numbers

Hi,

In order to update your application in silent mode you can use the Updater and write the arguments that you want to pass to your installer, in the "Command Line" field of the Update Configurations File.

I'm not aware of any code that you need to write if you want to have a silent install. Can you please give me more details about your scenario, maybe I didn't fully understood it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Re: Version Numbers

Suppose I have isntalled an application on the system and the version number is 3.0.0. Every time the user runs the app I want the app to check for a new version and install it. From what I read in the documents that is not possible without code. You can configure updater to run periodically or trigger it yourself. Am I wrong? I have a .exe build so that should be ok.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Version Numbers

Hi,

Indeed, if you want your application to check automatically for updates every time the user launches it, you need to write some code and integrate our Updater in your application as described in the How do I integrate the Advanced Updater with my application tutorials.
You can configure updater to run periodically or trigger it yourself. Am I wrong?
Yes, these options can be found in the Updater page of your project under the "Updater Execution" section. If you want the Updater to check periodically for updates, you can select the "Automatic: using a Windows schedule task" option and configure your own schedule task that will do this job.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”