Error writing to public/documents on update - Advanced Installer Community
stevejgs
Posts: 2
Joined: Mon Apr 13, 2015 4:10 pm

Error writing to public/documents on update

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?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error writing to public/documents on update

Hello,

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.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”