When user installs my application, I am installing my fonts to the windows. However, when they uninstall it, the fonts also get uninstalled. How do I make sure that fonts dont get uninstalled.I am creating installer with InstallShield Professional
Normally your font is a Component, so if you set the font Component's Permanent option to Yes it should remain after uninstall. Documentation here, and it even explicitly mentions fonts.
Related
I'm using eclipse Mars.1 JEE with CDT on CentOS 7 Gnome Classic and I'm wondering where eclipse saves configs and plugins. The reason is that I had the following problem and I'd like to understand.
I installed a plugin to apply external themes (Eclipse Colo Theme) and I changed the colors. I didn't like the plugin and removed it but I didn't set the colors back. After some time I found code snippets which where not readable because of the colors. But I forgot about the plugin and the changes I applied. I tried to solve the problem and looked for a solution but I found no solution. I downloaded eclipse, extracted it in the downloads folder and started it. The problem was there, too. And also my proxy configs. So I installed the plugin, reverted my changes and checked both eclipse folders. Both versions were fixed. So both versions check a central location on my system for configs, themes and plugins.
I found ~/.eclipse but it doesn't seem like there is a config. Are there other places were eclipse saves a config, even when I use a portable eclipse version?
Most preferences like theme, color and fonts, etc. are stored in the subfolder .metadata of the workspace.
If you switch to another workspace (File > Switch Workspace > ...) you will see, which preferences are workspace specific and which are not.
In some cases, the Restore Defaults button in the Preferences dialog (e. g. in Window > Preferences: General > Appearance > Colors and Fonts) can be used to restore the default preferences.
I have created an MSI installscript project in Installshield. I went to Project Assistant>Application Files, then added the application files(package) and built Setup.exe to install.
After installed these files, I went back to Project Assistant and added some application files, then i changed the product version for updating. Finally, i built the Setup.exe again. When i run the Setup.exe, the automatic update (Upgrade Window Installer Setup) asked me to update a new version. After finishing, I checked Program Files(x86) and the updating didn't do anything, the old package was still here.
How can i update my new package? Is there any way to disable the Upgrade Window Installer Setup?
Thanks for the help.
In my humble opinion, most likely, you added new files to existing Component with keypath, which didn't change. Also you should check "Add\Remove Programs" snap-in in Control Panel to see if upgrade was applied - there should change version of your product.
So, I recommend you check Components, and re-allocate files to new Components if I had right. Also please read more about Components and Files. Could start from here.
Two words about InstallScript MSI project. From InstallShield documentation: Because this project type uses two different engines, it is more complex than pure InstallScript or Basic MSI installation projects. It is recommended only for advanced users.
So, if possible, use Basic MSI project - it's a bit simpler than InstallScript MSI for begginers.
I want to emulate Windows 7 fonts on my Ubuntu 13.10 system. I installed infinality and tried a couple of themes via infctl.sh (Win7 and OSX2 ones). Alas, none of them was fully suitable: OSX2 theme needs to be darker and Win7 theme needs to be thicker.
In tried to modify the filter matrix via infinality-settings.sh. It writes the proper (modified) values to the environment variables, but nothing happens to my rendered fonts. I restarted my machine several times, but it does not help.
Cannot you tell me the proper way to modify my filter settings?
P.S. My antialiasing settings are here.
P.P.S. My printenv dumps are here.
Heh, the reason was rather simple: I had my FreeType installed not from no1wantdthisname PPA, but from the default Ubuntu repository. So, the Freetype itself was not patched, only fontconfig-infinality was installed.
I am currently using Qt Creator on Ubuntu Linux 12.10, and I have just started a Qt GUI application. When I click the design tab, I come to this screen:
As you can see, the Build and Run buttons on the bottom left are greyed out, and I don't understand why. I have searched across the web already, and have found nothing. Can anybody give me a clue as to why this is happening? Have I done something wrong?
My QT Creator version is:
Qt Creator 2.5.2
Based on Qt 4.8.2 (64 bit)
Built on Aug 19 2012 at 15:28:17
The only reason that I switched to Qt Creator is that Qt Designer cannot build applications, or edit their source code. Are the two meant to be used together? If so, how?
You are in the "design" realm, goto the "edit" or "debug" pane.
By looking at the little computer-shaped icon, just above the run, debug and build buttons on the bottom left corner, it seems to me that either you may have not set up a version of the Qt properly, or you haven't selected one at all. Therefore no compilation is possible
If you have installed the Qt Libraries, then you will need to "add" them to the QtCreator properteies.
In QtCreator go to Tools->Options-> Qt (or Qt Versions) and add a valid version of the qt libraries by selecting the path to the appropriate qmake.
If you are still having issues, I would recommend installing the Nokia-QtSDK, as it bundles the Qt libraries for different platforms (Desktop, Meego, Symbian, etc.) and it requires no extra set up.
Looking at the title bar of Qt Creator it looks like you only created (or opened) a .ui file. To compile something you need a project (a .pro file). Click File -> New and choose Application -> Qt Gui Application.
Check whether you have configured the tool chains required. You will need to provide paths for gcc compiler and qmake for building applications from Qt Creator. Check the settings in Tools->Preferences.
I have a cross platform program that runs on Windows, Linux and Macintosh. My windows version has an Icon but I don't know how to make have one for my Linux build.
Is there a standard format for KDE, Gnome etc. or will I have to do something special for each one?
My app is in c++ and distributed as source so the end user will compile it with gcc.
If I can have the icon embedded directly inside my exe binary that would be the best.
For Gnome and Kde, you would probably want to include a desktop file with your app that defines how it will be launched. The specification can be found here. If you have an installer included with your app, you would probably want to have it generate this desktop file and put it in the right places to make menu entries and whatnot
If you are using one of the pre-baked F/OSS build systems, such as KDE's CMake support, it's really rather easy once you have a .desktop file:
install( FILES myapp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
kde4_add_app_icon(myapp_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/hi*-app-myappname.png")
If you are rolling your own, consider using xdg-utils, which includes handy little scripts like xdg-desktop-menu (installs desktop menu items) and xdg-desktop-icon (installs icons to the desktop) for such things.
The .desktop standard was already pointed out in the first comment, though you can also just grab one that is already installed on your system and modify it from there. As for icons, PNGs and SVGs are geerally supported though PNGs tend to give the best results still.
KDE community with it's KDE 4 series started to use CMake as a build system. They developed a CMake macro that knows how to set an icon for your application regardles of the platform (windows (embedded in exe), mac (.app bundles), linux (.desktop files) etc.)
Maybe you can use it.