<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Vista User Account Control and Command Line Applications</title>
	<atom:link href="http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/</link>
	<description>Chatter about EPiServer, ASP.NET, CSS and Web Development.</description>
	<lastBuildDate>Wed, 21 Dec 2011 01:21:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Fredrik Haglund</title>
		<link>http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/comment-page-1/#comment-4061</link>
		<dc:creator>Fredrik Haglund</dc:creator>
		<pubDate>Thu, 26 Aug 2010 15:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fredrikhaglund.se/?p=22#comment-4061</guid>
		<description>Hi Steve!

Download my presentation about Delphi and UAC from http://www.meetup.com/delphi-sthlm/files/ 

Look at slide 37 to 40 about how you add a manifest that requires the exe-file to execute as administrator.</description>
		<content:encoded><![CDATA[<p>Hi Steve!</p>
<p>Download my presentation about Delphi and UAC from <a href="http://www.meetup.com/delphi-sthlm/files/" rel="nofollow">http://www.meetup.com/delphi-sthlm/files/</a> </p>
<p>Look at slide 37 to 40 about how you add a manifest that requires the exe-file to execute as administrator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Cooke</title>
		<link>http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/comment-page-1/#comment-4060</link>
		<dc:creator>Stephen Cooke</dc:creator>
		<pubDate>Wed, 25 Aug 2010 09:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fredrikhaglund.se/?p=22#comment-4060</guid>
		<description>Hello,
  I have a database program that I wrote using Delphi 7.

When a customer installs my program on a windows vista computer, I have to show them how to;
1. Locate my program (I put it in a new folder on the C:\ drive)
2. Right click my appliaction.exe file
3. Select the Comapibility tab.
4. Check the box &quot;Run as Administrator&quot;
Only then when will my program run correctly.

Obviously, this is a little annoying and puts off some of my customers.
My question is;
Is there a way to Run my application automatically as an administrator or in the alternative, automatically get the users permission to run my appliaction as an Administrator.

Kind Regards
Steve</description>
		<content:encoded><![CDATA[<p>Hello,<br />
  I have a database program that I wrote using Delphi 7.</p>
<p>When a customer installs my program on a windows vista computer, I have to show them how to;<br />
1. Locate my program (I put it in a new folder on the C:\ drive)<br />
2. Right click my appliaction.exe file<br />
3. Select the Comapibility tab.<br />
4. Check the box &#8220;Run as Administrator&#8221;<br />
Only then when will my program run correctly.</p>
<p>Obviously, this is a little annoying and puts off some of my customers.<br />
My question is;<br />
Is there a way to Run my application automatically as an administrator or in the alternative, automatically get the users permission to run my appliaction as an Administrator.</p>
<p>Kind Regards<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjarne Johansson</title>
		<link>http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/comment-page-1/#comment-3275</link>
		<dc:creator>Bjarne Johansson</dc:creator>
		<pubDate>Thu, 02 Jul 2009 17:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fredrikhaglund.se/?p=22#comment-3275</guid>
		<description>Hej Fredrik,

Jag använder Embarcadero Rad Studio 2009 under Vista 32. Jag vill köra program som administratör via Delphi kod.  Jag hittade din blog.



http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/

Jag fick fölljande meddelande, message:

(Jag var med i Swebug.)


[MSBuild Error] BRCC32-aktiviteten misslyckades oväntat.
System.IO.FileNotFoundException: Det gick inte att hitta filen C:\Users\Bjarne\Downloads\24512_example_console_app_with_user_account_control_uac_support\ExecutionLevelAsInvokerManifest.rc.
Filnamn: C:\Users\Bjarne\Downloads\24512_example_console_app_with_user_account_control_uac_support\ExecutionLevelAsInvokerManifest.rc
   vid System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   vid System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   vid Borland.Build.Tasks.Common.CommandLineTask.CreateTempFileIfNecessary(ITaskItem basedOn)
   vid Borland.Build.Tasks.Common.CommandLineTask.Execute()
   vid Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean&amp; taskClassWasFound)</description>
		<content:encoded><![CDATA[<p>Hej Fredrik,</p>
<p>Jag använder Embarcadero Rad Studio 2009 under Vista 32. Jag vill köra program som administratör via Delphi kod.  Jag hittade din blog.</p>
<p><a href="http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/" rel="nofollow">http://blog.fredrikhaglund.se/blog/2007/03/19/vista-user-account-control-and-command-line-applications/</a></p>
<p>Jag fick fölljande meddelande, message:</p>
<p>(Jag var med i Swebug.)</p>
<p>[MSBuild Error] BRCC32-aktiviteten misslyckades oväntat.<br />
System.IO.FileNotFoundException: Det gick inte att hitta filen C:\Users\Bjarne\Downloads\24512_example_console_app_with_user_account_control_uac_support\ExecutionLevelAsInvokerManifest.rc.<br />
Filnamn: C:\Users\Bjarne\Downloads\24512_example_console_app_with_user_account_control_uac_support\ExecutionLevelAsInvokerManifest.rc<br />
   vid System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br />
   vid System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)<br />
   vid Borland.Build.Tasks.Common.CommandLineTask.CreateTempFileIfNecessary(ITaskItem basedOn)<br />
   vid Borland.Build.Tasks.Common.CommandLineTask.Execute()<br />
   vid Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean&amp; taskClassWasFound)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

