I know it's perhaps a bit late, but I thought it would be helpful for anyone else who needs to solve this problem.
Visual Studio Setup and Deployment projects do not have a build in option to add a view readme check box to the end screen, however there is a way to do it.
Step1: As answered by @Peter Kelly at this question How do I launch an application after install in a Visual Studio Setup Project
you need to visit http://blogs.msdn.com/astebner/archive/2006/08/12/696833.aspx and grab the jscript file. This script adds a checkbox to the final screen of the installer and allows an exe/script to be run when the finish button is clicked.
Step 2: Create either a script file or as I did a small C/C++ executable that launches the file you want e.g. a text file, chm help file, pdf file (but any file can be opened)
Sample code for C++:
ShellExecute(0,
L"Open",
"FileName",
NULL,
NULL,
SW_MAXIMIZE);
I passed the install location and the file name as arguments to the program by altering the JScript file as shown below...
sql = "INSERT INTO `CustomAction` (`Action`, `Type`, `Source`, `Target`) VALUES ('VSDCA_Launch', '210', '" + fileId + "', '[ProgramFilesFolder][Manufacturer]\\[ProductName] [ProductVersion]\\Documentation\\Readme.chm')";
In order for the exe program to remain unseen I created the program as a Win32 console app and then changed it in the Visual Studio project settings under Linker->System to Windows (/SUBSYSTEM:WINDOWS). (You will need to change int main to WINMAIN).
This now enables a check box on the finish screen, which will launch the file you desire.