locked
MSI Silent install in Vista fails RRS feed

  • Question

  • Hi,

    I am using a batch file to install a msi package in windows vista.  I have used both the below commands.

    msiexec.exe -i "ObjectiveNavigator7.4.4.msi" /q /norestart

    msiexec.exe /i "ObjectiveNavigator7.4.4.msi" /q /norestart

    Nothing get installed, but if i install manually, the installation was successfull.

    I think its due to UAC. How to overcome this issue. 'Run As Administrator' also does not work.

    Thanks,

    Jothiprasad

     

    Thursday, October 21, 2010 12:15 PM

Answers

  • The relevant line in that log seems to be this one:

        MSI (s) (AC:90) [12:39:51:954]: Note: 1: 2203 2: C:\Users\adminuser\Desktop\Manual Installation\ObjectiveNavigator7.4.4 3: -2147287038

    where the error codes are in bold.

    A search for MSI error 2203 and 80030002 suggests that the there are permissions problems on the folder %TEMP%.  See e.g. this thread.

    (decimal -2147287038 is hexadecimal value 80030002)


    Answering policy: see profile.
    • Marked as answer by JothiPrasad Wednesday, November 3, 2010 10:52 AM
    Tuesday, October 26, 2010 8:16 AM

All replies

  • Those two commands are effectively identical.

    At first sight, this is an installer problem rather than a problem of elevation. The fact that it doesn't 'Run as Administrator' is the clue.

    Treat it as an installer problem by getting hold of the installer log:

        msiexec.exe /i "ObjectiveNavigator7.4.4.msi" /q /norestart /L*vx Install.log

    and study the content of the log (lots of it!) to find out what happened.  See also Windows Installer Logging.


    Answering policy: see profile.
    Friday, October 22, 2010 7:58 PM
  • Hi David,

    Thanks for your reply. The below is the installer log. If i use 'Run As Administrator', the log file is not created.

    === Verbose logging started: 26/10/2010  12:39:51  Build type: SHIP UNICODE 4.05.6001.00  Calling process: C:\Windows\system32\msiexec.exe ===
    MSI (c) (60:10) [12:39:51:876]: Resetting cached policy values
    MSI (c) (60:10) [12:39:51:876]: Machine policy value 'Debug' is 0
    MSI (c) (60:10) [12:39:51:876]: ******* RunEngine:
               ******* Product: ObjectiveNavigator7.4.4
               ******* Action:
               ******* CommandLine: **********
    MSI (c) (60:10) [12:39:51:876]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (60:10) [12:39:51:876]: Grabbed execution mutex.
    MSI (c) (60:10) [12:39:51:923]: Cloaking enabled.
    MSI (c) (60:10) [12:39:51:923]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (60:10) [12:39:51:939]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (AC:D8) [12:39:51:954]: Running installation inside multi-package transaction C:\Users\adminuser\Desktop\Manual Installation\ObjectiveNavigator7.4.4
    MSI (s) (AC:D8) [12:39:51:954]: Grabbed execution mutex.
    MSI (s) (AC:90) [12:39:51:954]: Resetting cached policy values
    MSI (s) (AC:90) [12:39:51:954]: Machine policy value 'Debug' is 0
    MSI (s) (AC:90) [12:39:51:954]: ******* RunEngine:
               ******* Product: C:\Users\adminuser\Desktop\Manual Installation\ObjectiveNavigator7.4.4
               ******* Action:
               ******* CommandLine: **********
    MSI (s) (AC:90) [12:39:51:954]: Note: 1: 2203 2: C:\Users\adminuser\Desktop\Manual Installation\ObjectiveNavigator7.4.4 3: -2147287038
    MSI (s) (AC:90) [12:39:51:954]: MainEngineThread is returning 2
    MSI (s) (AC:D8) [12:39:51:954]: User policy value 'DisableRollback' is 0
    MSI (s) (AC:D8) [12:39:51:954]: Machine policy value 'DisableRollback' is 0
    MSI (s) (AC:D8) [12:39:51:954]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (AC:D8) [12:39:51:954]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (AC:D8) [12:39:51:954]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (AC:D8) [12:39:51:954]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (AC:D8) [12:39:51:954]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (AC:D8) [12:39:51:954]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (AC:D8) [12:39:51:954]: Restoring environment variables
    MSI (c) (60:10) [12:39:51:970]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (60:10) [12:39:51:970]: MainEngineThread is returning 2
    === Verbose logging stopped: 26/10/2010  12:39:51 ===

     

     

    Tuesday, October 26, 2010 4:35 AM
  • The relevant line in that log seems to be this one:

        MSI (s) (AC:90) [12:39:51:954]: Note: 1: 2203 2: C:\Users\adminuser\Desktop\Manual Installation\ObjectiveNavigator7.4.4 3: -2147287038

    where the error codes are in bold.

    A search for MSI error 2203 and 80030002 suggests that the there are permissions problems on the folder %TEMP%.  See e.g. this thread.

    (decimal -2147287038 is hexadecimal value 80030002)


    Answering policy: see profile.
    • Marked as answer by JothiPrasad Wednesday, November 3, 2010 10:52 AM
    Tuesday, October 26, 2010 8:16 AM
  • Hi,

    I am using a batch file to install a msi package in windows vista.  I have used both the below commands.

    msiexec.exe -i "ObjectiveNavigator7.4.4.msi" /q /norestart

    msiexec.exe /i "ObjectiveNavigator7.4.4.msi" /q /norestart

    Nothing get installed, but if i install manually, the installation was successfull.

    I think its due to UAC. How to overcome this issue. 'Run As Administrator' also does not work.

    Thanks,

    Jothiprasad

     

    What did you expect a BUG in the User Account Control (UAC)
    under Windows Vista®.     

    I hope this information was helpful…

    Have a nice day…

    Best regards,
    Fisnik



    Coder24.com
    Thursday, October 28, 2010 5:59 PM
  • Hi,

    I am using a batch file to install a msi package in windows vista.  I have used both the below commands.

    msiexec.exe -i "ObjectiveNavigator7.4.4.msi" /q /norestart

    msiexec.exe /i "ObjectiveNavigator7.4.4.msi" /q /norestart

    Nothing get installed, but if i install manually, the installation was successfull.

    I think its due to UAC. How to overcome this issue. 'Run As Administrator' also does not work.

    Thanks,

    Jothiprasad

     

    What did you expect a BUG in the User Account Control (UAC)
    under Windows Vista®.        

    I hope this information was helpful…

    Have a nice day…

    Best regards,
    Fisnik



    Coder24.com

    Gee, what did we expect. A bug in someone's installation package being sarcastically referred to as a UAC bug by Fisnik.

    Thursday, October 28, 2010 7:18 PM
  • Hi,

    I am using a batch file to install a msi package in windows vista.  I have used both the below commands.

    msiexec.exe -i "ObjectiveNavigator7.4.4.msi" /q /norestart

    msiexec.exe /i "ObjectiveNavigator7.4.4.msi" /q /norestart

    Nothing get installed, but if i install manually, the installation was successfull.

    I think its due to UAC. How to overcome this issue. 'Run As Administrator' also does not work.

    Thanks,

    Jothiprasad

     

    What did you expect a BUG in the User Account Control (UAC)
    under Windows Vista®.        

    I hope this information was helpful…

    Have a nice day…

    Best regards,
    Fisnik



    Coder24.com

    Gee, what did we expect. A bug in someone's installation package being sarcastically referred to as a UAC bug by Fisnik.


    @David: Windows® 7 has a bug in User Account Control (UAC) and MS
    hasn’t fixed it yet.  

    I hope you find this information useful. If you need any further assistance,
    please feel free to contact me and let me know.

    I hope this information was helpful…

    Have a nice day…

    Best regards,
    Fisnik

    Coder24.com
    Friday, October 29, 2010 1:19 PM
  • Hi David,

    Thanks for the answer.

    Let me look into the this issue.

     

    Thanks,

    Jothiprasad

    Wednesday, November 3, 2010 10:53 AM