How to install software with Autorun.inf ?

  • Thread starter Thread starter John
  • Start date Start date
J

John

A consultant has prepared a customized MSI for us. It consists of a folder
named "Install" and in that folder there is a MSI named Customized.MSI.

We would like to create an autorun CD for installation.

I have attempted to create the autorun.inf file as follow but it doesn't
work properly. Your advice is sought.

[autorun]
open=Install/Customized.MSI /qr

Thanks
 
John said:
A consultant has prepared a customized MSI for us. It consists of a
folder named "Install" and in that folder there is a MSI named
Customized.MSI.

We would like to create an autorun CD for installation.

I have attempted to create the autorun.inf file as follow but it
doesn't work properly. Your advice is sought.

[autorun]
open=Install/Customized.MSI /qr
^
First, note that "open" is meant for executable files only. Second, note
that the separator within the pathname is the backslash "\". Visit
http://msdn.microsoft.com/library/d...ll_basics_extending/autorun/autoplay_cmds.asp

Examples:

[autorun]
shellexecute=install\customized.msi /qr (if WinXP)

[autorun]
open=msiexec.exe /i .\install\customized.msi /qr (else)
 
John said:
Dear Deltev,

Since some of the machines are running Windows 2000, does it mean that I
should use

[autorun]
open=msiexec.exe /i .\install\customized.msi /qr

Yes, exactly. This should work under all Windows versions (including WinXP).
 
Dear Deltev,

Since some of the machines are running Windows 2000, does it mean that I
should use

[autorun]
open=msiexec.exe /i .\install\customized.msi /qr

Thanks


Detlev Dreyer said:
John said:
A consultant has prepared a customized MSI for us. It consists of a
folder named "Install" and in that folder there is a MSI named
Customized.MSI.

We would like to create an autorun CD for installation.

I have attempted to create the autorun.inf file as follow but it
doesn't work properly. Your advice is sought.

[autorun]
open=Install/Customized.MSI /qr
^
First, note that "open" is meant for executable files only. Second, note
that the separator within the pathname is the backslash "\". Visit
http://msdn.microsoft.com/library/d...ll_basics_extending/autorun/autoplay_cmds.asp

Examples:

[autorun]
shellexecute=install\customized.msi /qr (if WinXP)

[autorun]
open=msiexec.exe /i .\install\customized.msi /qr (else)
 
Dear Deltev,

Thank you for your help

John

Detlev Dreyer said:
John said:
Dear Deltev,

Since some of the machines are running Windows 2000, does it mean that I
should use

[autorun]
open=msiexec.exe /i .\install\customized.msi /qr

Yes, exactly. This should work under all Windows versions (including
WinXP).
 
If you still run into trouble creating the Autorun.inf file, I have
used a program called "CD Start-It" in the past to create one for me.
It's not freeware, but you might be able to download the demo and use
it to create the file and then see how they are doing it. I have an
older version, but the new one is available at
http://www.mycustomcd.com.

Cheers,

Ron
 
Back
Top