darrenl
Posts: 4
Joined: Wed May 02, 2018 12:37 pm

Can you force install to "Everyone"?

Hi there,

Can you force Adv Inst. to install for "Everyone"? (per machine - I think is the terminology?)
If so, how?

Thank you

Darren
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can you force install to "Everyone"?

Hello Darren,

This is simple. You should just set the "Installation Type" option (in "Install Parameters" view of your project) to "Per machine only (fails if user is not administrator" value.

If you have any further questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
darrenl
Posts: 4
Joined: Wed May 02, 2018 12:37 pm

Re: Can you force install to "Everyone"?

Hi Daniel,

The reason I wanted to do this is related to the .ocx registration issue.

If you select "Everyone" during install, this invokes UAC and effectively elevates privileges to Admin. and the .ocx files are installed without problem.

So, it's a workaround.

But, as you say, the installation will FAIL if the user is not admin. so does that mean that this workaround isn't going to work if user is not admin.?

Another, possible workaround for the .ocx registration is to set the "Run as administrator" option. This also yields a successful install of the .ocx files, but we'd rather avoid setting to Admin. if we can.

Thanks

Darren
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can you force install to "Everyone"?

Hello Darren,

Yes this is right. Unfortunately you cannot install per-machine resources when the current user account under which the installation runs is not an admin one. This is the Windows OS design.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”