Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update msi-file with msiexec

Status
Not open for further replies.

enne87

Programmer
Jul 13, 2009
1
AT
Hi guys!

I'd like to update a msi-package with a msp - patch.
I do that as follows:

' Path of the msp-file
fullPathMsp = """X:\IMG\ETOKEN\V200\REF0001\ETOKENSERVER\TMS 2.0SP3\TMS2SrvSP3.msp"""

' Path of the msi-file
fullPathMsi = """X:\IMG\ETOKEN\V200\REF0001\ETOKENSERVER\TMS 2.0\TMS_server_2.0.msi"""

'Execute
cmd = "msiexec /p " & fullPathMsp & " /a "& fullPathMsi & " SHORTFILENAMES=True"

Does anyone of you know what I'm doing wrong?

Best regards,

enne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top