Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Readme file in visual studio web installer?

How can we add readme files in web installers created using visual studio.After installing the product,readme file's path should be shown in control panel.

like image 660
Shipu Avatar asked Nov 03 '22 23:11

Shipu


1 Answers

You can easily add a readme by creating it and putting it in the applications contents by finding the text file within solutions explorer, right clicking and then going to properties.

In the properties change build action to content and I'm assuming you'd want copy if newer selected on copy to output folder

from here simply go into the file system of your Installer project, go to application folder then right click on a blank space in the applications folder panel, add, project output and finally content files

this will put your text file inside the folder where it is installed on your client machine, I'm presuming you've already made the text file, if not simply create one by right clicking your project, add item, general tab and then text file.

EDIT

thankyou for the reply, Rigt click your project, then choose properties and select the application tab you can change all the information by clicking Assembly Information...

EDIT 2

Theres a microsoft application called bizTalk that will do most of it all for you, there's a link with more information here http://msdn.microsoft.com/en-us/library/aa561017.aspx

EDIT 3

The best I can do after a lot of searching is to give you a path that will open a folder for you to place your readme into?

If you want to do that and tinker to see whether this path can be edited, then inside the file system of the installer, right click and press add special folder, then Custom Folder, name it what you like, something like ReadMeFolder? then right click and go to its properties change the DefaultLocation to whatever you like, but give it a property of ARPREADME, from here as soon as you've built and installed it, the folder path for this will be under the "readme" tab in your add and remove programs, there will be a way to change this so that it can target a file, Again I'll do a little more searching to see if i can make it open the file instead of the containing folder

Also have a mess around with making folders properties being ARP.... because the ARP stands for add remove program and its here that you can make the folder to certain things to do with the control panels Add & remove programs.

like image 103
Alex Avatar answered Nov 09 '22 10:11

Alex