Our installer creates some files in the \Users\Public\Documents directory. If a user has installed "for everyone", and then, when updating our program, installs to "just for me" instead, they get an "error writing to file" error when the public\documents files are written. This does not occur if they choose the same install target that they previously used. Is there any way around this?
Unfortunately a per-user installation cannot upgrade a per-machine installation and a per-machine installation cannot upgrade a per-user installation. However, you can try using a "Preserve Install Type of the old version" predefined UI custom action to work-around the issue.
FOLLOW US
Get the latest news in Application Packaging