I use InnoSetup to install my desktop application which consists of several exe's. Each exe ends up with its own tile in the tiles matrix. I really don't want all of the exe's to have a tile. Is there to specify which of the exe's gets a tile placed in the tiles matrix?
Just find in an another question the answer. You can control it with the excludefromshowinnewinstall flag.
Related
Building my first Windows Phone 8 app and I am bringing in a few icons to use in the appbar. As I am picking the icons in C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons\Dark I see that there is a file called DarkIcons.dll.
Can I use this dll as a resource file and then bind to icons in it?
If so how does that binding work? What does the binding look like?
For AppBar icons, you should use the white "dark" icons in that folder or from other resources like modernuiicons. Add these to your project as a resource and set the icon to be this image. If your application is used on a device that has a light theme, the phone will turn the icons black for you. No need for you to do anything!
Well. You need not to do anything with .dll file for App Bar icons. You need not to worry about that dll file. Because while you create the new project, all dll files will be initiated. This dll is the primary file. Windows sdk will care about more than you
Simply copy and paste the desired icons from "dark" folder in the solution explorer.
Simply call that image and you can use all icons like this.
If your phone theme was dark, then the colors of icons will be light and vice versa.
Hope this could be useful to you. All the best.
The guide for Windows Phone 8 app bars states that AppBar button icons should be 48x48px. It also says that a bunch of sample icons can be found in C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons.
But the images in there are 76x76px. And they work fine, at least on the emulator they do.
So what's the proper size?
So what's the proper size?
76x76, because then you support higher resolutions. If you use 48x48, it'll be scaled up for WXGA and 720p, rather than down (for WVGA), with the quality being slightly worse.
The factor is roughly 1.6, which is the same as for the Tile Sizes
And to prove the point, here's our application, using 76x76 application icons: Skype | Windows Phone Store
They are 48x48px as the people above have said, but the 76x76px ones you are seeing are for devices with a different screen size from that set by Visual Studio as default.
If you are looking for any additional icons do check out Templarian's open-sourced icon project http://modernuiicons.com/. The .zip includes light and dark themes icons as well as the initial Expressions Blend .design file and the .xaml coding of the icon.
They have to be a minimum of 48x48, you can have a bigger (square) size and it will scale down accordingly.
I am building an AIR app which will be kind of like Dropbox. It will allow users to sync their files between various OSs. What I would like to know is that how can i change the default file system's file icons (add an overlay for eg) for states like - Synced and Syncing, the way Dropbox does it ??
On Windows i found out that Dropbox edits the registry files to insert the overlay icons..not yet sure how they do it in MAC OS X though.
I saw some threads here asking similar questions about AIR, but none referencing how to change file's icons. Hoping to get a solution for this from the various experts .. Please suggest any ideas if you know how it can be accomplished. Much thanks.
A simple yet effective solution would be to use icons that are only internal to your application : just embed in your application files some transparent pictures representing the various states of your files (with only the small part telling in which state it is, with the rest totally transparent), that you will add at runtime above the displayed icons.
Since you can get the actual icon of your files, just draw them into a BitmapData (if needed) & add an overlay with theses custom images, using the one related to your file's state in your application.
And one step further could be to store in your AIR application folder any resulting icons for future use (check what types of files you already have, and if your new file type isn't in thoses, export the various icons with your custom overlays to PNG files directly on the user device, for re-loading them the next time the application is opened).
In older windows we had a library called cards.dll that MS used for UI in card games. It looks like they are now using something different for it. Do anyone know how Microsoft paint cards in new Windows?
Thank you.
I opened the cards.dll from 32-bit Windows XP and the file contains bitmap resources with the cards. This DLL is not present on Windows 7 (64-bit). I opened the .exe in a resource editor and did not find any bitmap references which is something I'd normally have expected.
I then opened the executable with Dependency Walker to find out if there were any additional references to the equivalent of cards.dll and there were none. There was a reference to DirectX so I suspect that the cards are being drawn using that API, and are perhaps encoded in something other than a bitmap. Process Explorer's thread view also suggest DirectX is being used.
I have a number of .ico files in my installer that have various renderings for different palette depths, sizes, etc. These display on the MSI's UI rather than being a part of the installation process.
Unfortunately, each of these icon files are displaying the 4-bit palette depth version, which looks a bit rubbish. Is there a way to get the icons to display at the full 8-bit palette?
8-bit icons are unsupported in Windows Installer. I got around the problem by having the 4-bit icons re-drawn so they looked better in the lower colour palette.
Why not delete the 4 bit version from the icon and keep only the 8 bit one version?