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.
 
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.
 
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.


>
 
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.

> >
 
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
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
S Outlook 2019 Custom outlook Add-in using Visual Studio Outlook VBA and Custom Forms 0
S Adding Custom Forms Outlook VBA and Custom Forms 4
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
M copy field value to custom field Outlook VBA and Custom Forms 0
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
J ol2021 custom form not displaying pics Outlook VBA and Custom Forms 37
N "Perform a Custom Action" Outlook VBA and Custom Forms 0
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

Similar threads

Back
Top