Hi, We are using InstallBuilder v8.5.1. When I try with AutoUpdate feature, I found a issue regarding tuning UAC. We have an application would like to utilize autoupdate.exe as notifier. But our application is running as user mode, which does not require elevated privilege. We want to launch autoupdate.exe as unattended mode to check if there is any update. To prevent UAC pop up when running it as unattended mode, we should like to generate the autoupdate.exe as non-elevated privilege. From Documentation and changelog, I can see AutoUpdate feature support requestedExecutionLevel attribute to modify the manifest.
But when I try it, with following XML:
But we got error as following:
The autoupdate.exe is generated under User ProfileDocumentsAutoUpdateoutput folder, but still invoke as elevated privilege which require UAC dialog pop up. And you can notice the "Error changing executionlevel" error as well in commandline.
Is this a bug? or anything wrong with my usage?
Thanks, William L.
asked 24 Apr '13, 08:08
Can you try to download InstallBuilder 8.5.2 (Professional, Enterprise or Qt) and build autoupdate using a fresh installation?
We have just doublechecked and with your exact configuration, it is built properly:
What operating system version are you trying to build it on?
answered 24 Apr '13, 09:08
Okay, I think I find something. This might be caused by anti-virus software is preventing modifying or creating exe. After getting latest 8.5.2, it still have some issue. but if I change XML file content or move the install location, it has small chance to be able to generate correct exe. If I re-run the same process with same XML content and location, most likely it will fail error.
see my following testing result:
I think BitRock InstallBuilder should take this as common use case, enterprise users commonly install anti-virus software by IT, without chance to disable it.
Is it possible to avoid *.exe extension while generating autoupdate.exe? We can rename it after changing the manifest etc.
thanks, William L.
answered 24 Apr '13, 09:59