Inno Setup; creating a desktop icon to overide current icon - icons

I've been playing around with Inno Setup for a couple days now, and have a lot of the kinks worked out except for one I seem to be having an issue with. Its about creating desktop links and icons.
I've tried using the example scripts and putting them into my own script, and I've tried using two separate Setup Wizards (one that came with Inno Setup, and one that I downloaded from InnoIDE). After doing a bit of searching I finally found a code that will get a Desktop item to form (for a while the installer was not creating a desktop icon), but my issue is that the icon remains Adobe instead of my company icon.
In the old installer we used (InstalShield) back before I worked here, the programmer managed to configure the installer so that when the end user Downloaded it a link on the desktop would appear with the company logo, that would launch the main PDF file when clicked. All the files we are using are PDF files. I specified an icon in the installer, but I think thats just for the installer itself (while its running). I couldnt find an option for using a specific icon on the desktop in the Manual, or in the Setup Wizard, and I tried searching Google and couldnt find anyone else with this problem.
Is there a way to make my company logo show up on the desktop instead of Adobe's PDF logo for the main launch file? Or even if there is a way to create a shortcut and have that be the logo and link to the main PDF file, that would be fine too. Any advice really is appreciated. Thanks in advance.

There is a parameter called IconFilename which should solve your problem. Example:
[Icons]
Name: {group}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication;
Name: {commondesktop}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication;
You are free to use an exe, a dll or an ico file to get your company logo icon from using IconFilename property.
For more detailed information, visit the link below:
http://www.jrsoftware.org/ishelp/index.php?topic=iconssection

Related

Eclipse WikiText: How to set css for preview?

Using Eclipse 2020-09 (i.e. v. 4.17) IDE for Java (on Linux, openSUSE Tumbleweed), with version 3.0.38 of Mylyn WikiText plugin installed, I had the following difficulty: Although pretty much all editor/ui fonts were fine, the HTML preview of WikiText files (in particular README.md!) displayed in unreadably small fonts (my display has a very small pixel pitch). So I wanted to find a way to set the CSS of such preview pages. The Mylyn WikiText docs (at https://help.eclipse.org/2020-09/index.jsp?topic=%2Forg.eclipse.mylyn.wikitext.help.ui%2Fhelp%2FMylyn+WikiText+User+Guide.html, under the heading "Rendering Appearance") says that there should be a Preferences screen General > Editors > Text Editor > WikiText > Appearance that allows one to set this CSS. However, no such screen shows up in my installation.
The only method I was able to find for fixing this was to use an application (such as Engrampa) which is able to edit the contents of .jar files, and in my eclipse installation directory, use it on plugins/org.eclipse.mylyn.wikitext.ui_3.0.[SPECIFIC_VERSION_HERE].jar to edit the internal component org/eclipse/mylyn/internal/wikitext/ui/viewer/default.css -- I could change any css there, and upon restarting Eclipse, the changes would take effect.
However, clearly any changes I make this way will be blown away upon the next update of Eclipse or of Mylyn Wikitext. Does anyone know of a better way to set the size of the preview text? Was that Appearance pane mentioned in the docs removed? If so, what replaced it? If not, any ideas why I might not be seeing it?

CKEditor image properties tabs disappear

I'm having an issue with CKEditor regarding image properties. Spent many hours investigating this but ended up without solution.
I'm using Drupal 7 with the latest CKEditor AND IMCE.
When I click on the image icon on CKEditor tool bar, the image properties popup window came up but I was looking at the "advanced" tab is not showing up. No tab show up at all.
Is there any configuration that I have to apply in order to show up the tabs in the image properties?
you can try by reinstalling with ckeditor - 7.x-1.16 and imce - 7.x-1.9,
worked for me
I got this trouble when use cdn version of ckeditor instead of local.
To fix it download latest ckeditor from official site http://ckeditor.com/download. I have downloaded full version. Then copy files to /sites/all/modules/ckeditor/ckeditor. Before you copy here must be only 1 file with name COPY_HERE.txt. After copy folders adapters, lang... etc.
Then go to the global settings of the ckeditor admin/config/content/ckeditor/editg and set path to the local ckeditor library like this: %m/ckeditor. Save settings and check if advanced tabs exist now.

Windows form application - Icon image location?

I think this should be a relatively easy one to answer, I hope, but is proving to be a bit of a stress!
I have used an Icon on an old application developed some years ago and I would now like to use the icon for a current project.. however..
I added the icon using the upload/import icon-image in the properties window, and did not add it in the project resources file, nor specify its location anywhere in my code, using only the icon tool in the properties window.
Now wanting to find the icon image file to use again, I cannot find it anywhere! I have trawled through all the project files looking for the image file or a ref to its location, but have found nothing; except for:
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
When running the application the icon is still clearly visible in the applications taskbar tile.
Does anyone know where the icon file is stored / how I can retrieve it?
Thank you in advance.
It is stored in "{Your_project_name}.{Form_name}.resources" file. Search inside the "obj" folder which is in your project folder.
Now open the command prompt of Visual Studio. We will convert this ".resources" file into a ".resx" file. We use "resgen" command here.
resgen foo.resources bar.resx
The .resx can then be added to a C# project. You can find your icon file there.

How to change JavaFx native Bundle exe icon

I am trying to chance the icon of the exe file created native bundling of javafx packaging but it still contains the default icon. Please suggest
primaryStage.getIcons().add(FileUtility.loadImage("icon.png"));
did not help, it only changes the title bar and task bar icon.
The ico file still gets generated and icon of the exe files remains the default one
I also tried to assign an icon in the project properties-> Deployment-> icon but did not help
I believe I have encountered the same issue and the solution is described in the following thread.
As a side note - neither specifying your icon in the build.xml file or via the project's options in the deployment section is going to work thus far, but it seems to be fixed in the upcoming release of 7u10.
I added response here How to set custom icon for javafx native package icon on Windows and thinks it is the same issue you started out with. However you seem to have moved on, but others might find it interesting...
I added src/main/deploy/package/windows/myapp.ico there and it finally worked :)
For you:
Create src/main/deploy/package/windows/ folder
Add icon with name ${project.build.finalName}.ico
Run mvn jfx:build-native
I haven't played with it extensively - just got it to work and wanted to share. So if you want to use icon with different name, I don't know how. Not yet at least. The ... section in the config section seems to be for webstart, so I haven't been using it. Hope you get it to work!
Answered at How to set custom icon for javafx native package icon on Windows

Retina display images in app?

It was my understanding that all you needed to support retina display was to have a #2x image and scale down to half for the non retina display devices. I put all the regular and #2x files in my Supporting Files > Images folder. However, on the apple website is says the following:
"Even if you use these fixed icon filenames, your app should continue to include the CFBundleIcons or CFBundleIconFiles key in your app’s Info.plist file"
I was unaware that I had to do anything to the plist file or maybe the information in apple's website is outdated. I am running xcode 4.4, any help is appreciated, thanks.
its simple to add icons click on your project in the xcode navigator and just drag and drop the icons to the right slots. then, to be sure they are there just click on the info tab icon files ios5, icon files, ... , and then see if it says icon.png, icon#2x.png, icon-72.png because you need those. its pretty simple and the only editing you really have to do is add icon-72.png(which should be 72x72) and then it should work fine

Resources