Install all users vs current user - location - 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!

tp0189
Posts: 19
Joined: Fri Dec 02, 2011 10:46 am

Install all users vs current user - location

Hi,

I have noticed that when running my installer that the [ProgramFilesFolder] seems to change depending on whether the install is an "all user" install or a "current user" install.

When performing an All Users install it resolves to

C:\Program Files\company name\version

however, when performing a current user install, it resolves to

C:\Users\UserName\Local\Programs\Company name\version. - Windows 7
C:\documents and Settings\UserName\Local Settings\Application Data\Programs\Company Name\version - Windows XP

Is this a Microsoft recommendation and also is it possible to change it so that both methods behave the same (preferably the all users method)?

I was always under the impression that the "current user" install only changed the start menu location.

Thanks for your help
Tom
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Install all users vs current user - location

Hi,

This is indeed the recommended paths usage for per user and per machine installs. They are automatically changed by us, if you have added the predefined dialog "InstallTypeDlg". So that if you choose to install per user and don't have admin rights you can continue without any problems.

We do not have a predefined support for creating shortcuts for all users or just the current one. However, you can implement one using the Dialogs page and conditions support from Organization page.

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

Return to “Common Problems”