lornemartin
Posts: 11
Joined: Tue Jul 19, 2022 1:18 am

change program wizard from appwiz.cpl

Wed Aug 31, 2022 1:50 pm

I have an installer packaged as an exe that contains quite a few custom actions that are set to run as admin. This works fine in most scenarios, but selecting the `change` option for the app from the `appwiz.cpl` window, then choosing the `repair` option, will result in UAC prompts for every one of the custom actions that is set to run as admin. This behavior is not seen when running the installer exe directly, then selecting `repair` option from there. Is there a workaround for this?

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: change program wizard from appwiz.cpl

Thu Sep 01, 2022 7:23 am

Hello,

Please note that the installer can request upfront admin privileges e.g. right after you select Uninstall/Change in the Control Panel if the below options are used:
  • Run as administrator option is enabled in the Install Parameters page
  • Always (install, uninstall and maintenance) option is enabled in the Themes -> Settings tab.
Note that using the above options the package type will be of EXE package type.

Our "Run as administrator" option does not work for MSI packages launched in maintenance mode. More informations on Install Parameters article.

Hope this helps! If you have any other questions, please don't hesitate to contact us.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

lornemartin
Posts: 11
Joined: Tue Jul 19, 2022 1:18 am

Re: change program wizard from appwiz.cpl

Thu Sep 01, 2022 11:38 am

Thank-you. That works.

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: change program wizard from appwiz.cpl

Thu Sep 01, 2022 12:15 pm

You're always welcome!

I'm glad it now works as expected.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”