Hi,
If I build an installer and choose "per machine if user is administrator, per user otherwise" the application folder in Advanced installer is "[AI_UserProgramFiles][Manufacturer]\[ProductName]". If the user chooses to install per user then the application is installed to "C:\Users\<USER>\AppData\Local\Programs\[Manufacturer]\[ProductName]".
However if I build an installer and choose the "per user only" option, the application folder in Advanced installer is "[AppDataFolder][Manufacturer]\[ProductName]" and the application is installed to "C:\Users\<USER>\AppData\Roaming\Manufacturer]\[ProductName]".
So my questions are:
Why does a "per user" install go to AppData\Local\Programs for an installer where it is optional but go to AppData\Roaming for "per user" only installs? Is this an just a historical Advanced Installer thing, or is there a genuine reason?
I have multiple installers, some of which are "per user" and some of which are "per user OR all users" and ideally I want all my "per user" install locations to be consistent. I tried using [AI_UserProgramFiles] in a "per user" only install but it doesn't work. I got it working by using "[LocalAppDataFolder]\Programs\[Manufacturer]\[ProductName]" which then does go to AppData\Local\Programs. Is this the correct thing to do, or is there another way of achieving this?
Thanks,
LJ
FOLLOW US
Get the latest news in Application Packaging