Upgrade Requires "Repair" - 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!

januskey
Posts: 1
Joined: Wed Nov 03, 2010 4:03 pm

Upgrade Requires "Repair"

I have several installer versions for my product starting with 1.0 - 3.1. Each version installs correctly on it's own, but I'm having issues with upgrades.

Specifically, my product installs some media files to the Program Files/MyApplication/Media directory. On the initial install, the Media directory is correctly created. When I run an upgrade, the Media folder is deleted at the end of the install. Running the upgrade installer again and selecting "Repair" restores the Media folder.

The upgrade is correctly upgrading all of my applications files (correct version number on the files), however there is also an issue with IWshRuntimeLibrary which when accessed by the upgrade (before "Repair") throws an exception that it is the wrong version. Running the installer again with "Repair" also fixes this issue.

Any suggestions as to what might be causing the uninstall/upgrade process to corrupt on the first try, but work after repair?

Thanks,
-John
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Upgrade Requires "Repair"

Hello and welcome to Advanced Installer Forums,

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.
This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.
Also to aid you in your update projects you can go through our tutorial on Using The Auto Updater.
Any suggestions as to what might be causing the uninstall/upgrade process to corrupt on the first try, but work after repair?
Can you please isolate and reproduce this issue on a separate project? Also after you have done so, please send us all the files and a verbose log of the installation and upgrade to support at advancedinstaller dot com so we can investigate them.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”