Reputation: 11687
I was given a task to install application silently on a machine. I had NO clue as how to achieve this. After spending some time, I felt it can be done through batch files and I started to learn creating batch files. I learnt how to copy file in different locations and other basic stuff.
As a practice I am trying to install 7zip.msi
silently. I create a batch file with code
start C:\Users\MyName\Desktop\7zip.msi /quiet
I ran the batch file from the command prompt and it asked me to confirm with below window
I clicked run. And then nothing happens. I felt it is installing in the background (silently) but I am not sure if the installation is finished. And don't know how to get the status of installation. I waited for 20 min and saw in installed programs but my application was not there. I restarted and again nothing was in installed programs.
I have even tried with following code but ended up with same result
start C:\Users\MyName\Desktop\7zip.msi <Silent>
Can any one help me on this?? I know there are lot of articles out there, but I have reached there with there help only. I could not figure out whats happening.
And will same batch will work with an .exe
file also? Thanks.
Upvotes: 1
Views: 2331