rangers99
asked on
C#.Net - How Do I change Setup and Deployment Project Settings?
Dudes
Im developing a Windows application in Visual Studio 2008 and C#.NET.
Ive added a Setup and Deployment project to my solution so the user can easily install the software.
However now I want to change some of the text in the setup dialog boxes. eg. The first dialog box gives some info. eg
"Welcome to the RubbishSoftware Version 2.5 Setup Wizard"
But how do I change this. eg. Im just wanting to change version number
"Welcome to the RubbishSoftware Version 3.0 Setup Wizard"
Ive tried to change all the settings I can find but don't know how to do this.
Im developing a Windows application in Visual Studio 2008 and C#.NET.
Ive added a Setup and Deployment project to my solution so the user can easily install the software.
However now I want to change some of the text in the setup dialog boxes. eg. The first dialog box gives some info. eg
"Welcome to the RubbishSoftware Version 2.5 Setup Wizard"
But how do I change this. eg. Im just wanting to change version number
"Welcome to the RubbishSoftware Version 3.0 Setup Wizard"
Ive tried to change all the settings I can find but don't know how to do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can customize the setup project properties. To access the project properties grid, click on Setup1 project in the 'Solution Explorer' window:
Here are the properties and a short explanation of what they do:
AddRemoveProgramsIcon - Specifies an icon to be diplayed in the Add/Remove Programs dialog.
Author - Specifies the name of the author of an application or component.
Description - Specifies a free-form description for an installer.
DetectNewerInstalledVersio n - Specifies whether to check for newer versions of an application on the user's computer.
InstallAllUsers - Specifies whether the package is installed for all users or only the current user.
Keywords - Specifies keywords used to search for an installer.
Localization - Specifies the locale for string resources and the run-time user interface.
Manufacturer - Specifies the name of the manufacturer of an application or component.
ManufacturerUrl - Specifies a URL for a Web site containing information about the manufacturer of an application or component.
PostBuildEvent - Specifies any commands to execute after the build ends.
PreBuildEvent - Specifies any commands to execute before the build starts.
ProductCode - Specifies a unique identifier for an application.
ProductName - Specifies a public name that describes an application or component.
RemovePreviousVersions - Specifies whether an installer will remove previous versions of an application or component.
RunPostBuildEvent - Specifies the condition under which the post-build event runs.
SearchPath - Specifies the path that is used to search for assemblies, files or merge modules on the development computer.
Subject - Specifies additional information describing an application or component.
SupportPhone - Specifies a phone number for support information for an application or component.
SupportUrl - Specifies a URL for a Web site containing support information for an application or component.
TargetPlatform - Specifies the target platform of the installer.
Title - Specifies the title of an installer.
UpgradeCode - Specifies a shared identifier that represents multiple versions of an application or component.
Version - Specifies the version number of an installer, merge module, or .cab file.
Source: http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/
Here are the properties and a short explanation of what they do:
AddRemoveProgramsIcon - Specifies an icon to be diplayed in the Add/Remove Programs dialog.
Author - Specifies the name of the author of an application or component.
Description - Specifies a free-form description for an installer.
DetectNewerInstalledVersio
InstallAllUsers - Specifies whether the package is installed for all users or only the current user.
Keywords - Specifies keywords used to search for an installer.
Localization - Specifies the locale for string resources and the run-time user interface.
Manufacturer - Specifies the name of the manufacturer of an application or component.
ManufacturerUrl - Specifies a URL for a Web site containing information about the manufacturer of an application or component.
PostBuildEvent - Specifies any commands to execute after the build ends.
PreBuildEvent - Specifies any commands to execute before the build starts.
ProductCode - Specifies a unique identifier for an application.
ProductName - Specifies a public name that describes an application or component.
RemovePreviousVersions - Specifies whether an installer will remove previous versions of an application or component.
RunPostBuildEvent - Specifies the condition under which the post-build event runs.
SearchPath - Specifies the path that is used to search for assemblies, files or merge modules on the development computer.
Subject - Specifies additional information describing an application or component.
SupportPhone - Specifies a phone number for support information for an application or component.
SupportUrl - Specifies a URL for a Web site containing support information for an application or component.
TargetPlatform - Specifies the target platform of the installer.
Title - Specifies the title of an installer.
UpgradeCode - Specifies a shared identifier that represents multiple versions of an application or component.
Version - Specifies the version number of an installer, merge module, or .cab file.
Source: http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/
you can automate this behaviour.you can create a script which detect the Version property you set each time you build the setup project.this script will run as PreBuildEvent and will modify the ProductName of the package.
Hi,
I am sorry for wrong information. sedgwick is right.
(1) Right click on Setup --> Properties-->Product Name.
(2) Set it as RubbishSoftware Version 3.0
Regards,
VSS
I am sorry for wrong information. sedgwick is right.
(1) Right click on Setup --> Properties-->Product Name.
(2) Set it as RubbishSoftware Version 3.0
Regards,
VSS
in the project properties, what is your "ProductName" value?
ASKER
Hello
Im trying to find ProductName as suggested.
When I do
Right click on Setup --> Properties
the PropertyPages dialogue box appears (see below). Howver there is no sign of the ProductName
Any idea how I change this field?
propertypages.png
Im trying to find ProductName as suggested.
When I do
Right click on Setup --> Properties
the PropertyPages dialogue box appears (see below). Howver there is no sign of the ProductName
Any idea how I change this field?
propertypages.png
not on this window you will find this when you click on the solution and the properties window opens as for normal webforms or winforms..
version.png
version.png
ASKER
puru
Can you explain precisely how I get this properties window (on right side of screenshot) to display?
I cant find it and Ive tried everything.
Can you explain precisely how I get this properties window (on right side of screenshot) to display?
I cant find it and Ive tried everything.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I dont understand why I cant accept solutions and award points
Report same in General Community Support.
Regards,
VSS
Regards,
VSS
STEPS:
(1) Right click your setup project --> View --> User Interface.
(2) See Welcome dialogbox under Install -->Start.
(3) Right click Welcome dialogbox-->Properties window.
(4) Set WelcomeText in properties window as "Welcome to the RubbishSoftware Version 3.0 Setup Wizard".
(5) Rebuild your setup and test it.
Regards,
VSS