omid Posted November 8, 2018 Report Share Posted November 8, 2018 hi. I have a set of fonts. What can I do to install ketarin? How to install font in windows by ketarin? What should i do ? Link to comment Share on other sites More sharing options...
shawn Posted November 9, 2018 Report Share Posted November 9, 2018 It's ridiculously simple to "install" a font: copy "fontfile.otf" "%windir%\fonts" Link to comment Share on other sites More sharing options...
omid Posted November 9, 2018 Author Report Share Posted November 9, 2018 thank you very much. But what should you do if the number of fonts is high? what if I have many fonts? Link to comment Share on other sites More sharing options...
necrox Posted November 9, 2018 Report Share Posted November 9, 2018 Depending on the file extension: XCOPY *.TTF "%WINDIR%\Fonts" /S XCOPY *.OTF "%WINDIR%\Fonts" /S XCOPY *.TTC "%WINDIR%\Fonts" /S Link to comment Share on other sites More sharing options...
omid Posted November 9, 2018 Author Report Share Posted November 9, 2018 Thank you for answering. But fonts are not installed. Did I do it right? From the path (start process) I'm leaving and dropping the command in the box. Error (Access is denied) What is the right path? Please help me . Link to comment Share on other sites More sharing options...
shawn Posted November 10, 2018 Report Share Posted November 10, 2018 the path your using is wrong. "start process" expects the name of an application, such as xcopy. you don't need to use the "start process" wizard but rather the "copy file" wizard. it would look like this: Link to comment Share on other sites More sharing options...
shawn Posted November 10, 2018 Report Share Posted November 10, 2018 The above assumes that the downloaded file ("{file}") is a single font file of any standard format (otf, fon, ttf, ttc). This would be true as long as you're downloading fonts individually. If you're actually downloading a fontpack or zip or something, in which case you'd need to extract them first. I recommend extracting them to a temporary folder or your 214FA folder to prevent extracting garbage information. That would look something closer to this: Link to comment Share on other sites More sharing options...
shawn Posted November 10, 2018 Report Share Posted November 10, 2018 Alternatively, you could extract directly to the Fonts folder by selecting only those font file types with this: Link to comment Share on other sites More sharing options...
shawn Posted November 10, 2018 Report Share Posted November 10, 2018 In the last two examples the 7-zip command-line application is used. There are samples and suggestions in the Wiki of how this can work for you. Link to comment Share on other sites More sharing options...
omid Posted November 10, 2018 Author Report Share Posted November 10, 2018 my dear friend , This is to thank you for devoting your time to answering my questions and helping me to increase my knowledge on this matter./ subject. I wanted to say something. My fonts are usually fixed and not as a compressed file. If you want to get the whole font as file .rar or zip 1. Should I address the compressed file? 2. Is the folder 7-Zip in the folder itself ketarin? 3 Is the software 7-Zip 32-bit or 64-bit? 4 If I do not want to make fonts as a compressed file, what will be the final installation for installation? Thanks again for the patience. I apologize that I do not speak English well. Do I have to do the following? Just delete the first line? Zipped Addressing .... Or... I do not download fonts from somewhere but it is fixed just for installing in similar windows. Link to comment Share on other sites More sharing options...
shawn Posted November 10, 2018 Report Share Posted November 10, 2018 Quote If you want to get the whole font as file .rar or zip 1. Should I address the compressed file? If you're installing many fonts, then using a zip would be faster. Quote 2. Is the folder 7-Zip in the folder itself ketarin? I've never seen 7-Zip as part of a Ketarin distribution. Based on the image it looks like you installed or extracted the 7-Zip package into that folder. Quote 3. Is the software 7-Zip 32-bit or 64-bit? 7-Zip is released in both 32-bit and 64-bit formats. The 32-bit format will work on both 32-bit and 64-bit computers. For the purposes of running the "7z" command (7z.exe) you only actually need the 7z.exe file, everything else can be removed. It does need to be located within some directory in the system path, however. 7-Zip works with zip, rar, cab and many other compression formats. Quote 4. If I do not want to make fonts as a compressed file, what will be the final installation for installation? If the font file isn't compressed then you can use just the commands with "*" for many files, but if each Ketarin Application is a different font then you could use a more generic command: copy "{file}" "%windir%\Fonts" This would install the font by copying the individual file downloaded into the Fonts folder, regardless of format. It does expect that the file is a real font file, of course. Since zip files are files, if you were going to use a font.zip file you'd need to download it "to a file". You can't use "font.zip" as a folder name and have it still be a real compressed file. Link to comment Share on other sites More sharing options...
omid Posted November 12, 2018 Author Report Share Posted November 12, 2018 Hello my dear friend. Thanks for the time you have put into correcting my mistakes. I could fix it. The reason was that the url was empty. I uploaded the fonts and placed the link in the box. It was fix with your tips. Link to comment Share on other sites More sharing options...
omid Posted November 12, 2018 Author Report Share Posted November 12, 2018 Dear shawn. I would like to appreciate you for all your help and support. You have been very helpful and I really do not know how to thank you for sharing the information I needed. I do apologize for all the inconveniences and thanks again for everything. Yours sincerely omid. Link to comment Share on other sites More sharing options...
shawn Posted November 12, 2018 Report Share Posted November 12, 2018 An EXE isn't a font, so it won't install the fonts by copying the file. You'll need to extract it or run it to extract the fonts. Sometimes you can use "/S" to install it silently, but 7z should be able to extract if it's just a self-installing exe. Doesn't hurt to try, anyway. I would run this from a command line first to test it out: 7z e 214fa.exe If that results in your fonts being extracted then you're good to go. You just need to change the output directory and use a full path to the file. Something like this: 7z e -o"%windir%\fonts" "{file}" *.ttf *.otf *.ttc *.fon Link to comment Share on other sites More sharing options...
omid Posted November 12, 2018 Author Report Share Posted November 12, 2018 Dear shawn. Yes, I made a mistake again. Give me an opportunity to correct it. I'll certainly let you know. Link to comment Share on other sites More sharing options...
omid Posted November 13, 2018 Author Report Share Posted November 13, 2018 20 hours ago, shawn said: An EXE isn't a font, so it won't install the fonts by copying the file. I used to use Windows Post-Install software in the past to install fonts as follows:( Windows Post-Install Wizard is discontinued) ( Because I have a photo upload limit, the link to the photos is as follows: ) http://oi64.tinypic.com/x2rq0w.jpg http://oi66.tinypic.com/2lrpfl.jpg http://oi64.tinypic.com/15ekdps.jpg it's the same. I want to follow your commands. A few questions have come to my notice For example, I have a compressed folder with a number of fonts. 1. Do you have to write something in the URL box in the ketarin Software, for example, to install some fixed fonts that do not have a download link? 2. Do you need to install 7z for running 7z commands on other systems? 3. With the last command(7z e -o"%windir%\fonts" "{file}" *.ttf *.otf *.ttc *.fon)the fonts are copied to the Windows font folder, but it does not appear in the Windows font folder. http://oi68.tinypic.com/10wim3a.jpg http://oi64.tinypic.com/al6iw5.jpg 4.Do you need to enter the names of those fonts in the Windows registry? [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]????? Why, though the fonts are installed, does not appear in the Windows font folder? what's the solution? Link to comment Share on other sites More sharing options...
shawn Posted November 13, 2018 Report Share Posted November 13, 2018 Fonts don't have to appear in the registry to be installed and available. The only thing necessary for a font to be "installed" is for the font file to be copied to the Windows\Fonts folder. If the font is there, it's installed. If not, it's not. Ketarin is more a package manager than anything. If an application doesn't have a download URL then it's not really a Ketarin thing. In this case, what you're trying to do is another thing that requires elevation. If you run Ketarin elevated ("run as administrator") this will succeed. If not, you'll get an access denied error. The first step in diagnosing problems with installer scripts or pre/post commands is to run them in a full interactive command prompt to see if they work that way. You can also use the "log" feature (CTRL+L) and look for errors during your commands. In either of these situations you'd see an access denied error. Trying it elevated it works. Run Ketarin elevated and you should be fine. Link to comment Share on other sites More sharing options...
shawn Posted November 13, 2018 Report Share Posted November 13, 2018 As for 7z - if you're keeping the packages portable then you should be able to put 7z.exe beside the ketarin.exe to make it available to Ketarin commands and scripting. Link to comment Share on other sites More sharing options...
omid Posted November 14, 2018 Author Report Share Posted November 14, 2018 On 11/13/2018 at 8:40 PM, shawn said: you should be able to put 7z.exe beside the ketarin.exe Yes that's right. I have done the same. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now