Help with script for .bat to call local MSI with TRANSFORMS
Can anyone PLEASE let me know what i'm doing wrong here! I simply want a .BAT that can be clicked on the desktop and will call a MSI with TRANSFORMS that are on the local PC, I can enter:
msiexec /i "c:\drivers\adobe acrobat XI\acropro.msi" TRANSFORMS="c:\drivers\adobe acrobat XI\Acropro.mst" /q
and it installs like a dream! but I cant for the life of me get a .bat to simply call that same msi. When clicked the .BAT just opens and stays. which I think means the script is wrong. I though what ever you could call in CMD, you could do the same with a .bat. Originally i designed this MSI to be deployed using psexec, but it seems to destroy the command across the network. The MSI will kick off in the task manager, but never installs.
1 Comment
[ + ] Show comment
-
You're correct that there is little difference between a CMD and a BAT so this should work. Have you tried changing the /q to /qb to show the basic interface to get some visual feedback for testing purposes? - chucksteel 10 years ago
Answers (2)
Please log in to answer
Posted by:
EdT
10 years ago
Posted by:
kalucas
10 years ago
Try taking the /q off and running it so you can see where it's getting hung up. My guess is it is waiting for some sort of user interaction. If it couldn't find your files, it likely wouldn't keep the window open.
Typically with the /q switch you would also want to set the user interface level:
n - No UI
b - basic UI
r - reduced UI
f - Full UI (default)