December 11, 2009

New to Blogspot!.. Some Cool Tips to create a blog

Tips to setup your first blog on blogspot.com:

  1. Sign into blogspot.com with your Google Account, if not create a Google account for yourself and proceed.
  2. Create a blog id (like http://installjournal.blogspot.com/). You can create any number of blogs with Google account and can make them public (which can be searched by search engines) or private.
  3. Choose appropriate blog template and all set for blogging. Any time you can change the blog template to change the look and feel of your website. Further there are plenty of blog templates available for free on the web.
    [Note: Please make sure to take a backup of the existing template before changing to a new one.]
  4. How does your blog reader contact you? Sharing the email directly might lead to lots of spam’s too and not a general practice either. Go for Contact Forms. - there are plenty of them readily available and added to your blog in no time.
    I have used www.kontactr.com and its very simple. Here you go to integrate it with your blog.
    • Register with Kontactr
    • Copy the Script say something like this, but ID might be different for your registration
      <script type="text/javascript"> id = ID; </script>
      <script type="text/javascript" src="http://kontactr.com/wp.js"></script>

    • Modify Post options by using some old date for the Contact Form post, disable / hide comments & Back links.
    • Publish it. Your Contact Form is ready.
  5. FeedBurner - FeedBurner makes it easy to receive content updates in My Yahoo!, Newsgator, Bloglines, and other news readers.
    Register your blog with FeedBurner and add your feed address (say http://feeds.feedburner.com/installjournal) in your blog. Once this is set, Subscribe To in your blog can take the reader to the feed burner URL.
  6. Google Analytics -Register with Google Analytics using your Google account and add the code provided to your template just before the tag. Google analytics will help you to monitor the traffic over your website or blog even to individual page level, time spent on each site etc.,
    The code would look similar to this, where you would need to replace XXXX-X with you Analytics ID / No.
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : http://www/);
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try{
          var pageTracker = _gat._getTracker("UA-XXXX-X");
          pageTracker._trackPageview();
    } catch(err) {}
    </script>

  7. Google Adsense - Google AdSense is the program that can give you advertising revenue from each page on your website—with a minimal investment in time and no additional resources. If you feel you have enough web pages with good number of readers, Of course you register and start with Google Adsense.
  8. Wondering about losing your articles / data that you have published? No Worries! Google does regular backup.
    It’s better to save your template xml, which you might overwrite sometime and would end up losing all the configurations, that you have done in all the previous steps.
Thank you Vijay for your inputs. Hence forth, you can refer this article instead of explaining for the newbie's.

December 9, 2009

Directory structure design for Installers, which facilitates future updates

This post provides a folder structure design, which can be used while creating the installer for the first release or base version of a particular product. This helps to maintain the installer project files, support files for the installer, merge modules (if any), product staging area etc., The format should work with any Installer authoring tool like InstallShield, Wise, WiX or InstallAware. The following image depicts the directory structure design.



Note:    The above folder structure is designed to isolate dependency on the Packagage authoring tool's installation directory but however for InstallShield, the Setup-Prerequisites should still be under <InstallShield InstallDir>\SetupPrerequisites.             

InstallerProject
    Installer project file (say .ism for InstallShield) and associated folder
    Example:
        PRODv10.ism & PRODv10
        PRODv10SP1.ism & PRODv10SP1
        PRODv10SP1HF1.ism & PRODv10SP1HF1
Docs
    Installer design and related documents.
PatchDesign
This folder will be used only when you are working on upgrade as a Patch and not for Service Packs. This has the uncompressed msi file related to the minor upgrade and product files / folders.
             BasePRODv1.0 –base version
             Latest(PRODv1.0HFyy) – for any subsequent Hotfixes.
StagingArea
This folder will have the files resources / files to be bundled with the installer. The same folder can be used for the StagingArea all successive updates (as patches) or service packs
  • <PRODv1.0> - base version
    • SupportDir – files used at the time of installation say dialog images, splash screen, billboards, Custom actions etc.,
    • msm – In-house as well as 3rd party merge modules used by the installer
    • <PRODv1.0DeploymentStructure> - product binaries in the deployment structure. It is always recommended to have the product staging area similar to the deployment structure, which will help during maintenance.
  • <PRODv1.0SPxxHFyy >
    Similar to base version structure and this contains the updated files / folders for the respective Service pack or Hotfix. So the actual folder name can be PRODv1.0SP02 or PRODv1.0SP02HF03 based on the release what you are working on.
    • SupportDir
    • msm
    • <PRODv1.0SPxxHFyyDeploymentStructure>

December 8, 2009

Some Packaging & Deployment Definitions / Acronyms

Definitions:
Setup - Setup is an application or process that allows you to package up your application into an easy-to-deploy format, which can then be used to install the application on the target server.

Deployment - Deployment is the process of taking the application and installing it in on another machine, usually by the use of a setup application.

Installation - Installation of a program is an act of putting an application into the computer system where it can be executed. Click here for more installer related jargons.

Bootstrapper (from Wikipedia) - Bootstrapper is usually a small executable file (e.g. setup.exe) which updates the installer and starts the real installation after the update. Sometimes the bootstrapper installs other prerequisites for the software during the bootstrapping process too.

Acronyms:
MSI - Windows Installer (formerly Microsoft Installer)
MSM - Merge Module
CM - Configuration Management
SCM - Software Configurtion Management (Source Control Management)
CR - Change Request
CNR - CanNot  Reproduce
SP - Service Pack
HF - Hotfix
RC - Release Candidate
RTM - Release to Manufacture

December 4, 2009

InstallShield Tips

This article has some tips for InstallShield users
Splash Screen Display
For a basic msi project, the splash screen will be displayed only when you create a Setup.exe and not the compressed (or single) msi.

Setup pre-requisites
For a basic msi project, the Setup pre-requisites can be bundled only when you create a Setup.exe and not the compressed (or single) msi.

Abort & Rollback
For Rollback to happen, the abort must happen between the InstallInitialize and InstallFinalize actions, and must be a deferred action.

Hide ARP Entry
Set ARPSYSTEMCOMPONENT=1 in Property Manager.
[Note: Verified this with Basic MSI Project created using InstallShield 2009 (SP2).]

InstallShield project file format
InstallShield supports binary as well as xml format for storing InstallShield project files. The default is binary however the xml format is best for the speed of opening and saving the project file. It also allows you to manipulate the project file using the Windows Installer API. The XML format is best for use with source control systems. It allows you to manipulate the project file using XML Utilities.

Windows 2008 Support
Windows 2008 Server is support only from InstallShield 2009 onwards.
Note: InstallShield 2009 help says that Windows Vista and Windows Server 2008 have the same major and minor version numbers. Therefore, the installation considers Windows Server 2008 to be the same as Windows Vista; thus, components that are marked for Windows Vista are also installed on Windows Server 2008.

December 2, 2009

BangaloreITPros UG Meet - SharePoint 2010 & Windows 7 ACT 5.5 Overview

I had been for BangaloreITPros’ (BITPro) monthly User Group meet over the weekend (Nov 28th 2009). Glad that the 3 hours I spent over there was useful.

There were two sessions - SharePoint 2010 Beta Technical Overview & Windows 7 Application Compatibility Toolkit 5.5 Overview

SharePoint 2010 - by RaviKanth from M/s Dell India Pvt. Ltd.,, spoke about new features and System requirement too

  • Granular backups using central admin sit, helps to recover small units of data.
  • Windows Powershell support
  • Ability to restore from unattached databases.
  • Improved upgrade process
  • To be released in first half of 2010
SharePoint 2010 supports only x64 OS with 64bit SQL Server (2005 or 2008), so the x64 system requirement could be a bad news for those who use SharePoint 2007 and planning to upgrade to 2010.

The Slide Deck for the SharePoint 2010 Technical Overview can be found here and Joel’s blog on SharePoint has lot more for us.

Windows 7 ACT 5.5 Overview – by Vijay Raj from Texas Instrument
Vijay gave an overview of Windows 7 Core OS changes and a detailed explanation of how the Application Compatibility Toolkit (ACT) 5.5 can be used to mitigate the AppCombat issues, like how the compatibility issues can be detected and fixed using ACT either during development or deployment phase, in a corporate environment for supporting new versions of Microsoft Windows Operating System.

The Slide Deck for the same is available here.

Bangalore .Net (BDOTNET) user group has some events in pipeline for the developers.