We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

JohnnyG
Posts: 3
Joined: Wed Oct 01, 2014 11:36 pm

Install as Local Admin / Run as Domain User

I have a project that is configured for "Per-machine only (fails if user is not administrator)" installation type. This project has a prerequisite that another project of our be installed which is also configured as "Per-machine only...". The prerequisite msi is included in the installation exe file.

We have a customer trying to install the project on a machine to be used by a domain user. When the installer asks for administrator elevation, they enter a local admin account and the software installs fine. When the user attempts to run it, it complains that the prerequisite is not installed and attempts a repair, but the repair fails.

To get this working we had to build a new installer without the prerequisite knowing that the prerequisite actually is installed on the computer - and the software runs fine.

Any ideas why this type of install would fail?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Install as Local Admin / Run as Domain User

Hi Johnny,

It is possible that your problem has something to do with the Self Healing mechanism, but Self Healing does not work for prerequisites.
Can you please give me a screenshot with the error so I can narrow down your problem?

For a better understanding on how this works you can check How do I implement self-healing into the application? and Windows Installer Advertised Shortcuts articles.

I do not fully understand how the application is being installed. Can you please tell me if the installation is done using the GPO and also the operating system that is being used?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JohnnyG
Posts: 3
Joined: Wed Oct 01, 2014 11:36 pm

Re: Install as Local Admin / Run as Domain User

Bogdan,

Thank you for your assistance.

Unfortunately I cannot get a screenshot with the error, the customers computer is used for real-time applications and cannot be modified except during pre-planned outages. I also cannot reproduce the problem because we are a very small outfit and do not have a domain we can use for testing.

I do not have any Advertised Shortcuts (I do have one shortcut on the desktop, but it is not advertised), and I do have everything installed in the main feature.

The installation is not using any GPO, it is done directly by the user (double click the installer exe file) - it was tried two different ways.
1. With the Domain User logged in and giving the Local Admin account credentials when asked to elevate.
2. With the Local Admin account logged in, the loggin in as the domain user.

The OS is Windows 7. The installer was built with AI version 11.5.

Thank you,
Johnny G.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install as Local Admin / Run as Domain User

Hello Johnny,

I apologize for my delayed reply. My colleague Bogdan is out of the office so I'll pickup this thread.

In order to test and investigate your installation scenario on our side can you please send us the .AIPs (project file) of your main package and of your prerequisite package to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JohnnyG
Posts: 3
Joined: Wed Oct 01, 2014 11:36 pm

Re: Install as Local Admin / Run as Domain User

Files sent.
Thank you!

Return to “Common Problems”