All Users Parameter - Advanced Installer Community

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!

chuckc3
Posts: 12
Joined: Fri Feb 19, 2010 4:31 pm

All Users Parameter

I have a custom action that uses a Windows Installer Class - one of the parameters it uses is the "All Users" parameter as follows:

/allUsers=[ALLUSERS]

When I run this custom action with the Visual Studio.Net Installer, the value comes up as /allUsers="" when I run the same thing with the AI installer it comes up as /allUsers=1
The Visual Studio.Net installer properties are set with InstallAllUsers=False and the AI Installation Type is set to "Per User Only".

I'm trying to understand why there is a difference in the two.

Thanks,

Chuck
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: All Users Parameter

Hi Chuck,

As you can see in this article the property ALLUSERS is set to value 1 in a per-machine install and to and empty
string ("") if the installation type is set for user.

I've just tested the value of this property in a new project created with Advanced Install and it contained the correct values:
  • 1 for per-machine installation
  • an empty string("") for a per-user installation
Please make sure that the package you have created with Advanced Installer is set to a per-user installation.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”