Does anyone have an example AUTORUN.INF which can launch an MSI installer automatically when the user inserts the CD.
I'm sure this can be done but I've been Googling around for ages and have not found any working solution.
UPDATE: I have an AUTORUN.INF similar to this but it won't launch the installer:
[autorun]
open=MyInstaller-1.0.0.msi
label=My CD Label
icon=MyIcon.ico
In the Control Panel, type DVD in the search box. Click on the Play CDs or other media automatically under the AutoPlay category. In the AutoPlay window, scroll down until you see the DVD category. Choose an action for all different types of the DVD media.
Try shellexecute= instead of open=
[autorun] shellexecute=MyInstaller-1.0.0.msi label=My CD Label icon=MyIcon.ico
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With