We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”