Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Installation program...

Author
Message
flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 15th Jul 2006 22:35
Hey, guys, before I try it out would it be possible to code an installation program for my executables? I'd certainly know how to do it. I'd probably make it automatic (i.e. installs into the C drive in a new folder). Dunno yet. I was wondering if I did do this than how would I make it autorun? Make an autorun.txt or something. Even if that was possible I wouldn't know how it'd execute an unopened .exe.

a.k.a. "flockhound"
SimSmall
21
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 16th Jul 2006 05:07 Edited at: 16th Jul 2006 05:11
autoruns are usually stored in the root folder of a cd, and must be called autorun.inf

the code always starts like:


optionally, you can add in:


This will give the CD an icon in the my computer screen.

There is another one which allows you to add right-click options when you right-click on the disc in my computer. All I can remember is that the command is "shell", I'll edit the post when I find it, even if you don't want to use it...

to make sure you get the extension right, open up the command prompt interface, and find it on your hard drive, then type:

ren autorun.*inf* "autorun.inf"

This way, if your text editor has saved as autorun.inf.txt or autorun.txt.inf the txt bit will be removed.
hyrichter
22
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 16th Jul 2006 06:13
The best free setup program I know of is called InnoSetup. You can download it from here:
http://www.jrsoftware.org/isinfo.php
It's very powerful, quick, easy, and even open source.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 16th Jul 2006 13:12
Thanks, guys, that really helps!

a.k.a. "flockhound"

Login to post a reply

Server time is: 2026-07-07 13:15:17
Your offset time is: 2026-07-07 13:15:17