2 instances in "Uninstall or change a program" after patch - Advanced Installer Community
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

2 instances in "Uninstall or change a program" after patch

Hello,

I am working on adding the first patch to my software. I have built a patch that is able to successfully update my software, but after the patch is complete, in the list of programs in the "Uninstall or change a program", there are 2 entries, 1 for the older version and 1 for the newer version. When I search on my PC, it seems that the newer version has been installed, I am just wondering how I can get rid of the duplicate entry in the uninstall list.

I am wondering if anyone has seen this before? I am using the latest version of AI, 13.6.

Thanks
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

Re: 2 instances in "Uninstall or change a program" after patch

After doing some more research, it seems the resolution for the issue to my problems was posted in this thread here: http://www.advancedinstaller.com/forums ... hp?t=20344
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 2 instances in "Uninstall or change a program" after patch

Hi and welcome to our forums.

I'm glad you resolved the problem.

Just let us know if there is anything else that we can help you with.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

Re: 2 instances in "Uninstall or change a program" after patch

Hello,

I now seem to have another issue. I am working on testing to make sure that I can apply a patch on top of another patch. I am testing to see if I can take my program from version 3.0.27771 -> 3.0.27772 -> 3.0.27773. I have created 2 patch projects. The first patch works fine, however, the issue comes when I try to apply the second patch after the first one is complete. I get a message from Windows saying, "The upgrade patch cannot be installed the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have correct upgrade patch."

In the programs and features page within windows, I am able to see that my program is installed as version 3.0.27772. I am wondering if I am going about this incorrectly? Is there something special that needs to be done in order to apply a patch over another patch?

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

Re: 2 instances in "Uninstall or change a program" after patch

Hi,

I'm not sure why you encounter this problem. Can you please send me the project files related to the main packages and the patch projects to support at advancedinstaller dot com so I can investigate them and try to find if there is any misconfiguration?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

Re: 2 instances in "Uninstall or change a program" after patch

Hello, I was able to figure out the answer to my question after all. Thanks for the help. However, I have one more slight problem that is unrelated to my initial question(s). I am wondering if it is possible to force the UAC control to pop up in the foreground when privilege elevations are required? For some reason, sometimes the UAC control will pop up minimized and behind whatever I am currently looking at on the screen.

I have found that users sometimes miss this prompting (even if there is a flashing program notification in the task bar). Is there anyway to force it to appear in the foreground and focused when it comes up?

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

Re: 2 instances in "Uninstall or change a program" after patch

Hi,

Indeed, sometimes the UAC prompt is displayed in the background. This seems to be the Windows 10 behavior. I'm not sure if this is normal or a Windows issue, but, unfortunately, I'm not aware of any solution of forcing it to be displayed in the foreground.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

Re: 2 instances in "Uninstall or change a program" after patch

Thank you for the quick response. I have another question that came about when working with my installer today. I found an old forum thread here: http://www.advancedinstaller.com/forums ... php?t=1116
from 2006, where someone asked for the ability to disable the frequency check on the /silent update check switch. I have noticed that your team seems to be pretty good at implement feature requests quickly. I was wondering if this option is currently available? The documentation on http://www.advancedinstaller.com/user-g ... dater.html does not list any way to do that, it only shows an option for disabling the frequency check on the /silentall switch. I do not want to force users to update if they don't want to.

Is it possible to disable the frequency check with the /silent switch? So that my app can check for an update silently each time it starts? Possibly multiple times per day?

Thanks for all the help.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 2 instances in "Uninstall or change a program" after patch

You're welcome.

Indeed, the frequency check cannot be disabled when the "/silent" command line is sent to the updater. However, you can achieve what you want by using the "/checknow -minuseractions" command line.

Just let me know if you need more details.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”