Replies: 1 comment
-
LocalAppDataFolder is a bad idea if the installer is being run elevated (like with perMachine). You could use a SetProperty to assign the current (unelevated) user folder to a property that is then passed into the elevated execution. Although the premise of the question sounds wrong anyway. What if another administrator performs the uninstall, but doesn't have permissions to access the original installers user directory? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are using the wix created .msi installer for our product.
The install scope of our product is set to "perMachine" but we also need to copy some files to the current user by accesing the DirectoryRef Id="LocalAppDataFolder".
It was working fine on windows 10 but now after we migrated to windows 11 files are not copied to the LocalAppDataFolder.
The output says:
The file "..." will be installed to the per user directory 'folder-name' that doesn't vary based on ALLUSERS value. This file won't be copied to each user's profile even if a per machine installation is desired.
warning LGHT1076 : ICE91:
Is there anything we can do to archieve our goal ?
Beta Was this translation helpful? Give feedback.
All reactions