required Single line script

The client for which I am working, has a std of triggering installation through single line script. right now he is using script like below:

set shell1 = createobject("WScript.Shell")
shell1.exec "msiexec.exe /i test.msi TRANSFORMS=test.mst"

if i want to put patch in this script test1.msp, and test2.msp, from test1 and test2 folders respectively, then how can we write this script?
We have test.msi,test.mst, test1 folder[including test1.msp], test2 folder[including test2.msp]

please guide

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 13 years ago
Red Belt
Only a fool patches clients.

Create an AIP, patch that, then run the patched package. You may want to back-up the unpatched AIP as I do, but, as I believe I may have mentioned, that may just be due to my paranoia.
Posted by: abking99 13 years ago
Second Degree Blue Belt
Actually I directly merged 2 msp filesin to base msi, and it was running fine, but they do not want like that. They want it through script
Posted by: anonymous_9363 13 years ago
Red Belt
Part of your job as a packager is education. Just because they want it that way doesn't make it the right way. Hell, why even bother using MSI? What was wrong with XCOPY? Anyway...whatever...

Use the standard patch syntax: /P <path_to_and_name_of _MSP>;<path_to_and_name_of _MSP>;<path_to_and_name_of _MSP>
Posted by: mekaywe 13 years ago
Brown Belt
You can also use Wise Script to perform the installation.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ