Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

How to create manifest for non .net application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DBC User - 28 Sep 2007 17:12 GMT
Sorry for off topic here. I would like to know will it be possible to
create a manifest for non .net application? I have a program created
with VC 2.1 and Install Sheild as well. I want those two programs to
require admin privileges to run in vista. I know I can do it in VS
2005 by adding additional manifest during building. How can I do it
for the other apps?

Thanks.
Willy Denoyette [MVP] - 28 Sep 2007 18:49 GMT
> Sorry for off topic here. I would like to know will it be possible to
> create a manifest for non .net application? I have a program created
[quoted text clipped - 4 lines]
>
> Thanks.

The mt.exe tool (....\VC\bin\mt.exe), can be used to embed a manifest file
in an existing exe.

mt.exe -manifest SomeProgram.exe.manifest -outputresource:SomeProgram.exe;#1

Willy.
Doug Semler - 28 Sep 2007 18:54 GMT
> Sorry for off topic here. I would like to know will it be possible to
> create a manifest for non .net application? I have a program created
> with VC 2.1 and Install Sheild as well. I want those two programs to
> require admin privileges to run in vista. I know I can do it in VS
> 2005 by adding additional manifest during building. How can I do it
> for the other apps?

Heh, I had to do this recently on a vb6 app that needed to run on a 64 bit
machine (requirement imposed: installing components outside of given
directories NOT permitted).  Basically I did it by hand: in order to get the
right COM object dependencies, I just created a quick stub application and
dropped the same COM components (and there were ALOT of them) that the VB6
app uses into a form and marked them isolated.  Then I just copied manually
made the changes I needed to the the manifest that was generated over to the
vb6.exe.manifest file and poof it worked.

Signature

Doug Semler, MCPD
a.a. #705, BAAWA.  EAC Guardian of the Horn of the IPU (pbuhh).
The answer is 42; DNRC o-
Gur Hfrarg unf orpbzr fb shyy bs penc gurfr qnlf, abbar rira
erpbtavmrf fvzcyr guvatf yvxr ebg13 nalzber. Fnq, vfa'g vg?

DBC User - 28 Sep 2007 20:04 GMT
> > Sorry for off topic here. I would like to know will it be possible to
> > create a manifest for non .net application? I have a program created
[quoted text clipped - 18 lines]
> Gur Hfrarg unf orpbzr fb shyy bs penc gurfr qnlf, abbar rira
> erpbtavmrf fvzcyr guvatf yvxr ebg13 nalzber. Fnq, vfa'g vg?

Thanks both. This will help me get started..

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.