Msiexec - passing a path to it...?


  1. Posts : 26
    Spectrum 48k
       #1

    Msiexec - passing a path to it...?


    I am trying to launch msiexec to install a package.
    If I launch it from a CD disc, then it works fine.
    If I lanuch it on the network, it fails.

    Its a question about paths I think.
    I wonder if msiexec.exe can handle easily network paths , especially if I pass it:

    msiexec.exe /package \\myserver\Installer3rdPartyInstalls\myinstaller.msi

    This works ok:
    msiexec.exe /package c:\Installer3rdPartyInstalls\myinstaller.msi
      My Computer


  2. Posts : 26
    Spectrum 48k
    Thread Starter
       #2

    looks like one of those times I am about to answer my own question:

    this worked:
    ExecWait '"$WINDIR\System32\msiexec.exe" /package "$EXEDIR\Installer3rdPartyInstalls\myinstaller.msi"'
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:42.
Find Us