Manifest for Windows 10

Post Reply
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Manifest for Windows 10

Post 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

<?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>
 
Last edited by Giovany Vecchi on Sun Aug 20, 2017 6:37 am, edited 1 time in total.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Manifest for Windows 10

Post by Antonio Linares »

many thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Manifest for Windows 10

Post by Enrico Maria Giordano »

I tried the manifest but the buttonbar (at least the one of the preview window) has vanished.

EMG
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: Manifest for Windows 10

Post by Horizon »

Hi,

Code: Select all

<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,
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Manifest for Windows 10

Post 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


//
// 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
    }
}

 
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Manifest for Windows 10

Post 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
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Manifest for Windows 10

Post by Rick Lipkin »

Enrico

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

Rick Lipkin


Image
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Manifest for Windows 10

Post 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"
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: Manifest for Windows 10

Post 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


//
// 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

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?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Manifest for Windows 10

Post by Antonio Linares »

Please replace SUBLANG_NEUTRAL with zero:

LANGUAGE 0, 0

https://msdn.microsoft.com/en-us/librar ... s.85).aspx

and

VOS__WINDOWS32 with 4:

FILEOS 4

https://msdn.microsoft.com/es-es/librar ... s.85).aspx
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Manifest for Windows 10

Post by byte-one »

Regards,
Günther
---------------------------------
office@byte-one.com
Post Reply