473,611 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem in raising privilege level using manifest resource

This issue is in Vista.
I used XML files(one for DLLs, other for EXEs) ane embeded them in my
EXEs and all DLLs ....actually i want to spawn a third party setup
from found new hardware...but an error message is shown "illegel
value: requestedrunlev el"
and setup failed to spawn... Someone please tell me how to elevate the
setup files so that setup can be spawned from found new hardware...

I used following code:

<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<assembly xmlns="urn:sche mas-microsoft-com:asm.v1"
manifestVersion ="1.0">
<assemblyIdenti ty version="1.0.0. 0" processorArchit ecture="X86"
name="temp10" type="win32"/>
<description>Pr ivelidged</description>
<trustInfo xmlns="urn:sche mas-microsoft-com:asm.v3">
<security>
<requestedPrivi leges>
<requestedExecu tionLevel
level="requireA dministrator" uiAccess="true"/>
</requestedPrivil eges>
</security>
</trustInfo>
</assembly>

Thanks and Regards,
Ajay

Mar 21 '07 #1
3 3772
<er**********@g mail.comwrote in message
news:11******** *************@l 75g2000hse.goog legroups.com...
This issue is in Vista.
I used XML files(one for DLLs, other for EXEs) ane embeded them in my
EXEs and all DLLs ....actually i want to spawn a third party setup
from found new hardware...but an error message is shown "illegel
value: requestedrunlev el"
and setup failed to spawn... Someone please tell me how to elevate the
setup files so that setup can be spawned from found new hardware...

I used following code:

<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<assembly xmlns="urn:sche mas-microsoft-com:asm.v1"
manifestVersion ="1.0">
<assemblyIdenti ty version="1.0.0. 0" processorArchit ecture="X86"
name="temp10" type="win32"/>
<description>Pr ivelidged</description>
<trustInfo xmlns="urn:sche mas-microsoft-com:asm.v3">
<security>
<requestedPrivi leges>
<requestedExecu tionLevel
level="requireA dministrator" uiAccess="true"/>
</requestedPrivil eges>
</security>
</trustInfo>
</assembly>

Thanks and Regards,
Ajay

It makes no sense to embed this in your program, it has to be embedded in the third party
setup.

Willy.

Mar 21 '07 #2
On Mar 21, 9:28 pm, "Willy Denoyette [MVP]"
<willy.denoye.. .@telenet.bewro te:
<erajaysha...@g mail.comwrote in message

news:11******** *************@l 75g2000hse.goog legroups.com...
This issue is in Vista.
I used XML files(one for DLLs, other for EXEs) ane embeded them in my
EXEs and all DLLs ....actually i want to spawn a third party setup
from found new hardware...but an error message is shown "illegel
value: requestedrunlev el"
and setup failed to spawn... Someone please tell me how to elevate the
setup files so that setup can be spawned from found new hardware...
I used following code:
<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<assembly xmlns="urn:sche mas-microsoft-com:asm.v1"
manifestVersion ="1.0">
<assemblyIdenti ty version="1.0.0. 0" processorArchit ecture="X86"
name="temp10" type="win32"/>
<description>Pr ivelidged</description>
<trustInfo xmlns="urn:sche mas-microsoft-com:asm.v3">
<security>
<requestedPrivi leges>
<requestedExecu tionLevel
level="requireA dministrator" uiAccess="true"/>
</requestedPrivil eges>
</security>
</trustInfo>
</assembly>
Thanks and Regards,
Ajay

It makes no sense to embed this in your program, it has to be embedded in the third party
setup.

Willy.
but i am using it in third party S/W also...

Mar 22 '07 #3
<er**********@g mail.comwrote in message
news:11******** *************@d 57g2000hsg.goog legroups.com...
On Mar 21, 9:28 pm, "Willy Denoyette [MVP]"
<willy.denoye.. .@telenet.bewro te:
><erajaysha...@ gmail.comwrote in message

news:11******* **************@ l75g2000hse.goo glegroups.com.. .
This issue is in Vista.
I used XML files(one for DLLs, other for EXEs) ane embeded them in my
EXEs and all DLLs ....actually i want to spawn a third party setup
from found new hardware...but an error message is shown "illegel
value: requestedrunlev el"
and setup failed to spawn... Someone please tell me how to elevate the
setup files so that setup can be spawned from found new hardware...
I used following code:
<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<assembly xmlns="urn:sche mas-microsoft-com:asm.v1"
manifestVersion ="1.0">
<assemblyIdenti ty version="1.0.0. 0" processorArchit ecture="X86"
name="temp10" type="win32"/>
<description>Pr ivelidged</description>
<trustInfo xmlns="urn:sche mas-microsoft-com:asm.v3">
<security>
<requestedPrivi leges>
<requestedExecu tionLevel
level="require Administrator" uiAccess="true"/>
</requestedPrivil eges>
</security>
</trustInfo>
</assembly>
Thanks and Regards,
Ajay

It makes no sense to embed this in your program, it has to be embedded in the third party
setup.

Willy.

but i am using it in third party S/W also...

Sure about that?
How did you apply the manifest to the "third party" setup and what kind of module is it, an
exe or a dll?

Willy.

Mar 22 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3610
by: Roy Benjamin | last post by:
I'm developing a WEB service for Sun ONE deployment (AppServer7). I'm developing on Windows XP Pro though will deploy on Solaris, Sun AppServer7 includes a XercesImpl.jar in share/lib. 2 kb different than the one I usually use (xerces-2_1_0). If I compile all my code against the Sun xerces implementation, I get a class-def-not-found-error when trying to write any XML output. java.lang.NoClassDefFoundError:...
7
1751
by: Ken Allen | last post by:
OK, for a number of reasons I have needed to begin experimenting with resources sooner than I had planned (I had avoided it for now). Step 1: I built the 'reseditor' application that is in the SDK sub-directory, as instructed by the MSDN. Step 2: I used the 'reseditor' to create a file named "MyResources.resources" that contains only some string resources. Step 3: I added this resource file to my existing test assembly (does not do
5
3231
by: anthony.duerr | last post by:
I have encountered a problem (most certainly a .NET bug), that, for the life of me, I cannot figure out how to work around. Using Visual Studio 2003, with enabled XP Visual Styles. There are two possible scenarios here, the first one works properly, while the 2nd one doesn't. Scenario 1 ----------
0
1325
by: mb | last post by:
Hi I am working on a small helper tool to our main application. The tool uses SQLDMO to connect to the SQL Server 2000 database and allows us to cofigure the users who are allowed to use our main application and some other tasks. It is a .Net app developed in C# on Windows XP. I wanted to use visual styles to make this application look like an XP app. For doing that I need to use a manifest file. The manifest file looks like the...
11
11186
by: RossettoeCioccolato | last post by:
Is there any way to coax the VC8 linker into generating an application manifest with a trust level section suitable for an administrative application? Or do I have to add this manually each time that I rebuild? Regards, George.
0
1344
by: martin | last post by:
I've just been handed an old project (written in VC6 or possibly an earlier version) which I need to compile in Visual Studio Express. I went through the normal solution coversion process but the code unfortunately does not compile. There seem to be a problem with the resource but the error message is very vague so I don't know which part (configuration or code) that needs to be modified. I think the relevant error is this one: CVTRES :...
1
1574
by: Bern McCarty | last post by:
I know how with VC8 you embed your linker generated manifest into an exe with a resource ID of #1 and into a dll with resource ID #2. But what do you do with the linker generated manifest for a mixed .netmodule? Do you need to embed the it into the .netmodule? If so, with what ID? Or do you merge the .netmodule linker generated manifest into the manifest that you embed into the "assembly manifest containing" file? I have a 2-file...
5
14808
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause huge problems with slow connect times and heavy resource locking in high concurrency / high transaction volume environments. I have an OLTP with 30-90 transactions per second activity, and start of Health Monitor every 2 hours was crashing our...
0
4425
by: dot.yet | last post by:
Hi Everyone, environment: DB2 9.5 WSE with FP 2a Solaris 10 u5 - 64-bit SMP - 2 Quad CPUS - total 8 cores 16 GB RAM SAMPLE database Solaris Containers
0
8149
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8097
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8561
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8240
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8411
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7038
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2546
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1692
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.