windows installer error - why?

Posted on 2009-04-24
Last Modified: 2013-11-14
When I run any MSI I get the following message:

Windows ® Installer. V 4.5.6001.22159

msiexec /Option <Required Parameter> [Optional Parameter]

Install Options
      </package | /i> <Product.msi>
            Installs or configures a product
      /a <Product.msi>
            Administrative install - Installs a product on the network
      /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
            Advertises a product - m to all users, u to current user
      </uninstall | /x> <Product.msi | ProductCode>
            Uninstalls the product
Display Options
            Quiet mode, no user interaction
            Unattended mode - progress bar only
            Sets user interface level
            n - No UI
            b - Basic UI
            r - Reduced UI
            f - Full UI (default)
            Help information
Restart Options
            Do not restart after the installation is complete
            Prompts the user for restart if necessary
            Always restart the computer after installation
Logging Options
      /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
            i - Status messages
            w - Nonfatal warnings
            e - All error messages
            a - Start up of actions
            r - Action-specific records
            u - User requests
            c - Initial UI parameters
            m - Out-of-memory or fatal exit information
            o - Out-of-disk-space messages
            p - Terminal properties
            v - Verbose output
            x - Extra debugging information
            + - Append to existing log file
            ! - Flush each line to the log
            * - Log all information, except for v and x options
      /log <LogFile>
            Equivalent of /l* <LogFile>
Update Options
      /update <Update1.msp>[;Update2.msp]
            Applies update(s)
      /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
            Remove update(s) for a product
Repair Options
      /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
            Repairs a product
            p - only if file is missing
            o - if file is missing or an older version is installed (default)
            e - if file is missing or an equal or older version is installed
            d - if file is missing or a different version is installed
            c - if file is missing or checksum does not match the calculated value
            a - forces all files to be reinstalled
            u - all required user-specific registry entries (default)
            m - all required computer-specific registry entries (default)
            s - all existing shortcuts (default)
            v - runs from source and recaches local package
Setting Public Properties

Consult the Windows ® Installer SDK for additional documentation on the
command line syntax.

Copyright © Microsoft Corporation. All rights reserved.
Portions of this software are based in part on the work of the Independent JPEG Group.


At the moment I am trying to update my blackberry software......What do I need to do to circumvent this problem?
Question by:Mark_Edwards212
    LVL 21

    Expert Comment

    Which command do you tried to run?

    Author Comment

    Hi Jblond,

    I am running a self extracting exe file that executes 9500.msi. However, it seems that almost every .msi file I run has the same result....
    LVL 21

    Expert Comment

    Please follow the steps here and try it again after each method


    Author Comment

    I have tried all of the proposed fixes without any luck......
    LVL 40

    Expert Comment

    by:Vadim Rapp
    open control panel/folder options
    tab "file types"
    select extension MSI
    click "advanced"
    select "Install"
    verify that the 2nd field has
    "C:\WINDOWS\System32\msiexec.exe" /i "%1" %*


    Author Comment

    Hi There, yip checked the file associations with msi file types and the 2nd field has these exact items.... This is so frustrating.
    LVL 40

    Accepted Solution

    Then try the same from command line - issue command
    msiexec /i "c:\mypath\myfile.msi"

    Installer shows all this only when it's called with wrong parameters, so you need to figure out how it's called and what's wrong. You can also use Process Monitor or Process Explorer from, it will show the command line the exe was called with - keep the message on the screen, launch process explorer, and see the command line msiexec.exe was called with.
    LVL 66

    Expert Comment

    Look in the registry under the following key.....

    HKEY_LOCAL_MACHINE\XP\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

    is there a subkey for msiexec?

    Basically what you get is the same as doing this......

    start>run>msiexec /?

    Author Comment

    Hi Vadimrapp1,

    Issuing the command from the cinesed a problem as the msi with embedded inside a self extracting exe that I could not unpack, however your idea of looking at process explorer enabled me to find the Temp directory where the msi was extracted to, so I was able to copy the msi file out of the Temp directory before allowing the msiexec to end and delete the files. I was then able to execute the msi independently and hey presto it installed.

    So it seems that the self extracing exe seems to be the problem albiet that the install ended with a missing command error with windows installer??? The only other thought I have is that I have redirected My Documents to the D: drive - perhaps there is a path problem with the install as a result?

    I would appreciate your thoughts on this. The key at the moment is that we have found our way around the problem!!! Thank you.
    LVL 40

    Expert Comment

    by:Vadim Rapp
    1. But you previously said: "However, it seems that almost every .msi file I run has the same result...."

    2. even when it's run from self-extracting exe, you still would be able to see command line using process explorer or process monitor.

    3. redirection of my documents does not matter. Again, this message shows up when Installer is called with wrong parameters, so it did not even get to the point where it would discover the redirection.
    LVL 4

    Expert Comment

    If its a windows Xp on your computer you can run the Dial-a-fix utility to fix the issues with Windows installer.
    LVL 38

    Expert Comment

    I am puzzled as to why you are not able to unpack the self-extracting *.exe file.

    Do you have WinZip installed and configured with the Right-Click "Extract to Folder D:\whatever...\setup" option?
    If so, what happens?

    What about the trialware WinRAR or the free 7-Zip?  Usually they are able to extract these types of packages where WinZip may not be able to.  If installing a trial version of WinRAR or 7-Zip for these purposes only, be careful not to associate the program with archive file types that may already eb associated with your current existing program.

    At a push, if none of the above work, try "Universal Extractor" (  2 thirds of the way down the page you can see the file types it can handle.

    Depending on what was used to create the package, you may be able to unpack it from the command line, but you would have to know the program to know the command line switches.  Right-Click the *.exe and choose Properties.  It should tell you what and who packaged it.
    LVL 38

    Expert Comment

    If the *.exe file is small enough (ie. smaller than about 5MB), then feel free to rename it to *.txt and upload here as an attachment.  I'm sure we can unpack it and determine where the problem lay.
    LVL 40

    Expert Comment

    by:Vadim Rapp
    According to author's comment ID:24235416 , the problem was resolved by the comment ID:24233805 .

    Recommendation: accept ID:24233805 .

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now