Page 1 of 1

Manifest for Windows 10

PostPosted: Sat Aug 19, 2017 5:36 pm
by Giovany Vecchi
I changed the .manifest file with the optimization information for Windows 7,8,8,1 and 10 and call the access request to administrator when loaded.
Include in the resource file

File Windows10.manifest
Code: Select all  Expand view
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
      <application>
        <!--This Id value indicates the application supports Windows 10 functionality-->
          <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
        <!--This Id value indicates the application supports Windows Vista functionality -->
          <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
        <!--This Id value indicates the application supports Windows 7 functionality-->
          <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}"/>
      </application>
  </compatibility>

  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />  
       </requestedPrivileges>
    </security>
  </trustInfo>

<assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="X86"
    name="FiveTech Software.FiveWin.32bits"
    type="win32"
/>
<description>Your application description here.</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>
 

Re: Manifest for Windows 10

PostPosted: Sun Aug 20, 2017 5:02 am
by Antonio Linares
many thanks :-)

Re: Manifest for Windows 10

PostPosted: Sun Aug 20, 2017 8:57 am
by Enrico Maria Giordano
I tried the manifest but the buttonbar (at least the one of the preview window) has vanished.

EMG

Re: Manifest for Windows 10

PostPosted: Sun Aug 20, 2017 9:49 am
by Horizon
Hi,

Code: Select all  Expand view
<description>Your application description here.</description>


When I write "My Application" in description above, Should I see "My Application" in Details of Properties of application?

Thanks,

Re: Manifest for Windows 10

PostPosted: Fri Aug 25, 2017 9:06 pm
by Rick Lipkin
Hakan

In order to 'burn' your development and Version Information .. save this code to Version.Rc and add Version.rc to your link list. Use Noteapad to edit your specific information

Rick Lipkin

Code: Select all  Expand view


//
// Version Information resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
1 VERSIONINFO
    FILEVERSION     31,0,0,0
    PRODUCTVERSION  31,0,0,0
    FILEOS          VOS__WINDOWS32
    FILETYPE        VFT_UNKNOWN
    FILESUBTYPE     VFT2_UNKNOWN
    FILEFLAGSMASK   0
    FILEFLAGS       0
{
    BLOCK "StringFileInfo"
    {
        BLOCK "04090025"
        {
            VALUE "CompanyName", "CCI by Richard Lipkin"
            VALUE "FileDescription", "Vehicle Maint    "
            VALUE "FileVersion", "31.0 Prod"
            VALUE "LegalCopyright", "Custom Computers Inc "
        }
    }
    BLOCK "VarFileInfo"
    {
        VALUE "Translation", 0x0409, 0x0025
    }
}

 

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 7:58 am
by Enrico Maria Giordano
Rick,

Where do you get 0x0025 value from? It is not mentioned here:

https://msdn.microsoft.com/it-it/library/windows/desktop/aa381049(v=vs.85).aspx

I'm using 1200 instead.

EMG

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 2:07 pm
by Rick Lipkin
Enrico

I do not know ... found this .rc on the internet somewhere ... it appears 0x0025 is Estonian ... think I will remove that translation

https://www.microsoft.com/resources/msd ... fault.mspx

Rick Lipkin

Image

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 2:30 pm
by Rick Lipkin
Enrico

Interesting enough .. if I remove 0x0025 .. and recompile .. I get No language translation

Rick Lipkin


Image

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 3:14 pm
by Enrico Maria Giordano
Can I see your changed VersionInfo?

EMG

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 3:38 pm
by cnavarro
Rick Lipkin wrote:Enrico

Interesting enough .. if I remove 0x0025 .. and recompile .. I get No language translation

Rick Lipkin


Rick, if you change this ( example for spanish )

BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0C0A, 0x0409



You have change also (same values), not?

BLOCK "StringFileInfo"
{
BLOCK "0C0A0409"

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 6:18 pm
by Horizon
Rick Lipkin wrote:Hakan

In order to 'burn' your development and Version Information .. save this code to Version.Rc and add Version.rc to your link list. Use Noteapad to edit your specific information

Rick Lipkin

Code: Select all  Expand view


//
// Version Information resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
1 VERSIONINFO
    FILEVERSION     31,0,0,0
    PRODUCTVERSION  31,0,0,0
    FILEOS          VOS__WINDOWS32
    FILETYPE        VFT_UNKNOWN
    FILESUBTYPE     VFT2_UNKNOWN
    FILEFLAGSMASK   0
    FILEFLAGS       0
{
    BLOCK "StringFileInfo"
    {
        BLOCK "04090025"
        {
            VALUE "CompanyName", "CCI by Richard Lipkin"
            VALUE "FileDescription", "Vehicle Maint    "
            VALUE "FileVersion", "31.0 Prod"
            VALUE "LegalCopyright", "Custom Computers Inc "
        }
    }
    BLOCK "VarFileInfo"
    {
        VALUE "Translation", 0x0409, 0x0025
    }
}

 


Thank you very much.

I try to compile with microsoft rc.exe. I got some errors.

Code: Select all  Expand view
Version.rc(5) : error RC2147 : SUBLANGUAGE ID not a number

Version.rc(9) : error RC2104 : undefined keyword or key name: VOS__WINDOWS32

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe"' : D?n?? kodu '0x2'
Stop.


Is there any solution?

Re: Manifest for Windows 10

PostPosted: Sat Aug 26, 2017 7:04 pm
by Antonio Linares

Re: Manifest for Windows 10

PostPosted: Sun Aug 27, 2017 7:37 pm
by byte-one