Home > Tags> VSTO

VSTO

And signing of [VS] Software Publisher Certificate

The note of the signature how to create and to sign a certificate to construct.

If you want to use ClickOnce to install the VSTO in what is he did a self-signed certificate, Toka oleoresin certificate, what you need.
Tool to be used WindowsSDK are included in the.

  • How to Create
    rem 1.==== rem CA:Certificate Authority:認証局証明書rem 会社名 : MoonWing rem 組織名 : MoonWing Authority Root CA rem 県 名 : Tokyo rem 国 名 : JP rem 有効期限: 2012.12.31 "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\makecert" -r -n "C=JP, S=Tokyo, OU=MoonWing Authority Root CA, O=MoonWing" -e 12/31/2012 -a sha1 -cy authority -sv moonwingCA.pvk moonwingCA.cer rem 秘密キーのパスワードの作成:Subject Key: rootCA rem 秘密キーのパスワードの入力:Subject Key: rootCA rem 2.==== rem EE:End Entity:署名用証明書rem コモン名: MoonWing rem 会社名 : MoonWing rem 組織名 : MoonWing Development rem 県 名 : Tokyo rem 国 名 : JP rem 有効期限: 2012.12.31 "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\makecert" -n "CN=MoonWing, C=JP, S=Tokyo, O=MoonWing, OU=MoonWing Development" -e 12/31/2012 -sv moonwing.pvk -ic moonwingCA.cer -iv moonwingCA.pvk -nscp -cy end moonwing.cer rem 秘密キーのパスワードの作成:Subject Key: endEntity rem 秘密キーのパスワードの入力:Subject Key: endEntity rem 秘密キーのパスワードの入力:Issuer Signature: rootCA rem 3.==== rem SPC:Software Publisher's Certificate:ソフトウェア発行元証明書"%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\Cert2SPC" moonwing.cer moonwingCA.cer moonwing.spc rem 4.==== rem PFX:Personal Information Exchange:PKCS#12 rem -pi(pvkpassword):endEntity rem -po(pfxpassword):SPC "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\pvk2pfx" -pvk moonwing.pvk -pi endEntity -spc moonwing.spc -pfx moonwing.pfx -po SPC 
  • Signature method
     rem 5.==== rem target.exeへ署名rem -t(time stamp server):http://timestamp.verisign.com/scripts/timstamp.dll rem -p(pfxpassword):SPC "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\signtool" sign /f moonwing.pfx /a /t http://timestamp.verisign.com/scripts/timstamp.dll /p SPC target.exe 
ツイート Tweets

Installer of [VS] Office Addin fails to install the VSTO

Note When you create an add-in Office2007 in VisuatlStudio2010 + .NetFramework3.5, was created with reference to the site the following Setup.

It is a must-read because quite useful.

I think it is possible to make reference to the above article, Setup and Addin is or become dumping form package.
you do not have to peruse when they have created, but the following two points were missing for.

  • Creating a registration to the registry
  • Registration process to create the Inclusion List

By the way, I tried to add the Japanese language pack of VSTO during the creation of start-up conditions, but did not go well.
It is not possible to confirm ComponentID that has been acquired in Orac is even whether correct, for the time being, it was removed from the required limit.

Installation to complete was subjected to a test of the installer on the VM but add-in does not work well.
You have added the following two user environment variables in order to give the log.

  • VSTO_SUPPRESSDISPLAYALERTS: 0
  • VSTO_LOGALERTS: 1

(Note: Debugging an Application-Level Project )

That it has been found Try chasing the log there was two.

  1. Required components are not installed in Setup.msi
  2. I fail to download the language pack VSTO4.0

The first one, a reference site that is shown in the first was written properly to.

How an alternative to install the solution by double-clicking Setup.exe, the install the solution by double-clicking the file .msi you can also select. In this mode, you do not perform the bootstrap. Therefore, the setup can not detect dependencies, and does not install the required components as needed.

In other words, by that do I need to install Setup.exe, Setup.exe When you run the Setup.msi mandatory component after installation.
By Toi mean, the Setup project of VisualStudio "essential components" property only act to Setup.exe, and then manually create the conditions for starting order to prevent it from starting if the Setup.msi does not exist essential component separately It is that of a must. Although probably did not catch it in a place like this if you had read firmly.

The second failed to download the Japanese Language Pack VSTO4.0 read the log of the installer.
The URL of the following two in particular.

  • http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0×411
  • http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0×411

It was examined redirect is does not seem to exist certainly the above URL, where the URL is make sure it is set.
As a result, the registry

  • HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ GenericBootstrapper \ 3.5

It seems to have been defined in what is called Bootstrapper in (WindowsSDK within maybe) Path that it is written in.

Bootstrapper / VSTO4.0 Japanese language of your environment actually

  • C: \ Program Files \ Microsoft SDKs \ Windows \ v7.0A \ Bootstrapper \ Packages \ VSTOR40 \ ja \ package.xml

URL had been described in.

It was a place where it should not put the original hand, but I tried to rewrite as follows the URL in the experiment, here, was able to succeed the successful installation.

 --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe  --- before/package.xml +++ after/package.xml @@ -61,7 +61,7 @@ Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。 http://go.microsoft.com/fwlink/?LinkId=158917 http://go.microsoft.com/fwlink/?LinkId=158918 - http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411 - http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411 + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe + http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe 

Anyway, I think that it Norikireru in this correspondence in this correspondence fixes from Microsoft until out.
Certainly, such as that refers to the location that does not exist in the same way also the URL to the Japanese language of the v6.0A Bootstrapper within the same even VSTO3.0.
(Reference: Mana Blog )

At the same, there was a small caveat.
Because it was developed in Windows7, administrator privileges was required to rewrite the package.xml.
I thought the re-start with administrator privileges the editor you are using usually that's effort, launched with administrator privileges Notepad, was to modify the URL is now a problem.
Because, this package.xml I have been created without BOM of UTF-8 in (UTF-8N), but would like to save the UTF-8 BOM is in there in Notepad comes with Windows,
The following warning is displayed when you rebuild Setup, a installer has will change the behavior you do not want to install the language pack actually.

 警告: カルチャ 'ja-JP' を項目 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' に対して一致できませんでした。カルチャ 'en' を使用します。 

warning is eliminated where you saved in UTF-8N the package.xml, was rebuilt and make sure that you do not have garbled and that there is no BOM, the Language Pack installation is now also I main.

Also, it was not needed but this reference site that is relevant also notes

ツイート Tweets

[VS] VSTO corresponding version Summary

-Creates a table version of .NetFramework version and Office version of the VSTO became so want.
And VSTO is

  • Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime
  • Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System
  • Microsoft Visual Studio Tools for the Microsoft Office system (Version 3.0 Runtime)
  • Microsoft Visual Studio 2010 Tools for the Microsoft Office System (Version 4.0 Runtime)

It is the Office for extension component name has changed subtly with.
The supposed there is no problem if the following three you leave the two eyes above basically.
(It is a translation will be or rather, be nice by omitting also three eyes, it is possible to cope with 2003,2007,2010 in two after all.)

Vsto Corresponding Office Corresponding .NetFramework Corresponding VisualStduio For Windows
2005 SE 2003, 2007 2.0 2005 2000, XP, Server 2003, Vista, 7, Server 2008
3.0 2007 3.5 SP1 2008 2000, XP, Server 2003, Vista, 7, Server 2008
4.0 2007, 2010 3.5 SP1 2010 XP, Server 2003, Vista, 7, Server 2008
ツイート Tweets

Home > Tags> VSTO

Search
Feed
Translation
Japanese flagEnglish flag

I return to the top of the page