Subscribe to Windows IT Pro
June 15, 1999 12:00 AM

When I double click on a MSI file it has no association, what can I do?

Windows IT Pro
InstantDoc ID #14612
Rating: (4)

A. MSI files are Microsoft's new software installation package format and will allow applications to be published to a domain, site or group in Windows 2000 and also allow the application to self-repair.

If when double clicking a MSI file it asks for an application to run under, its default association has been lost so perform the following to fix:

  1. Start a command prompt (Start - Run - cmd.exe)
  2. Type the command:
    C:\&gt; <b>ftype Msi.Package</b>

    If the response is
    <font color="#000080">Msi.Package="%SystemRoot%\System32\msiexec.exe"
        /i "%1"</font>

    then continue to the next step. If it is not found type
    C:\&gt; <b>ftype Msi.Package="%SystemRoot%\System32\msiexec.exe"
        /i "%1"<br></b>
    Continue to the next step
  3. Type the command:
    C:\&gt; <b>assoc .msi</b>

    If the response is
    <font color="#000080">.msi=Msi.Package</font>

    then check the %systemroot%\system32 folder for the msiexec.exe file and replace if missing.
    If there is no association (the most normal problem) type:
    C:\&gt; <b>assoc .msi=Msi.Package</b>
  4. Close the command prompt
  5. Retry double clicking on a MSI file

Related Content:

ARTICLE TOOLS

Comments
  • Emma Chandler
    4 years ago
    Apr 19, 2008

    After I type C:\\> assoc .msi=Msi.Package
    I get the message "Error occurred while processing .msi."

  • Anonymous User
    7 years ago
    Apr 12, 2005

    Thank you so much, this is exactly what I needed!
    I had downloaded a weblabviewer for a class and it was associated with .msi files. Uninstalling it didn't help because windows still associated the files with the old program. Once again thank you!!!

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.