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!

Shreyans26
Posts: 18
Joined: Wed Jul 16, 2014 6:20 am

Forcefully Installing The Updates

Hi,
I have created the windows application, we send updates to user who have installed the application.
And the tedious thing is he has to go through all the process first download update and install the update.

I don't want the user to go through the process.
i just want the application to silently update and install the update file forcefully and restart the exe.

Can this be done?If yes can i get the steps to do that?

Thanks,
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Forcefully Installing The Updates

Hi,

In order to achieve what you want, you can take a look on the How to handle updates without elevation article.

To restart the .exe you can go in the "Update Configuration" project, "Auto Close Application" tab, then add the path to your application and set the "Restart Always" flag for it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Shreyans26
Posts: 18
Joined: Wed Jul 16, 2014 6:20 am

Re: Forcefully Installing The Updates

Hi,
Thanks for the reply,
I tried to have that flag=advertise i.e so that install without elevation and also the restart flag.

Even after that i tried to update, it showed with UI setup with next next option to install.
please find the aip and the config file i m using,
Attachments
LocalSetup.aip
this is the setup aip i am using
(140.17 KiB) Downloaded 316 times
updates.txt
here is the configuration file
(521 Bytes) Downloaded 236 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Forcefully Installing The Updates

Hi,

Please keep in mind that one of the most important steps mentioned in the How to handle updates without elevation article is to enable the "Install support service" option from the Updater page. This option was not enabled in the project that you sent.

Can you enable it and see if it works?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Shreyans26
Posts: 18
Joined: Wed Jul 16, 2014 6:20 am

Re: Forcefully Installing The Updates

Yes, thanks for the reply and it helped.
Ya i enabled it and now its working but the problem is I get the Dialog that shows the downloading of updates and then the installing is done without UI as i wanted.

Only problem is i get the dialog which shows the percentage of download and display feature,bug etc which i don't want to show the user.



Thanks,
Attachments
This is the dialog that shows up
This is the dialog that shows up
updates screen.png (41.81 KiB) Viewed 5442 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Forcefully Installing The Updates

Hi,

For that dialog to also not be displayed, you can go in the "Updater" page of your project and check the "Silently check for updates and automatically install" option.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Shreyans26
Posts: 18
Joined: Wed Jul 16, 2014 6:20 am

Re: Forcefully Installing The Updates

Hey,
Thanks for the reply..
i have enabled the option still it shows up..

But one more issue i noticed, till yesterday i was usingg advanced installer version 10, today i updated the advanced installer to 11.4

Now the previous the commnadLine = /exenoui /qn doesnot work, it says updation failed.

please find the attached update file
Attachments
updates.txt
this is the latest config file
(519 Bytes) Downloaded 236 times
LocalSetup.aip
This is the setup file
(141.68 KiB) Downloaded 273 times
Shreyans26
Posts: 18
Joined: Wed Jul 16, 2014 6:20 am

Re: Forcefully Installing The Updates

Hi,
Thanks for the help, :D :lol:
I have solved it, actually issue was with administrator rights :oops: .
As i was using command line option in the config file.

Thanks,
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Forcefully Installing The Updates

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Shreyans26
Posts: 18
Joined: Wed Jul 16, 2014 6:20 am

Re: Forcefully Installing The Updates

yes suree...And Thanks for help.

Return to “Building Installers”