Open With / Registry Probelm - 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!

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Open With / Registry Probelm

Hi,

I am running our last software version parallel with our new software. The old one was build with a different installer package.
In Advanced Installer I added 3 extensions to the File Association list. Now it seems that in some cases when installing the new software, the installer removes the entries of the old software for these file extensions from the registry and adds them back in. The problem now is that when I try to "Open With" a file with the old software, the installer of the old software starts up and repairs these missing entries in the Registry.

Is there a setting that I missed where I specify for Advanced Installer not to remove registry entries for file associations if they already exist (via the File Associations Dialog)?

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

Re: Open With / Registry Probelm

Hi Markus,

When authoring side by side installs of different versions of an application, it is recommended that some rules should be used. The install locations, registry entries, shortcuts etc. should differ from one version to another. If they are not different, the present items will be overwritten when a new version is installed. Also, they will be removed when a version of the application is uninstalled even if the other versions still uses them.

Please also keep in mind you must build the older product version with this option enabled for the intended effect.

More information about this setting can be found under the "Allow side by side installs of different product versions" section of the Upgrades page article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Open With / Registry Probelm

I guess what i wonder about is this. The old version of the software build with a different installer product is adding a Progid for a specific file extension to the registry like this:

HKCR\.abc\MySoftware

When now installing the newer version build with advanced installer I added a Progid called MyNewSoftware associated with the same file extension .abc. Advanced Installer now removes

HKCR\.abc\MySoftware

and replaces it with

HKCR\.abc\MyNewSoftware

causing the old installer to start a repair process when opening a file *.abc via the OpenWith dialog.

Is it not possible to have two Progids for that extension like this:

HKCR\.abc\MySoftware
HKCR\.abc\MyNewSoftware

or why is advanced installer removing the old versions prog id from the registry? I see that when having multiple Advanced Installer Versions installed, there are multiple ProgIds for the .aip extension...

Thanks for your help
Markus
mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: Open With / Registry Probelm

Maybe my explanation is not sufficient enough here - I would like to give you more information on this issue if required..

Thank you very much
Markus

Return to “Common Problems”