How do I get the version number of the Setup project?

  • Thread starter Thread starter Mark B
  • Start date Start date
Status
Not open for further replies.
M

Mark B

VSTO, OL2007, C#, VS2008.

The following code gets the version number of an Addin project for display

on a custom Help, About form.

lblVersionNo.Text =

Globals.ThisAddIn.GetType().Assembly.GetName().Version.ToString();

However, I need rather the version number of the Setup project (named

"MySetupProject") within the solution since that version number is the one

that is displayed under Control Panel, Add/Remove Programs.

Does anyone know what changes to the above code I would need to do in order

to get the setup project's value?

TIA
 
You really should post this sort of question in a VS group, this has nothing

to do with Outlook programming.

You usually set the setup project to have the same versioning as your addin,

so what shows up in Add/Remove, etc. does match your addin version. Then you

can do proper installation updating.

"Mark B" <none123@none.com> wrote in message

news:ukwOL4%23jKHA.1264@TK2MSFTNGP04.phx.gbl...
> VSTO, OL2007, C#, VS2008.

> The following code gets the version number of an Addin project for display
> on a custom Help, About form.

> lblVersionNo.Text =
> Globals.ThisAddIn.GetType().Assembly.GetName().Version.ToString();

> However, I need rather the version number of the Setup project (named
> "MySetupProject") within the solution since that version number is the one
> that is displayed under Control Panel, Add/Remove Programs.

> Does anyone know what changes to the above code I would need to do in
> order to get the setup project's value?

> TIA

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
G Reply a selected message and remove blank space before signature Outlook 365 version 2406 64BIT Outlook VBA and Custom Forms 2
G Reply a selected message and remove blank space before signature Outlook 365 version 2406 64BIT Outlook VBA and Custom Forms 0
J Hotmail drafts started on desktop disappear, but show in web version of Outlook Using Outlook 4
Z New minimum Outlook for Windows version requirements for Microsoft 365/Exchange Online Using Outlook.com accounts in Outlook 27
J Outlook EAS protocol version Using Outlook 1
cheapfaremart Which outlook version is best? Using Outlook 0
A "Get Add-Ins" - Which Version of Outlook to use Using Outlook 1
M White square in body of Outlook Messages (O2016 Version 2012 32bit Click To Run) Using Outlook 4
S Is there a free version of outlook? Using Outlook 0
A Backup Email Accounts On OutLook For Mac 2016 (Microsoft 365 subscription version) Using Outlook 0
M Convert Subject Line to Internet Header version of Subject Outlook VBA and Custom Forms 10
A Sending contact vcards sends older version instead of updated version Using Outlook 4
M Desktop Version Of Outlook Generating Error Using Outlook 4
Dr. Demento Outlook version of Excel command? Using Outlook 5
Diane Poremsky Outlook for Mac Version Numbers Using Outlook 0
E Want to Import Outlook 2003 pst files to later version Using Outlook 6
M file attachments is not shown in outlook version Using Outlook 2
G Address names auto complete not working - Outlook 2007 version Using Outlook 1
C New version of MFCMAPI program Using Outlook 0
B Outlook Version Outlook VBA and Custom Forms 1
B Where is RTM version of BCM 2010? BCM (Business Contact Manager) 2
J 64-bit version of Redemption? Outlook VBA and Custom Forms 2
S Which version to buy for Enterprise 2007? BCM (Business Contact Manager) 1
N How to know the version of outlook version Outlook VBA and Custom Forms 1
C Version error BCM (Business Contact Manager) 2
H is version 3 of bcm backward compatible to version 2 of bcm BCM (Business Contact Manager) 4
J prevent user from installing wrong version of add-in Outlook VBA and Custom Forms 2
J Action based on number of emails after sort by from Using Outlook 3
O Add Day Number of the year for 2023-2033 Outlook VBA and Custom Forms 5
W The number one raw material applied in producing the duvet, is clean and slight to your pores Using Outlook 0
T Increasing the number of items that appear on the Categories list Using Outlook 2
TomHuckstep Outlook 2016 Limit the number of days syncing from Google Calendar Using Outlook 1
F How to create phone number as links in notes of Contacts Using Outlook 2
I Outlook 2016 Outlook Requesting Phone Number??? Using Outlook 1
C Calculating Week Number into a TextBox Outlook VBA and Custom Forms 0
J VBA Outlook : Subject line : Cut and Paste name to heading , number to very end of the body of Email Outlook VBA and Custom Forms 1
O How to display number of items per .pst file Using Outlook 7
S Show Total Number Of Items Not Displaying Using Outlook 9
I Identify Number of email messages opened Outlook VBA and Custom Forms 7
J Saving attachments from specific sender (phone number) to specific folder on hard drive Using Outlook 3
J How to Fix “Encounter a large number of conflict items in Exchange OST file” Using Outlook 2
S Subject add ticket number from URL query Outlook VBA and Custom Forms 2
Diane Poremsky Add a file number or keyword to the subject line of messages Using Outlook 0
K Append subjectline based on number Using Outlook 4
B ...administrator has limited the number of items you can open simultaneously Outlook VBA and Custom Forms 7
snhnic Macro that does not overwrite but add a number Outlook VBA and Custom Forms 1
L Outlook 2007 Fix Phone Number Using Outlook 19
A Calendar List View Showing Week Number Using Outlook 1
neobite Maximum number of Exchange accounts in an Outlook profile Using Outlook 4
P Country name no longer shows in Phone number popup? Using Outlook 5

Similar threads

Back
Top