Upgrading (uninstall previous version first) - Advanced Installer Community

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!

migueltp
Posts: 3
Joined: Mon Feb 04, 2013 10:06 pm

Upgrading (uninstall previous version first)

It seems I'm struggling a bit upgrading a previous version of my application. A few details:

- AI Architect 9.8
- Trying to upgrade ver 1.0.0 to 1.0.2
- Its installed per-machine only.
- "Uninstall old version first" is selected.
- Same AIP file so UpgradeCode should be the same.

While I'm installing the new version, I have windows explore open in the appdir but it doesn't seem like anything is being deleted/uninstalled. And more importantly a new xml file in version 1.0.2 is not overriding the version in 1.0.0. I'm stuck here.

Any help would be greatly appreciated.

- Miguel
migueltp
Posts: 3
Joined: Mon Feb 04, 2013 10:06 pm

Re: Upgrading (uninstall previous version first)

I just found something under Files and Folders. If I double click on a file I added, the xml file for example, I get options under the Operations tab that lets me "always overwrite file". This seems to help but is it the "right" way of doing upgrades? Am I missing something?

This way seems odd because then I'd have to do this option for all files, new and old.

- Miguel
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrading (uninstall previous version first)

Hello Miguel and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

You may encounter this behavior because of a known Windows Installer bug related to file versioning rules. Can you enable the "Always overwrite existing file" option for the related file, from "File Properties dialog -> Operations" tab, and see if the behavior still persist?

Let us know if this helps, otherwise please give us more details about your scenario (maybe exemplify).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
migueltp
Posts: 3
Joined: Mon Feb 04, 2013 10:06 pm

Re: Upgrading (uninstall previous version first)

The "Always overwrite existing file" definitely works. I guess since my xml file didn't have a "file version" it was never being overridden?

I just wanted to make sure that "Always overwrite existing file" was doing it the "right way". Thanks for your help!!

Return to “Common Problems”