PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: FBWThemes_HDPI_W7.xml  (Read 832 times)

James Fuller

  • FireFly3 Registered User
  • Senior Member
  • *
  • Posts: 276
  • FF3 User
FBWThemes_HDPI_W7.xml
« on: July 07, 2016, 01:37:13 PM »

Jose,
  In The FBWThemes_HDPI_W7.xml should we replace ApplicationName in assemblyIdentity,
 and application in asm3:application to our app name?
Also is it necessary to have this file in the same folder as the exe on distribution or is the inclusion of resource in the exe enough.
Thanks,

James

 
Logged

Josť Roca

  • Moderator
  • Master Member
  • *****
  • Posts: 3028
    • Jos
Re: FBWThemes_HDPI_W7.xml
« Reply #1 on: July 07, 2016, 02:23:08 PM »

This is one I was using for testing purposes. In the templates that come with the WinFEB editor I have added the following one:

Code: [Select]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">

      <assemblyIdentity version="1.0.0.0"
         processorArchitecture="*"
         name="ApplicationName"
         type="win32"/>
      <description>Optional description of your application</description>

      <!-- Compatibility section -->
      <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
         <application>
            <!--The ID below indicates application support for Windows Vista -->
            <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
            <!--The ID below indicates application support for Windows 7 -->
            <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
            <!--This Id value indicates the application supports Windows 8 functionality-->
            <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
            <!--This Id value indicates the application supports Windows 8.1 functionality-->
            <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
            <!--This Id value indicates the application supports Windows 10 functionality-->
            <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
         </application>
       </compatibility>

      <!-- Trustinfo section -->
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
         <security>
            <requestedPrivileges>
               <requestedExecutionLevel
                  level="asInvoker"
                  uiAccess="false"/>
               </requestedPrivileges>
         </security>
      </trustInfo>

      <dependency>
         <dependentAssembly>
            <assemblyIdentity
               type="win32"
               name="Microsoft.Windows.Common-Controls"
               version="6.0.0.0"
               processorArchitecture="*"
               publicKeyToken="6595b64144ccf1df"
               language="*" />
         </dependentAssembly>
      </dependency>

   </assembly>

> In The FBWThemes_HDPI_W7.xml should we replace ApplicationName in assemblyIdentity,
 and application in asm3:application to our app name?

It is up to you.

> Also is it necessary to have this file in the same folder as the exe on distribution or is the inclusion of resource in the exe enough.

It is not necessary to distribute it. It is embedded in the resource file.