
-----------------------------------
copthesaint
Sun Apr 11, 2010 7:27 pm

Installing Text:
-----------------------------------
Can anyone make an application the installs the text font I have included. It doesn't need to check if its installed or anything. I just need a program that installs it. It would be very helpful if someone could do this for me and post source code for me too.

-----------------------------------
TerranceN
Sun Apr 11, 2010 8:07 pm

RE:Installing Text:
-----------------------------------
You can install it from the command line (or anything that uses the command line such as a batch file or std::system in C++). [url=http://www.windowsitpro.com/article/installation2/how-can-i-install-a-font-from-the-command-line-batch-file-.aspx]Here is an explaination.

-----------------------------------
copthesaint
Mon Apr 12, 2010 6:51 am

RE:Installing Text:
-----------------------------------
Can you explain further what I must do? That explanation inst very good :/.

-----------------------------------
copthesaint
Mon Apr 12, 2010 2:33 pm

RE:Installing Text:
-----------------------------------
Couple of things about batch files:
how do you install text with the batch file?
how do you restart the computer with a batch file?
how do you run music from a batch file?

-----------------------------------
Zren
Mon Apr 12, 2010 4:18 pm

Re: Installing Text:
-----------------------------------
For shutting down:
http://ss64.com/nt/shutdown.html
[code]shutdown /s[/code]

For launching a music file you just need to type the path to the file. If the path contains spaces then surround the path in "". You can also specify which program to launch it (instead of windows default found in registry) with:

[code] 
"%programfiles%\Windows Media Player\wmplayer.exe" "D:\Music\Owl City - Fireflies DJ Strobe Remix.mp3"[/code]

Might I suggest opening up Command Prompt and typing "help" or " /?".

-----------------------------------
copthesaint
Mon Apr 12, 2010 7:21 pm

Re: Installing Text:
-----------------------------------
Thanks, the shutdown is helpful is definitely helpful.





Use this instead: 
[code]start D:\Music\Owl City - Fireflies DJ Strobe Remix.mp3[/code] 
 if your going to do that, because it apparently opens the file from your default media player.

I'm still looking how to install Fonts to the system so plz if anyone knows tell me.

-----------------------------------
chrisbrown
Mon Apr 12, 2010 7:36 pm

Re: Installing Text:
-----------------------------------
I'm still looking how to install Fonts to the system so plz if anyone knows tell me.

Try this

-----------------------------------
copthesaint
Mon Apr 12, 2010 8:06 pm

RE:Installing Text:
-----------------------------------
So, what C++ compliers are there that I can use for this? and how would I generate an executable C++ with it?
What would be a good compiler for me that is free basically

-----------------------------------
chrisbrown
Mon Apr 12, 2010 8:50 pm

RE:Installing Text:
-----------------------------------
You don't need to use C++, you can use any command that lets you execute files. For example, if you're writing an installer in Turing:(blah blah copying files, etc...)
Sys.Exec("fontinst.exe /F MyFontName.inf")
(Font now installed, carry on with copying, etc...)

You would just need to include the program with your installation files.

To answer your question though, g++ is one of the most popular. There are plenty of tutorials on setting it up.

-----------------------------------
copthesaint
Mon Apr 12, 2010 10:31 pm

RE:Installing Text:
-----------------------------------
cool thanks.
