How to Launch .msi Files using Autorun from CD

In this post, we will see how to autorun a .msi file from a CD. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?
If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf

The open command supports only executable files. So, if you want to launch an msi (miscrosoft installer) file from CD automatically when it is inserted to CD drive, use the following code in the Autorun.inf file.


[autorun]
open=msiexec /i myapp.msi
icon=myicon.ico
label=Install Flash

Here msiexec is the msi executer application (built in). This application is launched automatically from windows to which the parameters /i and myapp.msi is passed. The icon and label can be set as you wish. Replace  myapp.msi with your .msi filename (with relative location). If you want to know more, i recommend you to read this post:
How to Make a AutoRun CD or DVD Using Autorun.inf

No comments :

Post a Comment