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!

AlanGS
Posts: 1
Joined: Thu Jul 23, 2015 6:11 pm

Upgrading Error when switching install types

Problem description: we had our old installer set to all user (per machine) only and we made the decision to change the install type and allow both types ( per machine or per user). However this has caused issues with upgrading from a per machine type to a per user install. In perfect world we would like it to keep the install type during the upgrade but its not a requirement. During the upgrade we are getting Error 1310 error writing to file .

The only two ways i have come up with to resolve this is a custom C++ dll to detect the install type with out admin rights or force uninstall with elevated rights.

Is there some other option i am missing ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrading Error when switching install types

Hello and welcome to our forums,

As another solution you can try to use our "Uninstall previous versions" predefined custom action.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”