Newbie help to put program on CD - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

peacerosetx
Posts: 10
Joined: Fri Jul 27, 2007 5:02 am
Location: Texas

Newbie help to put program on CD

Hi guys,

Just finished a Java application (simple) and got to the part of getting it onto Advanced installer which was fine, the problem is--and I feel embarrassed because I can't figure this part out at all, is how to get it onto a CD so that others can install the program. Do you just copy your created advanced Installer program onto a CD?

I tried to use Roxio(or some name like that at the library) but when I copied it from my flash drive to the CD nothing happened. I am not even sure if it were to have worked if that would have been all I would have needed to do to get it onto the CD to folks...

any thoughts or points in the right direction would be great all...

Peace and happy coding :lol:

from a stumped newbie

PS I am using the free Advanced Installer version
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Just put the resulted MSI file (+ the package files if you use "Place files unpacked in folders next to MSI database") on the root of the CD. Additionally you can create an autorun.inf file in order to run the MSI file automatically when the CD is inserted.

The autorun.inf content will look like this:

Code: Select all

[autorun]
open=msiexec /i your_package.msi
icon=filename.ico
Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
peacerosetx
Posts: 10
Joined: Fri Jul 27, 2007 5:02 am
Location: Texas

Thank You GiGi

GIGI Thank you!!!! I know I caught you early this AM(at least my time)...When you say the "root of the CD", I am confused. I thought that Advanced Installer would put it on ( for example Program Files\ ... ) what exactly do you mean by the root of the CD? Does it matter what the root is on the CD?

I have never burned before and feel overwhelmed. I needed to know when you copy the CD which root should I look for the D: the root from the CD-ROM where the disk is? :shock:

And please where do I write that script that you were kind enough to share. Is it like a JAR and I can put it on a txt file and just have it there in the same folder as the MSI and exe file, or does it need to be in another format other than txt?:

Code: Select all

[autorun]
open=msiexec /i your_package.msi
icon=filename.ico
I have been working on this for eight months it is a free program...this is the last leg I really appreciate this support ... thanks

Peace...

a newbie with hope in the Lord....
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

To create the "autorun.inf" file you create a new .txt file, you copy/paste this:

Code: Select all

[autorun]
open=msiexec /i your_package.msi
icon=filename.ico
where you replace your_package with the name of your MSI package. You save and close the file and then you change the extension of the file to .inf (you can change the extension of a file by renaming it).

To put your project on a CD you can use Windows XP or a cd-recorder application. The CD will contain the MSI of your project and the package files (if there are not packed inside the msi). Here is a tutorial on writing files on a CD using Windows XP: http://www.microsoft.com/windowsxp/usin ... ust13.mspx

Now, when you insert the CD, the installation will start automatically.

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
peacerosetx
Posts: 10
Joined: Fri Jul 27, 2007 5:02 am
Location: Texas

My gosh Cosmin you're awesome...When I kept on having to learn one more thing in this process I felt very scarred--with you angels to guide the way you are truly light .Thank you ever so much both. You explain very clearly and precisely Cosmin as if you perceive the confusion that causes the problem. I feel very happy to be a part of this group --as a newbie that is I'll start to tackle this feeling relieved :D

Thanks for the info that XP has this it will be easier to find than a burner...and for the link

blessings to each of you



Peace trusting in the Lord.....
peacerosetx
Posts: 10
Joined: Fri Jul 27, 2007 5:02 am
Location: Texas

THANK YOU IT WORKED

Thank you all very Much in worked. For those who come after follow the steps exactly as Cosmin stated. Be Careful to ensure--in your txt editor--I used Notepad that the Encoding (when you click save as you see it at the bottom with the words encoding) is set to ANSI. I switched mine and for the longest it would not work! Thank you again all!
peacerosetx
Posts: 10
Joined: Fri Jul 27, 2007 5:02 am
Location: Texas

auto run for OS 95 and perhaps 98 does not work!

Hi guys problem. The auto run install works fine on OS Professional and XP but NOT ON windows 95 and I would imagine windows 98 it does not work. It tires to load but it cannot do it. I need to deploy our application where end users have 95 OS and 98 OS. What can I do?

I feel scarred because we are deploying our application to a lot of end users who most likely have 95 and 98.

Thanks

trusting in the Lord...
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The autorun works on Windows 95 or 98. I have tested and works fine. Please make sure your machine is correctly configured regarding the autorun policy. Additionally try to reproduce the problem on other computer.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”