The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: sudeer on November 19, 2008, 06:40:38 AM

Title: autorun file
Post by: sudeer on November 19, 2008, 06:40:38 AM
Hi.............everybody
how can i transfer my program from a computer to another computer on a CD with an autorun file....?
how can i do that.....................thanks
Title: Re: autorun file
Post by: BogdanOntanu on November 19, 2008, 11:06:56 AM
Question: What is the purpose of this action?
Title: Re: autorun file
Post by: ecube on November 19, 2008, 12:00:49 PM
heh, if that doesn't sound shady I don't know does :D
Title: Re: autorun file
Post by: Tedd on November 19, 2008, 03:17:32 PM
See also: http://www.masm32.com/board/index.php?topic=10163.msg74400
("how can i transfer my .exe file to another computer with a bat. file, or autorun file")



If the user wants to run your exe they will click it. If they don't, that is their choice.
To force your exe onto another computer is not a good thing.
Title: Re: autorun file
Post by: Bill Cravener on November 19, 2008, 05:09:09 PM
Google is your friend. :bg

Google the word "autorun" and you get links like this.

http://www.wizbit.net/business_card_cd_creating_autorun_file.htm

or this.

http://www.phdcc.com/shellrun/autorun.htm


Title: Re: autorun file
Post by: sudeer on November 20, 2008, 02:27:24 PM
i mean that i want to install my program to different computers or a friend computer
thanks
Title: Re: autorun file
Post by: BogdanOntanu on November 20, 2008, 06:13:27 PM
Quote from: sudeer on November 20, 2008, 02:27:24 PM
i mean that i want to install my program to different computers or a friend computer
thanks
In this case, and if your program needs an installation then you should consider using an installer like NSIS or others that help automate this installation process.

However most simple programs do not need an installation  but rather a simple copy.


Title: Re: autorun file
Post by: sudeer on November 21, 2008, 03:15:01 AM
Hi........
this is just for background or experience, where can i find this installer "NSIS" or others that help automate this installation process, how can i do that .....?
may be i want to make it easy to install specially when this program contains many different directory to install.
thank you

Title: Re: autorun file
Post by: KeepingRealBusy on November 21, 2008, 03:51:20 AM
How many times do we have to say "Google is your friend"?
Title: Re: autorun file
Post by: Vortex on November 21, 2008, 08:01:49 PM
NSIS (Nullsoft Scriptable Install System) (http://nsis.sourceforge.net/Main_Page)
Title: Re: autorun file
Post by: sudeer on November 25, 2008, 03:22:48 PM
Thanks again, i have got it, now i am trying to figure things out