Thursday, 17 January 2013

Installshield - Install rolled back when creating Virtual directory

Installation is Rolled-back while creating the VirtualDirectory?

Further exploration revealed that the Installation rollback happens while creating a mapping between the IIS Application and Physical path. There can be two reasons that the installation gets rolled-back while creating a mapping between IIS Application and Physical path.

1. If the web.config is in read only the installation will roll back as it can’t edit the file. But I am not attempting to explictly edit the web.config file while creating the virtual directory.

2. If you are trying to map the website to an empty folder then also it will rollback. A valid point:).. why do you want to create a website without any file?

So please make sure that the web.config file's read-only attribute is removed before bundling the file with the installer.

Note: The contents in this article is verified in InstallShield 2012 SP1 Premier Editions with Basic MSI Project.

Solution found and taken from http://installjournal.blogspot.co.uk/2012/11/installation-is-rolled-back-while.html

Friday, 28 December 2012

Team Foundation Server The path is already mapped in workspace

This problem can occur when trying to change the collection a project is mapped to. Its to do with the TFS cache on the local machine. You can resolve the error by deleting the cache files at:

%APPDATA%\Local\Microsoft\Team Foundation\4.0\Cache

If you are using an older version of team foundation server then change the version number to match.

Monday, 10 December 2012

DevExpress how to validate all tabs

separate each page of controls by Validation Group.

Devexpress, how to validate page from javascript

If you have a button, and want to call devexpress validation before doing anything else this can be achieved with the below javascript on the click event of the button.

Saturday, 8 December 2012

How to get XNA game studio install working on windows 8

http://blogs.msdn.com/b/astebner/archive/2012/02/29/10274694.aspx

Tuesday, 6 November 2012

ASPxComboBox clear selection on delete or backspace

If you are using a DevExpress ASPxComobobox and you want to be able to unselect an item you can use the below code:

Friday, 2 November 2012

How to close the browser window without a prompt

If you want to close the browser window in asp.net with javascript but dont want to prompt the user you can use the below code: