prevent user from installing wrong version of add-in

Status
Not open for further replies.
J

Jason

Are there any ways, such as using launch conditions, to stop the

installation when the version of Outlook does not match the version of

add-in?

Both setup.exe and msi can run through regardless the version of Outlook.

MS article "Deploying VSTO 2005 SE Solutions Using Windows Installer" only

talks about VSTO version.
 
VSTO or not, that article gives you all you need. You need to set up a

bootstrapper package condition that checks for Office/Outlook installed at

all and that the correct version is installed.

The article shows an ExternalCheck which calls ComponentCheck.exe with the

component code you want verify. The codes for Outlook 2003 and 2007 are

listed below that.

I use something a little different, I put an <AssemblyCheck> into the

<InstallChecks> node that looks for the Outlook public key token and a

version of "11.0.0.0" for Outlook 2003 or "12.0.0.0" for Outlook 2007. I

also use a <RegistryCheck> on

HKCR\CLSID\{0006F0#A-0000-0000-C000-000000000046}\ProgID, which is only

there if an Outlook PIA is installed.

"Jason" <a@a.com> wrote in message

news:eFQEYIfqJHA.1912@TK2MSFTNGP02.phx.gbl...
> Are there any ways, such as using launch conditions, to stop the
> installation when the version of Outlook does not match the version of
> add-in?

> Both setup.exe and msi can run through regardless the version of Outlook.

> MS article "Deploying VSTO 2005 SE Solutions Using Windows Installer" only
> talks about VSTO version.

>
 
Checking PIA works. It is enough just checking PIA without checking Outlook.

PIA checking will not get through in all 3 possible cases:

1. Office is not installed at all

2. Office is installed but not Outlook

3. Outlook is installed but version does not match PIA

Thanks Ken.
<kenslovak@mvps.org> wrote in message

news:eKMx867qJHA.4436@TK2MSFTNGP04.phx.gbl...
> VSTO or not, that article gives you all you need. You need to set up a
> bootstrapper package condition that checks for Office/Outlook installed at
> all and that the correct version is installed.

> The article shows an ExternalCheck which calls ComponentCheck.exe with the
> component code you want verify. The codes for Outlook 2003 and 2007 are
> listed below that.

> I use something a little different, I put an <AssemblyCheck> into the
> <InstallChecks> node that looks for the Outlook public key token and a
> version of "11.0.0.0" for Outlook 2003 or "12.0.0.0" for Outlook 2007. I
> also use a <RegistryCheck> on
> HKCR\CLSID\{0006F0#A-0000-0000-C000-000000000046}\ProgID, which is only
> there if an Outlook PIA is installed.

> >

>

> "Jason" <a@a.com> wrote in message
> news:eFQEYIfqJHA.1912@TK2MSFTNGP02.phx.gbl...
> > Are there any ways, such as using launch conditions, to stop the
> > installation when the version of Outlook does not match the version of
> > add-in?
>

>> Both setup.exe and msi can run through regardless the version of Outlook.
>

>> MS article "Deploying VSTO 2005 SE Solutions Using Windows Installer"
> > only talks about VSTO version.
>

>>

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
N Allow Another User to Send on Behalf of But Prevent Access to Inbox Using Outlook 4
R How to prevent corrupted Notes format in Calendar and Contacts Using Outlook 0
O How to prevent image resize when pasting Using Outlook 2
P Prevent Outlook 2016 from using DASL filter Using Outlook 4
D Prevent popup of "Do you want to save changes?" when closing after opening an appointment to view Outlook VBA and Custom Forms 2
O How to prevent CC from showing when creating a new mail? Using Outlook 1
A Prevent connection to Public Folders on Exchange? Exchange Server Administration 3
L OL 2016 contact: is there a way to prevent an admin from mistakenly deleting a contact? Using Outlook 1
D Multiple mailboxes, 1 certificate. How to prevent message "Invalid Certificate" Using Outlook 0
S How to prevent addins Using Outlook 0
makinmyway How Prevent Re-Formatting of Contact Notes Field When Syncing Using Outlook 10
Diane Poremsky Prevent Users From Choosing Stationery Using Outlook 0
evdbogaard How to prevent extra line feeds in replies Using Outlook 3
oliv- Prevent copying shared contacts Outlook VBA and Custom Forms 5
oj43085 Prevent Outlook from blocking image from a single source Using Outlook 4
I How to prevent exchange email account from sending emails in Outlook Using Outlook 4
D Prevent Outlook from resolving incomplete contact when clicking send Using Outlook 2
K Prevent meeting requests being sent from a shared calendar in a group mailbox Using Outlook 1
N Prevent reminder dismisal in shared calendar Using Outlook 1
C Security Question - How to prevent users exporting .iaf files Using Outlook 5
B Item_Write = False don't prevent custom form from closing Using Outlook 1
T WAB editing: To help prevent malicious code from running.......... Using Outlook 18
R Exchange 2010 archive-prevent users moving items direct to archive Exchange Server Administration 1
M Links prevent sending email Using Outlook 3
K How to prevent that Outlook is sending before my add-in is finished? Outlook VBA and Custom Forms 5
K Prevent sending Excel files as attachements Outlook VBA and Custom Forms 1
C Prevent Outlook from sending an email with a blank Subject Line Outlook VBA and Custom Forms 3
G To Prevent Malicious Code from running, one or more objects in thi BCM (Business Contact Manager) 2
S To help prevent malicious code from running, one or more objects in this form were not loaded. For m Outlook VBA and Custom Forms 1
A Script to either modify "from" address or prevent a reply being se Outlook VBA and Custom Forms 2
Z Prevent Changes to Custom Form Outlook VBA and Custom Forms 1
D Lifelong Windows user - new to Mac - Help!!! Using Outlook 3
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
W OL giving basic auth when logged in to Win as specific user Using Outlook 0
Witzker Outlook 2019 How to get a Photo in a User Defined Contact form Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to send an Email Template from User Defined Contact Form Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Edit contact from email does not open the user defined contactform Using Outlook 3
Witzker Set Cursor & Focus from any field to the body of a user Contact form in OL 2019 Outlook VBA and Custom Forms 1
Witzker Place cursor at opening, a user defined OL contact form Outlook VBA and Custom Forms 3
ill13 Prepend the user's computer name to the subject. Outlook VBA and Custom Forms 1
J How to create a drop down user defined field that will appear on an inbox view Outlook VBA and Custom Forms 8
J VBA Cannot programmatically input or change Value for User Defined field Using Outlook 1
Z Import Tasks from Access Using VBA including User Defined Fields Outlook VBA and Custom Forms 0
icacream Outlook 2016 “Enter your user name and password for the following server.” Using Outlook 5
N Item cannot be saved because it was modified by another user or window, and, Item could not be moved... Using Outlook 0
A How to stop user form from disapearing once mail window is closed? Outlook VBA and Custom Forms 0
H Information from user defined field into Excel Outlook VBA and Custom Forms 7
D Outlook 2010 Outlook in Windows 10 keeps asking for user name and password repeatedly Using Outlook 14
E Asking user to select multiple options in a list in an email Outlook VBA and Custom Forms 0
icacream Enter your user name and password for the following server. Using Outlook 4

Similar threads

Back
Top