Query for msp CheckUpdate DownloadsFolder path - 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!

viralk
Posts: 1
Joined: Mon Sep 17, 2012 7:43 am

Query for msp CheckUpdate DownloadsFolder path

Hello,

I have query about "CheckUpdate.exe" component.

1) Is it possible to run "CheckUpdate.exe" as window service?

2) How can i configure "CheckUpdate.ini" DownloadsFolder path for non-admin user ( restricted user )

a). i have install app with admin user so DownloadsFolder="C:\Users\admin\AppData\Local\Temp\updates\"

b). Now i am login with non-admin user like ABC & try for check update then it giving error message like "Access Denied",Because it is a DownloadsFolder="C:\Users \admin\AppData\Local\Temp\updates\", But i think it should be DownloadsFolder="C:\Users\ABC\AppData\Local\Temp\updates\" then only ABC user can download the updates. But the major problem is ABC user doesn't have the permission to change CheckUpdate.ini file setting.

Please help me to solve this problem.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Query for msp CheckUpdate DownloadsFolder path

Hi,

1) You can, but you need to create your own service that calls our executable. You cannot run our executable directly as a service.

2) This path is written in the INI file at install time, this a design limitation which we cannot overcome. The solution is simple you need
to use a non-admin location accessible for all users, so instead of:

Code: Select all

[AppDataFolder][Manufacturer]\[ProductName]\updates\
You can use this in Updater page:

Code: Select all

[CommonAppDataFolder][Manufacturer]\[ProductName]\updates\
Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”