How to install software with Autorun.inf ?

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
 
D

Detlev Dreyer

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)
 
D

Detlev Dreyer

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).
 
J

John

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)
 
J

John

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).
 
R

rmcnargo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top