PC Review


Reply
Thread Tools Rate Thread

Association with .MSI files not working

 
 
Bill Karwin
Guest
Posts: n/a
 
      2nd Jul 2004
I'm using Windows 2000 SP4, and it has forgotten how to run an .msi
file. When I double-click on an .msi file, or if one is launched from a
setup.exe application, it opens the .msi file in my text editor (vim).

I can right-click on an .msi and one of the context menu choices is
"Install". That runs the .msi and it seems to have the correct
association. But I can't just run an installer from its setup.exe,
which make me think that some environment or options might not be
getting set right.

I found this page with advice:
http://www.winnetmag.com/Article/Art...612/14612.html

So I checked ftype and assoc, and everything appears to be correct:
C:\> ftype Msi.Package
Msi.Package="%SystemRoot%\System32\msiexec.exe" /i "%1" %*
C:\> assoc .msi
.msi=Msi.Package

I also tried uninstalling Microsoft Installer and reinstalling it, but
this hasn't fixed anything.

Does this ring a bell with anyone? Is there a way I can restore my
system to associate .msi files correctly (short of an operating system
reinstall)?

Regards,
Bill Karwin
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3RlZmFuIEtydWVnZXIgW01WUF0=?=
Guest
Posts: n/a
 
      5th Jul 2004
When you right click an .msi file to bring up its contect menu: what is the default command (printed in bold)?
--
Stefan Krueger
Microsoft Windows Installer MVP

Windows Installer FAQ
www.msifaq.com - www.msifaq.de

InstallSite - Resources for Setup Developers
www.installsite.org
www.installsite.de


"Bill Karwin" wrote:

> I'm using Windows 2000 SP4, and it has forgotten how to run an .msi
> file. When I double-click on an .msi file, or if one is launched from a
> setup.exe application, it opens the .msi file in my text editor (vim).
>
> I can right-click on an .msi and one of the context menu choices is
> "Install". That runs the .msi and it seems to have the correct
> association. But I can't just run an installer from its setup.exe,
> which make me think that some environment or options might not be
> getting set right.
>
> I found this page with advice:
> http://www.winnetmag.com/Article/Art...612/14612.html
>
> So I checked ftype and assoc, and everything appears to be correct:
> C:\> ftype Msi.Package
> Msi.Package="%SystemRoot%\System32\msiexec.exe" /i "%1" %*
> C:\> assoc .msi
> .msi=Msi.Package
>
> I also tried uninstalling Microsoft Installer and reinstalling it, but
> this hasn't fixed anything.
>
> Does this ring a bell with anyone? Is there a way I can restore my
> system to associate .msi files correctly (short of an operating system
> reinstall)?
>
> Regards,
> Bill Karwin
>

 
Reply With Quote
 
Bill Karwin
Guest
Posts: n/a
 
      5th Jul 2004
Stefan Krueger [MVP] wrote:
> When you right click an .msi file to bring up its contect menu: what is the default command (printed in bold)?


Aha! "VIM" is the default, bold command for this file. So this would
make sense why vim is used to open the .msi files by default. But how
can this be the case, if assoc and ftype show the correct entries?

Looking in the registry, I find
\HKEY_CLASSES_ROOT\Msi.Package\shell\Open\ has a value (Default) with
data "&Install". So that's where this option comes from in the context
menu.

When I installed vim, there was an optional registry script that created
"VIM" as an option in context menus, so I could edit virtually any file
from its context menu. So VIM appears in the context menu of all file
types. But for other file types, it is _not_ in bold.

How can I make the Install option be the bold/default one for Msi.Package?

Regards,
Bill K.
 
Reply With Quote
 
=?Utf-8?B?U3RlZmFuIEtydWVnZXIgW01WUF0=?=
Guest
Posts: n/a
 
      5th Jul 2004
In Windows Explorer click Advanced -> Folder orptions (or something similar, I'm translating from German). Go to the file types tab. Select MSI as extension. Click Advanced. Select Install and click "make default"
--
Stefan Krueger
Microsoft Windows Installer MVP

Windows Installer FAQ
www.msifaq.com - www.msifaq.de

InstallSite - Resources for Setup Developers
www.installsite.org
www.installsite.de


"Bill Karwin" wrote:

> Stefan Krueger [MVP] wrote:
> > When you right click an .msi file to bring up its contect menu: what is the default command (printed in bold)?

>
> Aha! "VIM" is the default, bold command for this file. So this would
> make sense why vim is used to open the .msi files by default. But how
> can this be the case, if assoc and ftype show the correct entries?
>
> Looking in the registry, I find
> \HKEY_CLASSES_ROOT\Msi.Package\shell\Open\ has a value (Default) with
> data "&Install". So that's where this option comes from in the context
> menu.
>
> When I installed vim, there was an optional registry script that created
> "VIM" as an option in context menus, so I could edit virtually any file
> from its context menu. So VIM appears in the context menu of all file
> types. But for other file types, it is _not_ in bold.
>
> How can I make the Install option be the bold/default one for Msi.Package?
>
> Regards,
> Bill K.
>

 
Reply With Quote
 
Bill Karwin
Guest
Posts: n/a
 
      6th Jul 2004
Stefan Krueger [MVP] wrote:
> In Windows Explorer click Advanced -> Folder orptions (or something similar, I'm translating from German).
> Go to the file types tab.
> Select MSI as extension. Click Advanced.
> Select Install and click "make default"


Hooray! That has solved the issue. Thank you very much. I appreciate
your clear instructions.

I thought I was at least competent at administering Windows NT/2000, but
I guess you can always learn something new.

Regards,
Bill K.
 
Reply With Quote
 
John Dalberg
Guest
Posts: n/a
 
      20th Jul 2004
On Mon, 5 Jul 2004 13:54:01 -0700, Stefan Krueger [MVP] wrote:

> www.msifaq.com


What is the executable program associated with .msi? I have my msi mapping
screwed up. I don't find 'install' as one of the options in the advanced
section. I only see 'open' 'repair' and uninstall.

J.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
file association not working Farhan Windows XP General 1 19th Nov 2008 01:35 AM
My .bat File Association is not Working =?Utf-8?B?cGVkd2FyZHM=?= Windows Vista General Discussion 0 23rd Feb 2007 07:42 PM
File Association for BMP not working when using ShellExecute brock.haywood@gmail.com Windows XP Embedded 1 28th Aug 2006 11:28 PM
Association stopped working =?Utf-8?B?dW5sZWFybmVk?= Windows XP Help 4 28th Jul 2006 05:30 AM
Excel File Association not working =?Utf-8?B?U2FuZHkgTQ==?= Microsoft Excel Discussion 1 13th Feb 2006 04:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:45 PM.