Prerequisite permissions - Advanced Installer Community
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Prerequisite permissions

I am trying to create an installer package that has a group of Windows Update files (.exe and .msu). I have set the execution level of the package to "run as administrator". When I try to install the package, I get an error 0x80070005. This error occurs because I don't have permission to install the update.

I think what is happening is that the .msu files kick off the Windows Update programme, but This programme is not opening with administrator rights. Is there any way around this?

Arthur
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Prerequisite permissions

Hello Arthur,

I'm not sure why you encountered this behavior. Can you please manually launch the related Windows updates packages using an administrator account and see if the behavior persist?

Also, you can take a look on Windows update Error 0x80070005 article which may be useful to you.

Please let us know if that helped otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: Prerequisite permissions

Hi, I've tried running the updates individually, as admin, and they work fine. I had a look at the link you sent, but I don't think that it's relevant - the updates work when given admin rights.

Do the processes launched by the installer inherit the permissions from the installer? I have also seen a problem with another installer that may be related. In this case I have a chained package. When I run the installer, everything seems to be fine, but when I run the uninstall I am asked to give permission to each of the chained packages uninstall programmes.

Arthur
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: Prerequisite permissions

You asked for more details - what details would you like me to give you?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Prerequisite permissions

Hello Arthur,

Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.
Also, can you please send us a download link for the related Windows updates files(zip them) added as prerequisites to your project so we can be able to build and test your scenario?
In this way we can build your .aip and try to isolate this issue.

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

Return to “Common Problems”