Solved

C#.Net - How Do I change Setup and Deployment Project Settings?

Posted on 2010-08-30
14
1,135 Views
Last Modified: 2013-12-17
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.


0
Comment
Question by:rangers99
  • 4
  • 3
  • 2
  • +3
14 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 25 total points
ID: 33557619
to change the text on the wizard dialog box change the ProductName property of the Setup project
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33557623
Hi,

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
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 33557627
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.
DetectNewerInstalledVersion - 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/
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 33557629
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.
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33557667
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
0
 
LVL 3

Expert Comment

by:WiB
ID: 33557723
in the project properties, what is your "ProductName" value?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:rangers99
ID: 33557941
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
0
 
LVL 9

Expert Comment

by:puru1981
ID: 33558426
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
0
 

Author Comment

by:rangers99
ID: 33558488
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.
0
 
LVL 9

Assisted Solution

by:puru1981
puru1981 earned 40 total points
ID: 33558741
clock on the setup project in Solution Explorer and the click on the properties window icon as shown.

version.png
0
 
LVL 16

Assisted Solution

by:Vikram Singh Saini
Vikram Singh Saini earned 60 total points
ID: 33564173
Hi,

Follow the steps as mentioned in Snapshot.

Regards,
VSS

Check.bmp
0
 

Author Comment

by:rangers99
ID: 33588158
I dont understand why I cant accept solutions and award points
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33588406
Report same in General Community Support.

Regards,
VSS
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
detecting  the added row index in a datagridview 3 59
Icons and Colors for Terms 3 24
DataGridView Events ? 3 37
Run time Error 4 34
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now