Advertisement

02.14.2008 at 02:29AM PST, ID: 23162498
[x]
Attachment Details

How to add embeded UAC manifest into application executable?

Asked by IceBikers in Microsoft Visual Basic.Net, Windows Vista, Microsoft Development

Tags:

Hi, i'm working on vista certification for our developed application using VB.Net. The project built outputs are MyApp.msi and setup.exe.

 

I'm able to add embeded manifest by create a xml and embed into installer executable(setup.exe) by using Manifest Tool, as below:

 Questions:
1. How to hard code this manifest into our source code? possible??
2. How to add the same embeded manifest to the application executable after running setup.exe? e.g MyApp.exe
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
          <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
               <security>
                   <requestedPrivileges>
                         <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
                    </requestedPrivileges>
               </security>
         </trustInfo>
</assembly>
 
 at Command Prompt:
mt manifest PROJECT OUTPUT DIRECTORY\setup.exe.manifest outputresource:PROJECT OUTPUT DIRECTORY\setup.exe
[+][-]02.14.2008 at 06:29AM PST, ID: 20893493

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, Windows Vista, Microsoft Development
Tags: vb.net
Sign Up Now!
Solution Provided By: gbzhhu
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.14.2008 at 05:17PM PST, ID: 20898662

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.15.2008 at 02:04AM PST, ID: 20900478

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.18.2008 at 02:09AM PST, ID: 20918772

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.18.2008 at 02:24AM PST, ID: 20918813

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.18.2008 at 05:13PM PST, ID: 20924896

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.19.2008 at 02:27AM PST, ID: 20927049

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.19.2008 at 03:06AM PST, ID: 20927188

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.19.2008 at 03:42AM PST, ID: 20927338

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.21.2008 at 06:28PM PST, ID: 20954095

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.21.2008 at 06:30PM PST, ID: 20954101

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.22.2008 at 03:40AM PST, ID: 20956317

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.25.2008 at 10:51PM PST, ID: 20982117

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628