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!

pjones
Posts: 5
Joined: Wed Nov 22, 2023 4:24 pm

Installing to local user account using admin account

Hi,

I am trying to get the installer to install to a local user account, but using an administrator account to do so (ie: the user account doesn't have administrator privileges). However, I had the following issues:

1. User data was installed to the administrator profile, not the user profile

2. The registry settings were installed under the administrator account, not the user account

I tried changing the install parameters, but it made no difference.

Can someone explain what I should do?

Thanks
Pete
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Installing to local user account using admin account

Hello Pete and welcome to our forums,

If you want to install the setup per-user, you could go to "Install Parameters" page and select the "per-user" option from the "Installation type" drop-down.

Since your user is not an admin, this should avoid the UAC prompt and also instlaling the resources on a per-machine basis.

Note: besides that option, please make sure you do not manually try to create registries under a per-machine location, or install services, as these automatically require admin rights.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pjones
Posts: 5
Joined: Wed Nov 22, 2023 4:24 pm

Re: Installing to local user account using admin account

Thanks Catalin, will give that a try.
pjones
Posts: 5
Joined: Wed Nov 22, 2023 4:24 pm

Re: Installing to local user account using admin account

That didn't work as we need admin rights to install some files to the program files folder and also some pre-reqs.

After looking through your documentation, it looks like an active-setup is the answer to install the user data when a user first runs the application.

Pete
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Installing to local user account using admin account

Hello Pete,
After looking through your documentation, it looks like an active-setup is the answer to install the user data when a user first runs the application.
You are indeed right about that!

You can read more about the Active Setup mechanism in our MSI book as well:

https://www.advancedinstaller.com/appli ... setup.html

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”