brianh
Posts: 18
Joined: Mon Apr 11, 2011 9:14 am

Auto-repair popping up incorrect dialogs

Hi,

We are following these instruction in the online help to activate auto-repair:
* add the files and folders of your application to the "Files and Folders" page
* go to the Organization page and make sure that all the components are under the same feature
* create an Advertised shortcut to the main EXE of your application
* build the project and install the application

If the user then does something to trigger the auto-repair we get the following sequence of dialogs:
* red User Account Control warning for our application name with the correct Verified Publisher
* orange User Account Control for "setup.exe" with "Unkown" publisher
* reboot warning

Ideally we would not want to see any of them but they are all wrong for various reasons:
* the red dialog should not be red - its a known verified publisher
* the orange dialog should have the correct publisher - although setup.exe isn't ours - not sure where it comes from
* there should be no need to reboot as our main install does not require this (and everything seems to work correctly if you choose not to reboot)

What can we do to minimise this sequence?

Thanks,

Brian Hutchison
brianh
Posts: 18
Joined: Mon Apr 11, 2011 9:14 am

Re: Auto-repair popping up incorrect dialogs

I tried updating the install from 12.7 to 13.5 with no other changes in case that might help.
Now the auto-repairs fails with an error "The feature you are trying to use is on a network resources that is unavailable"
Then the install fails and the application becomes completely unusable.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Auto-repair popping up incorrect dialogs

Hello,

In what regards the UAC prompts please note the behavior is controlled by the WIndows OS. We cannot control the UAC info displayed. Indeed is quite strange that the UAC appears twice with different ways of displaying the publisher.
Can you please send us your AIP (project file) created with AI 12.7 to support at advancedinstaller dot com so we can investigate its settings? Maybe we could find anything useful from our tests too.

In what regards the reboot warning this may happen if there are file in use during the repair operation. When the repair operation is performed if one of the installed files is kept in use by other process Windows Installer will prompt for a reboot for a proper reinstall operation.
I tried updating the install from 12.7 to 13.5 with no other changes in case that might help.
Now the auto-repairs fails with an error "The feature you are trying to use is on a network resources that is unavailable"
Most likely this issue is caused by an issue appeared in our last version of AI (13.5). The "Do not delete extracted MSI and CAB files" option (from "Builds" page) you can enable for EXE setup types doesn't work properly. Thus after the installation the extracted MSI and CAB files are deleted from target machine. During the repair operation Windows Installer tries to use the MSI and CAB file but it doesn't find them. A fix for this issue will be available in our next version of AI. We will notify you as soon as it will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto-repair popping up incorrect dialogs

Hello,

This was fixed in version 13.6 of Advanced Installer released on February 15th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”