File associations and command parameter - 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!

Phill_Perryman
Posts: 25
Joined: Thu Feb 15, 2007 5:55 pm

File associations and command parameter

I found a few reports mentioning this but they all seem to work where mine fails.
I have a file association set up for .miq with a simple %1 parameter. The install is adding a command value

[HKEY_CLASSES_ROOT\.miq] @="Mitel.MPT.miq"
[HKEY_CLASSES_ROOT\.miq\Mitel.MPT.miq]
[HKEY_CLASSES_ROOT\.miq\Mitel.MPT.miq\ShellNew]

[HKEY_CLASSES_ROOT\Mitel.MPT.miq] @="MPT Quote"
[HKEY_CLASSES_ROOT\Mitel.MPT.miq\DefaultIcon] @="C:\\Windows\\Installer\\{C7270F4D-9C3D-4C58-8C46-F3E312C07DC4}\\controlPanelIcon.exe,0"
[HKEY_CLASSES_ROOT\Mitel.MPT.miq\shell]@="&Open"
[HKEY_CLASSES_ROOT\Mitel.MPT.miq\shell\&Open] @="&Open"
[HKEY_CLASSES_ROOT\Mitel.MPT.miq\shell\&Open\command] @="\"C:\\Program Files\\Mitel\\MPT\\MPT.exe\" \"%1\""
"command"=hex(7): 74,00,49,00,5e,00,21,00,69,00,51,00,6e,00,63,00,55,00,40,00,01,00,69,00,45,00,3d,00,72,00,39,00,4c,00,77,00,30,00,68,00,3e,00,74,00,78,00,60,00,57,00,6b,00,6a,00,7e,00,78,00,4c,00,3d,00,2b,00,25,00,51,00,46,00,52,00,55,00,42,00,37,00,68,00,60,00,20,00,22,00,25,00,31,00,22,00,00,00,00,00

When I double click an miq file it starts to install my application again :( . If I manually delete the command value everything works fine :) . How do I stop it putting in this weird command value.

I tried adding in a remove value to the registry settings but it did not work.

It appears on multiple machines (vista and XP) and is causing a bit of a problem as a lot of the files that are launched by our users are done so from email attachments so launching the app and then opening the file is not really an option.

You are more than welcome to the installer or the zipped up source if it will help.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In order to investigate the problem please send the AIP (if not contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”