Deployment of custom form using "setup.exe"

Status
Not open for further replies.
C

cGtlbGxleQ

I've made an Outlook 2007 Add-In using Visual Studio 2005, C#, and VSTO SE.

My Add-In uses a FormRegion that is displayed when the user presses my

button in the "Show" area of the Ribbon UI for AppointmentItem. In the

developer environment, this works perfectly!

My intention is to have a "setup.exe" that is executed by each user on their

machine.

I followed the instructions found here to create my "setup.exe":

http://msdn.microsoft.com/en-us/library/bb332051.aspx

I executed my "setup.exe" on a test machine running Outlook 2007, and there

were NO errors during install. So far, so good.

I ran the test machine's Outlook 2007, and selected "New Appointment", but

my FormRegion (with it's corresponding button in "Show") was not there.

I then successfully ran "Add/Remove Programs" and uninstalled my Outlook

2007 AddIn from the test machine. That worked just fine.

So here's what I need to know: THE STEPS - What are THE STEPS to include my

FormRegion (i.e. custom form) into my "setup.exe" using Visual Studio 2005

and VSTO SE?

I've followed a lot of links on "www.outlookcode.com" and other web-sites,

but the exact steps still elude me.
 
S

Sue Mosher [MVP]

Basically, you need (a) to ensure that the add-in's setup package includes

the form region manifest and registry entries that tell Outlook how and when

to load the region and (b) to meet all the requirements (many, many of them)

for deploying a VSTO add-in in general, including prerequisites and granted

trust for CAS security.

b) is covered in the article you cited, but you might also want to step

through the walkthroughs at

http://msdn.microsoft.com/en-us/library/bb332052.aspx.

a) is covered at http://msdn.microsoft.com/en-us/library/aa942741.aspx

The best place to ask about VSTO add-in deployment issues is in the VSTO

forum at http://social.msdn.microsoft.com/Forums/en-US/vsto/threads/, where

Microsoft support engineers are experienced in walking developers through

common problems.

Sue Mosher

"pkelley" <pkelley> wrote in message

news:DF8B40FD-829A-419D-9A21-CDB1CDFF59D8@microsoft.com...
> I've made an Outlook 2007 Add-In using Visual Studio 2005, C#, and VSTO
> SE.

> My Add-In uses a FormRegion that is displayed when the user presses my
> button in the "Show" area of the Ribbon UI for AppointmentItem. In the
> developer environment, this works perfectly!

> My intention is to have a "setup.exe" that is executed by each user on
> their
> machine.

> I followed the instructions found here to create my "setup.exe":
> http://msdn.microsoft.com/en-us/library/bb332051.aspx

> I executed my "setup.exe" on a test machine running Outlook 2007, and
> there
> were NO errors during install. So far, so good.

> I ran the test machine's Outlook 2007, and selected "New Appointment", but
> my FormRegion (with it's corresponding button in "Show") was not there.

> I then successfully ran "Add/Remove Programs" and uninstalled my Outlook
> 2007 AddIn from the test machine. That worked just fine.

> So here's what I need to know: THE STEPS - What are THE STEPS to include
> my
> FormRegion (i.e. custom form) into my "setup.exe" using Visual Studio 2005
> and VSTO SE?

> I've followed a lot of links on "www.outlookcode.com" and other web-sites,
> but the exact steps still elude me.
 
C

cGtlbGxleQ

Thank you for responding Sue.

Yes, I've previously visited the documented links you mentioned (both 'a'

and 'b'), and strangely enough, I found the

http://social.msdn.microsoft.com/Forums/en-US/vsto/threads

link shortly after posting my question here. So, it looks like I'm going

down the path you were suggesting.

I will come back and post what I learn once I know more.

Thanks again.

"Sue Mosher [MVP]" wrote:


> Basically, you need (a) to ensure that the add-in's setup package includes
> the form region manifest and registry entries that tell Outlook how and when
> to load the region and (b) to meet all the requirements (many, many of them)
> for deploying a VSTO add-in in general, including prerequisites and granted
> trust for CAS security.

> b) is covered in the article you cited, but you might also want to step
> through the walkthroughs at
> http://msdn.microsoft.com/en-us/library/bb332052.aspx.

> a) is covered at http://msdn.microsoft.com/en-us/library/aa942741.aspx

> The best place to ask about VSTO add-in deployment issues is in the VSTO
> forum at http://social.msdn.microsoft.com/Forums/en-US/vsto/threads/, where
> Microsoft support engineers are experienced in walking developers through
> common problems.

> > Sue Mosher
> > >

> "pkelley" <pkelley> wrote in message
> news:DF8B40FD-829A-419D-9A21-CDB1CDFF59D8@microsoft.com...
> > I've made an Outlook 2007 Add-In using Visual Studio 2005, C#, and VSTO
> > SE.
> > My Add-In uses a FormRegion that is displayed when the user presses my
> > button in the "Show" area of the Ribbon UI for AppointmentItem. In the
> > developer environment, this works perfectly!
> > My intention is to have a "setup.exe" that is executed by each user on
> > their
> > machine.
> > I followed the instructions found here to create my "setup.exe":
> > http://msdn.microsoft.com/en-us/library/bb332051.aspx
> > I executed my "setup.exe" on a test machine running Outlook 2007, and
> > there
> > were NO errors during install. So far, so good.
> > I ran the test machine's Outlook 2007, and selected "New Appointment", but
> > my FormRegion (with it's corresponding button in "Show") was not there.
> > I then successfully ran "Add/Remove Programs" and uninstalled my Outlook
> > 2007 AddIn from the test machine. That worked just fine.
> > So here's what I need to know: THE STEPS - What are THE STEPS to include
> > my
> > FormRegion (i.e. custom form) into my "setup.exe" using Visual Studio 2005
> > and VSTO SE?
> > I've followed a lot of links on "www.outlookcode.com" and other web-sites,
> > but the exact steps still elude me.


>
 
C

cGtlbGxleQ

I compared the output I saw in REGEDIT under

HKCU->Software->Microsoft->Office->Outlook on the development box to the

REGEDIT output I saw on the test machine. I noticed that the value on my

development box for:

HKCU->Software->Microsoft->Office->Outlook->FormRegions->IPM.Appointment

was missing from the test machine.

I visited the "setup.exe" project in Visual Studio 2005, and

1. selected "View->Registry"

2. browsed down the HKCU path to the Outlook key

3. Created the key "FormRegions"

4. Created the key "IPM.Appointment"

5. For "Name" I added "odbcForm" and for "Value" I added

"[TARGETDIR]odbcManifest.xml"

6. Closed the "Registry" view.

7. Rebuilt my AddIn project.

8. Did a "Publish" of the AddIn Project.

9. Rebuilt my "setup.exe" project.

10. 'ZIP'ped the files up and 'FTP'ed the ZIP file up to the test

machine. Ran "setup.exe" and it worked!

So, I withdraw my question, and thank you for spending the time to evaluate

what was wrong!

"pkelley" wrote:


> Thank you for responding Sue.

> Yes, I've previously visited the documented links you mentioned (both 'a'
> and 'b'), and strangely enough, I found the

> http://social.msdn.microsoft.com/Forums/en-US/vsto/threads

> link shortly after posting my question here. So, it looks like I'm going
> down the path you were suggesting.

> I will come back and post what I learn once I know more.

> Thanks again.

> "Sue Mosher [MVP]" wrote:
>
> > Basically, you need (a) to ensure that the add-in's setup package includes
> > the form region manifest and registry entries that tell Outlook how and when
> > to load the region and (b) to meet all the requirements (many, many of them)
> > for deploying a VSTO add-in in general, including prerequisites and granted
> > trust for CAS security.
> > b) is covered in the article you cited, but you might also want to step
> > through the walkthroughs at
> > http://msdn.microsoft.com/en-us/library/bb332052.aspx.
> > a) is covered at http://msdn.microsoft.com/en-us/library/aa942741.aspx
> > The best place to ask about VSTO add-in deployment issues is in the VSTO
> > forum at http://social.msdn.microsoft.com/Forums/en-US/vsto/threads/, where
> > Microsoft support engineers are experienced in walking developers through
> > common problems.
> > > > Sue Mosher
> > > > > > > > "pkelley" <pkelley> wrote in message
> > news:DF8B40FD-829A-419D-9A21-CDB1CDFF59D8@microsoft.com...
> > > I've made an Outlook 2007 Add-In using Visual Studio 2005, C#, and VSTO
> > > SE.
> > > > My Add-In uses a FormRegion that is displayed when the user presses my
> > > button in the "Show" area of the Ribbon UI for AppointmentItem. In the
> > > developer environment, this works perfectly!
> > > > My intention is to have a "setup.exe" that is executed by each user on
> > > their
> > > machine.
> > > > I followed the instructions found here to create my "setup.exe":
> > > http://msdn.microsoft.com/en-us/library/bb332051.aspx
> > > > I executed my "setup.exe" on a test machine running Outlook 2007, and
> > > there
> > > were NO errors during install. So far, so good.
> > > > I ran the test machine's Outlook 2007, and selected "New Appointment", but
> > > my FormRegion (with it's corresponding button in "Show") was not there.
> > > > I then successfully ran "Add/Remove Programs" and uninstalled my Outlook
> > > 2007 AddIn from the test machine. That worked just fine.
> > > > So here's what I need to know: THE STEPS - What are THE STEPS to include
> > > my
> > > FormRegion (i.e. custom form) into my "setup.exe" using Visual Studio 2005
> > > and VSTO SE?
> > > > I've followed a lot of links on "www.outlookcode.com" and other web-sites,
> > > but the exact steps still elude me.

> >
 
S

Sue Mosher [MVP]

Right, that's one of the issues in (a), near the end of that article.

Sue Mosher

"pkelley" <pkelley> wrote in message

news:C9CAAF42-4B86-40FF-BFC1-4983F535A988@microsoft.com...
> I compared the output I saw in REGEDIT under
> HKCU->Software->Microsoft->Office->Outlook on the development box to the
> REGEDIT output I saw on the test machine. I noticed that the value on my
> development box for:
> HKCU->Software->Microsoft->Office->Outlook->FormRegions->IPM.Appointment
> was missing from the test machine.

> I visited the "setup.exe" project in Visual Studio 2005, and
> 1. selected "View->Registry"
> 2. browsed down the HKCU path to the Outlook key
> 3. Created the key "FormRegions"
> 4. Created the key "IPM.Appointment"
> 5. For "Name" I added "odbcForm" and for "Value" I added
> "[TARGETDIR]odbcManifest.xml"
> 6. Closed the "Registry" view.
> 7. Rebuilt my AddIn project.
> 8. Did a "Publish" of the AddIn Project.
> 9. Rebuilt my "setup.exe" project.
> 10. 'ZIP'ped the files up and 'FTP'ed the ZIP file up to the test
> machine. Ran "setup.exe" and it worked!

> So, I withdraw my question, and thank you for spending the time to
> evaluate
> what was wrong!

> "pkelley" wrote:
>
> > Thank you for responding Sue.
>

>> Yes, I've previously visited the documented links you mentioned (both 'a'
> > and 'b'), and strangely enough, I found the
>

>> http://social.msdn.microsoft.com/Forums/en-US/vsto/threads
>

>> link shortly after posting my question here. So, it looks like I'm going
> > down the path you were suggesting.
>

>> I will come back and post what I learn once I know more.
>

>> Thanks again.
>

>> "Sue Mosher [MVP]" wrote:
> >
> > > Basically, you need (a) to ensure that the add-in's setup package
> > > includes
> > > the form region manifest and registry entries that tell Outlook how and
> > > when
> > > to load the region and (b) to meet all the requirements (many, many of
> > > them)
> > > for deploying a VSTO add-in in general, including prerequisites and
> > > granted
> > > trust for CAS security.
> >> > b) is covered in the article you cited, but you might also want to step
> > > through the walkthroughs at
> > > http://msdn.microsoft.com/en-us/library/bb332052.aspx.
> >> > a) is covered at http://msdn.microsoft.com/en-us/library/aa942741.aspx
> >> > The best place to ask about VSTO add-in deployment issues is in the
> > > VSTO
> > > forum at http://social.msdn.microsoft.com/Forums/en-US/vsto/threads/,
> > > where
> > > Microsoft support engineers are experienced in walking developers
> > > through
> > > common problems.
> >> > "pkelley" <pkelley> wrote in message
> > > news:DF8B40FD-829A-419D-9A21-CDB1CDFF59D8@microsoft.com...
> > > > I've made an Outlook 2007 Add-In using Visual Studio 2005, C#, and
> > > > VSTO
> > > > SE.
> > >> > > My Add-In uses a FormRegion that is displayed when the user presses
> > > > my
> > > > button in the "Show" area of the Ribbon UI for AppointmentItem. In
> > > > the
> > > > developer environment, this works perfectly!
> > >> > > My intention is to have a "setup.exe" that is executed by each user
> > > > on
> > > > their
> > > > machine.
> > >> > > I followed the instructions found here to create my "setup.exe":
> > > > http://msdn.microsoft.com/en-us/library/bb332051.aspx
> > >> > > I executed my "setup.exe" on a test machine running Outlook 2007, and
> > > > there
> > > > were NO errors during install. So far, so good.
> > >> > > I ran the test machine's Outlook 2007, and selected "New
> > > > Appointment", but
> > > > my FormRegion (with it's corresponding button in "Show") was not
> > > > there.
> > >> > > I then successfully ran "Add/Remove Programs" and uninstalled my
> > > > Outlook
> > > > 2007 AddIn from the test machine. That worked just fine.
> > >> > > So here's what I need to know: THE STEPS - What are THE STEPS to
> > > > include
> > > > my
> > > > FormRegion (i.e. custom form) into my "setup.exe" using Visual Studio
> > > > 2005
> > > > and VSTO SE?
> > >> > > I've followed a lot of links on "www.outlookcode.com" and other
> > > > web-sites,
> > > > but the exact steps still elude me.
> >>> >
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T Custom Task Request Deployment Outlook VBA and Custom Forms 5
E Outlook Ribbon Customization and Deployment Using Outlook 1
K Social Connector Deployment Using Outlook 1
B Add-in deployment problem Outlook VBA and Custom Forms 3
M VSTO deployment? Outlook VBA and Custom Forms 1
T Shared addin using .net - deployment for non admins Outlook VBA and Custom Forms 3
R Deployment issue for Office 2003 add-in using VS 2008. Outlook VBA and Custom Forms 1
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Update new custom field Outlook VBA and Custom Forms 5
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
S Custom Field Cannot Be Displayed In Views Outlook VBA and Custom Forms 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
K UDF with formula not showing on Calendar custom view. Outlook VBA and Custom Forms 0
S Create a clickable custom column field Outlook VBA and Custom Forms 0
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
S Outlook Custom Form Scripting only working when clicking on "Run this form" Outlook VBA and Custom Forms 2
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2
M Custom Calendar Print Suggestions? Using Outlook 0
K Custom Category Colors Using Outlook 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
E To convert imported data to custom fields in Task list Outlook VBA and Custom Forms 1
Randy Redekopp How To Merge Contact Info to Email Custom Form Template Using Outlook 2
D Problem with custom form including _DocSiteControl1 Outlook VBA and Custom Forms 0
C Custom Outlook Form - Populate Information from Radio Button / Check Box Using Outlook 0
H Custom Signature Not Displayed When Account Selected Outlook VBA and Custom Forms 10
E Custom formula for columns Using Outlook 3
W Message class changes of a custom form changes to the default form Using Outlook 2
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
S Custom Form, copy user field data to message body Outlook VBA and Custom Forms 12
Andrew Quirl Custom form to route requests based on input criteria Outlook VBA and Custom Forms 1
D Using a VBA Custom Form to Send Reoccurring Email Upon Task Completion Outlook VBA and Custom Forms 4

Similar threads

Top