<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Making an MSI that doesn't need a UAC/LUA prompt</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx</link><description>The goal I think that most things don't need to require a UAC prompt to install - just install it for that user. Why not make the MSI so it doesn't prompt and your users get a smoother experience? (Also, I feel much better installing a program that doesn't</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Making an MSI that doesn't need a UAC/LUA prompt</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx#2408365</link><pubDate>Fri, 04 May 2007 13:29:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2408365</guid><dc:creator>windowsmarketplace</dc:creator><description>&lt;p&gt;James, why do you use msiinfo instead of the Package/@InstallPrivileges attribute to set the elevation flags in the MSI?&lt;/p&gt;
&lt;p&gt;Also, if you look at a &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://wix.sourceforge.net/clickthrough.html&amp;quot;&amp;gt;ClickThrough&amp;lt;/a&amp;gt;"&gt;http://wix.sourceforge.net/clickthrough.html&amp;quot;&amp;gt;ClickThrough&amp;lt;/a&amp;gt;&lt;/a&gt; in the WiX toolset, you can see a much more elegant way of switching from per-machine to per-user without duplicating all of your authoring.&lt;/p&gt;</description></item><item><title>re: Making an MSI that doesn't need a UAC/LUA prompt</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx#2416389</link><pubDate>Sat, 05 May 2007 01:51:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2416389</guid><dc:creator>jamesfinnigan</dc:creator><description>&lt;p&gt;@windowsmarketplace&lt;/p&gt;
&lt;p&gt;InstallPrivileges certainly works - I was using a few different versions of Wix and some of them (some of the 3.0 stuff, IIRC) didn't support it. &amp;nbsp;msiinfo is just something I used because it was always supported.&lt;/p&gt;
&lt;p&gt;ClickThrough - ignorance, really. &amp;nbsp;I tried to look at it and give it a run, but I really don't understand how it all connects together and the limitations. &amp;nbsp;Maybe you'd be interested in doing lunch?&lt;/p&gt;
</description></item><item><title>Link to an article describing how to create an MSI that does not prompt for elevation</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx#2419596</link><pubDate>Sat, 05 May 2007 05:10:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2419596</guid><dc:creator>Aaron Stebner's WebLog</dc:creator><description>&lt;p&gt;As I previously described in this blog post , Windows Installer will prompt users for elevation by default&lt;/p&gt;
</description></item><item><title>re: Making an MSI that doesn't need a UAC/LUA prompt</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx#2991156</link><pubDate>Wed, 30 May 2007 20:43:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2991156</guid><dc:creator>Pankaj</dc:creator><description>&lt;p&gt;James,&lt;/p&gt;
&lt;p&gt;I am currently writing a WiX installer that needs to do both single-user and all-user installs, and I followed the scheme you described above.&lt;/p&gt;
&lt;p&gt;However, I find that this doubled the size of the installer, because it is now carrying around two compressed copies of the same executable.&lt;/p&gt;
&lt;p&gt;Is there any way to get around that?&lt;/p&gt;
&lt;p&gt;Also, is LocalAppDataDir the canonical place for a single-user install?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pankaj&lt;/p&gt;</description></item><item><title>re: Making an MSI that doesn't need a UAC/LUA prompt</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx#2992723</link><pubDate>Wed, 30 May 2007 22:48:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2992723</guid><dc:creator>jamesfinnigan</dc:creator><description>&lt;p&gt;@Pankaj&lt;/p&gt;
&lt;p&gt;Well, a few comments first - one point of this blog entry is to talk about the issues with a single-package per-machine/per-user setup. &amp;nbsp;You should follow the best practice unless you're happy with the issues that I mentioned here.&lt;/p&gt;
&lt;p&gt;If those don't bother your scenario, then you can do the work (mentioned super briefly in the footnote) to change the installdir on the components and make the removedir/HKCU keypath stuff be conditional on ALLUSERS, or you can simply use the latest v3 version of wix (it has a feature that reuses compression of duplicate files - the file will have 2 entries in your cab, but only take up space once).&lt;/p&gt;
&lt;p&gt;I don't think that there is a canonical place for a single-user (and LUA-free) install yet.&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;
</description></item><item><title>http://blogs.msdn.com/astebner/archive/2007/05/04/2419593.aspx</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx#4422912</link><pubDate>Fri, 17 Aug 2007 03:11:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4422912</guid><dc:creator>TrackBack</dc:creator><description /></item></channel></rss>