<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel xmlns:blog="http://www.dotnetnuke.com/blog/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
    <title>Blogs</title>
    <description>See my "Moment by Moment" blog for personal entries. My "Knowledge Base" blog is the place for "nerd notes".</description>
    <link>http://www.larrydaniele.com/Blogs/tabid/55/BlogId/1/Default.aspx</link>
    <language>en-US</language>
    <webMaster />
    <pubDate>Sun, 20 May 2012 03:48:03 GMT</pubDate>
    <lastBuildDate>Sun, 20 May 2012 03:48:03 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 4.1.0.0</generator>
    <item>
      <title>How to Manually Reinstall Carbonite to Solve High CPU Usage Problem</title>
      <link>http://larrydaniele.com/Blogs/tabid/55/EntryId/51/How-to-Manually-Reinstall-Carbonite-to-Solve-High-CPU-Usage-Problem.aspx</link>
      <description>&lt;p&gt;A while back I wrote about the &lt;a href="http://larrydaniele.com/Blogs/tabid/55/EntryId/50/High-CPU-Usage-When-Carbonite-Tries-to-Backup-Running-Apps.aspx"&gt;High CPU Usage When Carbonite Tries to Backup Running Apps&lt;/a&gt; problem. I still experience this problem from time to time and sometimes that solution doesn't work. When it doesn't, it seems the only other solution is to manually uninstall and reinstall Carbonite to remove any "zombie" backups.&lt;/p&gt;
&lt;p&gt;Note: Before you do any reinstall, you may want to record which, if any, folders you have excluded from backups in the System Preferences &gt; Carbonite panel. It appears that Carbonite remembers your settings online, but if they changed recently, they may not all be saved.&lt;/p&gt;
&lt;p&gt;Here are the steps to do uninstall and reinstall from Carbonite tech support:&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;Please follow the steps below to manually remove Carbonite’s program files:&lt;/p&gt;
&lt;ol style="margin-left: 40px;"&gt;
    &lt;li&gt;Restart your Computer.&lt;/li&gt;
    &lt;li&gt;Control click on Finder on the dock and select ‘Go to Folder’.&lt;/li&gt;
    &lt;li&gt;Type /Library/Application Support/ into the window that appears.&lt;/li&gt;
    &lt;li&gt;Move the ‘Carbonite’ folder to the Trash.&lt;/li&gt;
    &lt;li&gt;Control-click on the Application Support folder in the header bar and click the Library folder.&lt;/li&gt;
    &lt;li&gt;Go to the Contextual Menu Items folder and move ‘CarboniteCMM.bundle’ to the trash.&lt;/li&gt;
    &lt;li&gt;Go back to the /Library folder and go into the LaunchAgents folder.&lt;/li&gt;
    &lt;li&gt;Delete ‘com.carbonite.launchd.carbonitealerts.plist’ and ‘com.carbonite.launchd.carbonitestatus.plist’.&lt;/li&gt;
    &lt;li&gt;Go back to the /Library folder, and to into LaunchDaemons.&lt;/li&gt;
    &lt;li&gt;Move ‘com.carbonite.launchd.carbonitedaemon.plist’ to the trash.&lt;/li&gt;
    &lt;li&gt;Go back to the /Library folder, and to into PreferencePanes.&lt;/li&gt;
    &lt;li&gt;Move ‘Carbonite.prefPane’ to the Trash.&lt;/li&gt;
    &lt;li&gt;Restart your computer again.&lt;/li&gt;
    &lt;li&gt;Empty your trash.&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="margin-left: 40px;"&gt;You can reinstall Carbonite by logging into your Carbonite account and clicking the ‘Reinstall’ button. Reinstalling Carbonite will not affect your previously backed up data. It will resume your backup from where it last left off.&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Blogs/tabid/55/EntryId/51/How-to-Manually-Reinstall-Carbonite-to-Solve-High-CPU-Usage-Problem.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Blogs/tabid/55/EntryId/51/How-to-Manually-Reinstall-Carbonite-to-Solve-High-CPU-Usage-Problem.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Blogs/tabid/55/EntryId/51/How-to-Manually-Reinstall-Carbonite-to-Solve-High-CPU-Usage-Problem.aspx</guid>
      <pubDate>Sat, 25 Jun 2011 18:30:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=51</trackback:ping>
    </item>
    <item>
      <title>High CPU Usage When Carbonite Tries to Backup Running Apps</title>
      <link>http://larrydaniele.com/Blogs/tabid/55/EntryId/50/High-CPU-Usage-When-Carbonite-Tries-to-Backup-Running-Apps.aspx</link>
      <description>&lt;p&gt;I spent a few hours on the phone with &lt;a target="_blank" href="http://www.Carbonite.com/"&gt;Carbonite&lt;/a&gt; tech support to find out why my CPU usage is constantly hovering around 80% (attributed primarily to process name "CarboniteDaemon") and why the Carbonite backup program itself never reached an idle state.&lt;/p&gt;
&lt;p&gt;We tried installing the latest version for the Mac (currently 1.1.4) but that didn't help. There is a Carbonite log file at "/Library/Application Support/Carbonite/Data/Carbonite.log" but that didn't reveal the problem. Then we tried the following command:&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;sudo fs_usage | grep "CarboniteDae" &gt;/CarboniteOutput.txt&lt;/p&gt;
&lt;p&gt;Note: Since fs_usage will keep generating output, you'll need to press Ctrl+C to stop logging to the file after a minute (or less).&lt;/p&gt;
&lt;p&gt;Opening the resulting CarboniteOutput.txt file in the root folder show that lots of apps were being checked for backup. &lt;strong&gt;The high CPU usage problem stems from trying to backup running applications. &lt;/strong&gt;The solution is to go to the Carbonite pane in System Preferences, select Backup and make sure that any folder that might contain a running app (e.g. "Applications", "devtools", etc.) is set to "Will not be backed up" (indicated with a red dot) next to the folder or file.&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Blogs/tabid/55/EntryId/50/High-CPU-Usage-When-Carbonite-Tries-to-Backup-Running-Apps.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Blogs/tabid/55/EntryId/50/High-CPU-Usage-When-Carbonite-Tries-to-Backup-Running-Apps.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Blogs/tabid/55/EntryId/50/High-CPU-Usage-When-Carbonite-Tries-to-Backup-Running-Apps.aspx</guid>
      <pubDate>Mon, 31 Jan 2011 22:23:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=50</trackback:ping>
    </item>
    <item>
      <title>Apple fan's faith put to the test (Q&amp;A)</title>
      <link>http://larrydaniele.com/Blogs/tabid/55/EntryId/49/Apple-fans-faith-put-to-the-test-Q-A.aspx</link>
      <description>&lt;p&gt;I thought the article &lt;a href="http://news.cnet.com/8301-13579_3-20029948-37.html" target="_blank"&gt;Apple fan's faith put to the test&lt;/a&gt; on CNET.com was thought-provoking (esp. now that I've become a Mac fanboy). It seems that whenever we peek behind the curtain, things get complicated. I like Mike Daisey's spirit. Face a problem head on and work to fix it (instead of ignoring it or simply giving up).&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Blogs/tabid/55/EntryId/49/Apple-fans-faith-put-to-the-test-Q-A.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Blogs/tabid/55/EntryId/49/Apple-fans-faith-put-to-the-test-Q-A.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Blogs/tabid/55/EntryId/49/Apple-fans-faith-put-to-the-test-Q-A.aspx</guid>
      <pubDate>Mon, 31 Jan 2011 13:55:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=49</trackback:ping>
    </item>
    <item>
      <title>Cross-Platform Video on a DotNetNuke Site? Just Use YouTube</title>
      <link>http://larrydaniele.com/Blogs/tabid/55/EntryId/48/Cross-Platform-Video-on-a-DotNetNuke-Site-Just-Use-YouTube.aspx</link>
      <description>&lt;p&gt;Once again I looked into robust, cross-platform video support for a client site. And once again, I cringed at how fragmented browser video support is. For example, it appears that the only format officially supported by both Windows Media Player and Apple QuickTime is the old .AVI format. Really? Really!&lt;/p&gt;
&lt;p&gt;So what's a web developer to do? Have your client upload the video to &lt;a href="http://YouTube.com/"&gt;YouTube&lt;/a&gt; and then put an embedded player on your site. (YouTube will generate the code snippet for you). Done.&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Blogs/tabid/55/EntryId/48/Cross-Platform-Video-on-a-DotNetNuke-Site-Just-Use-YouTube.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Blogs/tabid/55/EntryId/48/Cross-Platform-Video-on-a-DotNetNuke-Site-Just-Use-YouTube.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Blogs/tabid/55/EntryId/48/Cross-Platform-Video-on-a-DotNetNuke-Site-Just-Use-YouTube.aspx</guid>
      <pubDate>Mon, 17 Jan 2011 20:20:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=48</trackback:ping>
    </item>
    <item>
      <title>Fixing incorrect Login page setting in DotNetNuke 5</title>
      <link>http://larrydaniele.com/Home/tabid/36/EntryId/47/Fixing-incorrect-Login-page-setting-in-DotNetNuke-5.aspx</link>
      <description>&lt;p&gt;Recently, one of my clients was snooping around Admin &gt; Site Settings &gt; Advanced Settings &gt; Page Management and accidentally Login Page to the Home page. Needless to say, this caused a lot of grief. Not only could he not log in, he couldn't change the setting back since he couldn't log in!&lt;/p&gt;
&lt;p&gt;Unfortunately, many of the documented solutions to this problem such as &lt;a href="http://www.willstrohl.com/Blog/EntryId/118/HOW-TO-Access-the-DNN-Login-Page-from-Any-Page" target="_blank"&gt;HOW TO : Access the DNN Login Page from Any Page&lt;/a&gt; don't work with DotNetNuke 5 since they added Localization. This is because the LoginTabId column moved from the Portals table to the PortalLocalization table (so it can be localized).&lt;/p&gt;
&lt;p&gt;Therefore, to reset the Login page to the default setting, log into the database manager for your website and run a query of the form:&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;Update PortalLocalization Set LoginTabId=null Where PortalId=xx&lt;/p&gt;
&lt;p&gt;where "xx" is the PortalId (usually "00"). So, for example:&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;Update PortalLocalization Set LoginTabId=null Where PortalId=00&lt;/p&gt;
&lt;p&gt; Thanks to &lt;a href="http://www.dnncreative.com/Forum/tabid/88/forumid/12/postid/8/view/topic/Default.aspx"&gt;Taz Wilks&lt;/a&gt; for the heads up on this!&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Home/tabid/36/EntryId/47/Fixing-incorrect-Login-page-setting-in-DotNetNuke-5.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Home/tabid/36/EntryId/47/Fixing-incorrect-Login-page-setting-in-DotNetNuke-5.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Home/tabid/36/EntryId/47/Fixing-incorrect-Login-page-setting-in-DotNetNuke-5.aspx</guid>
      <pubDate>Tue, 14 Dec 2010 01:25:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=47</trackback:ping>
    </item>
    <item>
      <title>Libby's a Double Award Winner!</title>
      <link>http://larrydaniele.com/Home/tabid/36/EntryId/46/Libbys-a-Double-Award-Winner.aspx</link>
      <description>&lt;p style="float: left; margin-right: 1em;"&gt;&lt;img height="307" alt="Libby receives award" src="/Portals/0/Images/Libby receives award.png" /&gt;&lt;/p&gt;
&lt;p&gt;Yesterday at the Frontier High School awards ceremony, Libby garnered not one, but TWO awards. The first is the &lt;a href="http://www.osfa.mass.edu/default.asp?page=adamsScholarship" target="_blank"&gt;John and Abigail Adams Scholarship&lt;/a&gt; which gets her free tuition at any Massachusetts state school including UMass (where her sister Sarah graduated from). Libby also received a National Merit Award for academic acheivement. Principal Marti Barrett made a special point to say how glad she was to see Libby since she is completing her senior year through dual enrollment at &lt;a href="http://www.gcc.mass.edu/"&gt;Greenfield Community College&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Way to go, Libby!&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Home/tabid/36/EntryId/46/Libbys-a-Double-Award-Winner.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Home/tabid/36/EntryId/46/Libbys-a-Double-Award-Winner.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Home/tabid/36/EntryId/46/Libbys-a-Double-Award-Winner.aspx</guid>
      <pubDate>Sat, 20 Nov 2010 11:35:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=46</trackback:ping>
    </item>
    <item>
      <title>Mac Mail "The POP server ... rejected the password for user ..." mystery solved</title>
      <link>http://larrydaniele.com/Home/tabid/36/EntryId/45/Mac-Mail-The-POP-server-rejected-the-password-for-user-mystery-solved.aspx</link>
      <description>&lt;p&gt;I've noticed that since I've started using my new iPhone to check my email, sometimes Mac Mail on my iMac desktop computer will report a message like this:&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;The POP server "mail.CompanionSoftware.com" rejected the password for user "Username@CompanionSoftware.com"&lt;/p&gt;
&lt;p&gt;and I'm asked to enter my password again and again and again. Very annoying!&lt;/p&gt;
&lt;p&gt;This error has &lt;em&gt;nothing&lt;/em&gt; to do with my password (which is saved properly on the Mac Keychain). Instead the problem is with my free mail server software (&lt;a href="http://www.mailenable.com/standard_edition.asp"&gt;MailEnable Standard Edition&lt;/a&gt;).&lt;/p&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Home/tabid/36/EntryId/45/Mac-Mail-The-POP-server-rejected-the-password-for-user-mystery-solved.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Home/tabid/36/EntryId/45/Mac-Mail-The-POP-server-rejected-the-password-for-user-mystery-solved.aspx</guid>
      <pubDate>Tue, 19 Oct 2010 21:21:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=45</trackback:ping>
    </item>
    <item>
      <title>Joe stars as Mercutio (Romeo's best friend) in Romeo and Juliet</title>
      <link>http://larrydaniele.com/Home/tabid/36/EntryId/44/Joe-stars-as-Mercutio-Romeos-best-friend-in-Romeo-and-Juliet.aspx</link>
      <description>&lt;div&gt;
&lt;div&gt;Today Libby, Grandma Millie and I went to see Joe play Mercutio (Romeo's best friend) in the Frontier Regional High School production of Romeo and Juliet. Joe was AWESOME - a natural talent with great stage presence. The cast was wonderful and the production was a tasty blend of contemporary music, Shakespearian prose and rhyme with an occasional dance number. Truly entertaining!&lt;/div&gt;
&lt;div style="text-align: center; "&gt;&lt;a href="http://http://www.larrydaniele.comlarrydaniele.com/Photos/tabid/108/AlbumID/470-63/Default.aspx"&gt;&lt;img alt="Joe as Mercutio" width="300" height="201" src="/Portals/0/Gallery/Album/63/DSC_0027.JPG" /&gt;&lt;/a&gt; &lt;/div&gt;
&lt;div&gt;Here are some more &lt;a href="http://www.larrydaniele.comlarrydaniele.com/Photos/tabid/108/AlbumID/470-63/Default.aspx"&gt;photos of Joe as Mercutio&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Home/tabid/36/EntryId/44/Joe-stars-as-Mercutio-Romeos-best-friend-in-Romeo-and-Juliet.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Home/tabid/36/EntryId/44/Joe-stars-as-Mercutio-Romeos-best-friend-in-Romeo-and-Juliet.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Home/tabid/36/EntryId/44/Joe-stars-as-Mercutio-Romeos-best-friend-in-Romeo-and-Juliet.aspx</guid>
      <pubDate>Sun, 07 Feb 2010 02:41:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=44</trackback:ping>
    </item>
    <item>
      <title>Stupid DotNetNuke Trick #1: Customizing Search field with disappearing "Search" text</title>
      <link>http://larrydaniele.com/Blogs/tabid/55/EntryId/43/Stupid-DotNetNuke-Trick-1-Customizing-Search-field-with-disappearing-Search-text.aspx</link>
      <description>&lt;p&gt; I am building another DotNetNuke website with the wonderful &lt;a target="_blank" href="http://www.drnuke.co.uk/Products/Flex2/tabid/3363/language/en-US/Default.aspx"&gt;Flex2 skin&lt;/a&gt;. My client asked that the Search field have some sort of label to make it more clear what the function was. I wanted to to do what the "cool kids" do: put the text "Search" in the field when it is "empty" and then automagically remove the text when the user clicks in the box.&lt;/p&gt;
&lt;p&gt;Since this is a DNN 5 site that has jQuery support built in, I could use a slightly modified version of this &lt;a target="_blank" href="http://www.reindel.com/five_javascript_tricks_jquery/"&gt;simple jQuery code from Brian Reindel&lt;/a&gt; (that I tucked into the skin's drnuke-height.js file that is already loaded by the skin):&lt;/p&gt;
&lt;pre style="margin-left:3em;"&gt;
/*
   Doctor the DNN Search field to display the word "Search" when it's "empty"
   and remove this text when the user clicks in the field.
    
   jQuery code compliments of 5 JavaScript Tricks Made Easy with jQuery
   jQuery JavaScript Samples by Brian Reindel
   http://www.reindel.com/five_javascript_tricks_jquery/
*/
$(function() {
    swapValues = [];
    $("#dnn_dnnSEARCH_txtSearch").each(function(i){
        $(this).val("Search");
        swapValues[i] = $(this).val();
        $(this).focus(function(){
            if ($(this).val() == swapValues[i]) {
                $(this).val("");
            }
        }).blur(function(){
            if ($.trim($(this).val()) == "") {
                $(this).val(swapValues[i]);
            }
        });
    });
});
&lt;/pre&gt;
&lt;p&gt; Thanks Brian!&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Blogs/tabid/55/EntryId/43/Stupid-DotNetNuke-Trick-1-Customizing-Search-field-with-disappearing-Search-text.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Blogs/tabid/55/EntryId/43/Stupid-DotNetNuke-Trick-1-Customizing-Search-field-with-disappearing-Search-text.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Blogs/tabid/55/EntryId/43/Stupid-DotNetNuke-Trick-1-Customizing-Search-field-with-disappearing-Search-text.aspx</guid>
      <pubDate>Fri, 05 Feb 2010 03:06:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=43</trackback:ping>
    </item>
    <item>
      <title>Lessons Learned Code Signing a Visual Studio 2008 .MSI Setup Project</title>
      <link>http://larrydaniele.com/Blogs/tabid/55/EntryId/42/Lessons-Learned-Code-Signing-a-Visual-Studio-2008-MSI-Setup-Project.aspx</link>
      <description>&lt;p&gt;I thought my mission was an easy one:&lt;/p&gt;
&lt;p style="margin-left: 40px"&gt;Code sign an existing MFC application (Metafile Companion) setup installer&lt;/p&gt;
&lt;p&gt;I should have known better. :-) I was successful and it really isn't that hard once you find out what to do. But there's the rub - the web is full of options that end up being dead ends. Below are some of the lessons I learned.&lt;/p&gt;
&lt;p class="Lesson"&gt;Lesson 1: You really can pay $99 for a one-year signing certificate from &lt;a target="_blank" href="http://ksoftware.net/index.html"&gt;K Software&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There are other more expensive Certificate Authorities (e.g. VeriSign and Comodo) that charge more than this. But the K Software certificate (issued by Comodo) seems to work just fine. I would recommend using either Firefox or Internet Explorer to place your order and later downloading your certificate so it is added "automagically" to the system certificate store. Also, follow their &lt;a target="_blank" href="http://blog.ksoftware.net/2009/10/exporting-your-code-signing-certificate-to-a-pfx-file/"&gt;export instructions&lt;/a&gt; so you have a backup of your certificate.&lt;/p&gt;
&lt;p class="Lesson"&gt;Lesson 2: To see what certificates are on your system, run "certmgr.msc". &lt;/p&gt;
&lt;p&gt;This is how you can be assured that your certificate was properly stored on your system.&lt;/p&gt;
&lt;p class="Lesson"&gt;Lesson 3: The MSDN article "&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/che5h906.aspx"&gt;How to: Sign Application and Deployment Manifests&lt;/a&gt;" doesn't apply to older MFC / VC++ projects.&lt;/p&gt;
&lt;p&gt;While this might work for newer C# projects, for my older MFC / VC++ application in Visual Studio 2008, it doesn't. So don't try to hard to find options that aren't there.&lt;/p&gt;
&lt;p class="Lesson"&gt;Lesson 4: The &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/9sh96ycy(VS.80).aspx"&gt;SignCode&lt;/a&gt; utility is "obsolete"; use &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/8s9b9yaz(VS.80).aspx"&gt;SignTool&lt;/a&gt; instead.&lt;/p&gt;
&lt;p&gt;SignCode has a nice wizard mode, but it doesn't show you a corresponding command line for the options you choose. SignTool is command line only, but is the current tool.&lt;/p&gt;
&lt;p class="Lesson"&gt;Lesson 5: Add a call to &lt;a href="http://msdn.microsoft.com/en-us/library/8s9b9yaz(VS.80).aspx"&gt;SignTool&lt;/a&gt; as the PostBuildEvent property for the Setup project.&lt;/p&gt;
&lt;p&gt;Once you figure out all the options you need, adding the event is easy. Here's what I used for my project:&lt;/p&gt;
&lt;p style="margin-left: 40px"&gt;signtool sign /a /v /d "Metafile Companion" /du http://www.CompanionSoftware.com/ /t http://timestamp.comodoca.com/authenticode "$(BuiltOuputPath)"&lt;/p&gt;
&lt;p&gt;You can read the documentation for what the various options are. One time-saving thing is the "/a" option which automatically uses the "best" signing certificate it finds in the store. If you only have one, there this works like a charm. A while back, I had added a "self-signed" certificate to play with. I had to remove this (using CertMgr.msc) to get my purchased certificate to be the "best" one.&lt;/p&gt;
&lt;p&gt;I hope these lessons help anyone else that might be trying to do something similar!&lt;/p&gt;&lt;br /&gt;&lt;a href=http://larrydaniele.com/Blogs/tabid/55/EntryId/42/Lessons-Learned-Code-Signing-a-Visual-Studio-2008-MSI-Setup-Project.aspx&gt;More ...&lt;/a&gt;</description>
      <author />
      <comments>http://larrydaniele.com/Blogs/tabid/55/EntryId/42/Lessons-Learned-Code-Signing-a-Visual-Studio-2008-MSI-Setup-Project.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://larrydaniele.com/Blogs/tabid/55/EntryId/42/Lessons-Learned-Code-Signing-a-Visual-Studio-2008-MSI-Setup-Project.aspx</guid>
      <pubDate>Sat, 23 Jan 2010 01:59:00 GMT</pubDate>
      <trackback:ping>http://www.larrydaniele.comDesktopModules/BlogTrackback.aspx?id=42</trackback:ping>
    </item>
  </channel>
</rss>
