AustinMyers

Ok, I finally found (after half an hour of mucking around) the outlook samples pointed to in the VSTO deployment walk through.

Installed it it and, there is no setsecurity sample. What is going on here Where is this sample

Currently I am using an example from a non-MS site because I can NOT find the one spoken of in the walkthrough.



Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

Helmut Obertanner

Hello Austin,

you must download the msi file from the link and install it.

http://www.microsoft.com/downloads/details.aspx familyid=6991E869-8D5B-45F4-91E7-B527BD236F4C&displaylang=en

After Installation you can find the SetSecurity Project here:

C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample\projects\SetSecurity

It's an extra dll that is called as custom action from your MSI Setup Project.

If you like, you can also look at my FreeBusyFTP Project from my Website:

http://www.x4u.de/Software/FTPPublisher/tabid/262/Default.aspx

Hope this helps,

greets, Helmut






Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

AustinMyers

Aw ***,

Its all in C#. MAy as well be ancient Greek...





Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

Helmut Obertanner

Hi Austin,

yes C#,

but it's just a dll that you can use with all your deployment projects.

Just open the project, set to release and compile the dll.

Then use it like your obfuscated dll. You pass the options in your custsom action from msi like described in the article.

The check sample checks the prerequisites for office applicatons and the packages are used also to check for installed components like PIA's.

Once installed setup.exe checks the prerequisites before your MSI is installed.

Hope this helps,

greets - Helmut






Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

AustinMyers

Appreciate the help Helmut but unfortunately I need to modify this to include other things. I have complained (a lot) that all the code examples for Office *VBA* are written in C#. I mean heck, almost everyone writting add ins to Office are deeply invested in VBA as that was the only tool available. A person would think that MS would know this as it was they that created the run time in Offcie. sigh...



Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

Douglas H. Troy

Go get yourself a copy of .Net Reflector. It will let you 'convert' on-the-fly from C# to VB syntax.

http://www.aisto.com/roeder/dotnet/







Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

AustinMyers

Thanks for the heads up, will give it a go.



Re: Visual Studio Tools for Office VSTO2005SE Windows Installer Sample

AustinMyers

Sorry but no.

This can only read C# files that contain a DOS header.

Thanks for the effort, its appreciated.