Hello,
So i have an issue regarding installing for All Users and Current User the path doesn't seem to change no matter what..
I Started by creating an Msi Project.
In install parameters i use per machine if user is admin, per user otherwise.
In Application Folder - i changed the default value from [AI_UserProgramFiles][Manufacturer]\[ProductName] to [LocalAppDataFolder][ProductName].
In Users Interface - Dialogs - I added InstallTypeDlg and SetupTypeDlg. (there both with their default values).
So here is what i was expecting:
There are these 2 paths: C:\Users\Admin\AppData\Local\[ProductName]
C:\Users\Diego\AppData\Local\[ProductName] (where Diego is the current User with no admin rights);
If i should All Users in InstallTypeDlg the path in SetupTypeDlg should be: C:\Users\Admin\AppData\Local\[ProductName] (of course if user is admin the path will be the same in either choises)
Otherwise it should always point to current user: C:\Users\[CurrentUser]\AppData\Local\[ProductName].
Is there anyway to do this?
Thank You very Much.
Sincerely,
Diego.
FOLLOW US
Get the latest news in Application Packaging