English
Portuguese
If you install the GAX ( Guidance Automated Extensions ) package on a machine running Visual Studio 2008, you can see the Projet Creation Failed message on the Visual Studio status bar every time you try to create a new project, or to add a new object on a existing solution.
Apparently this is a problem with a dll redirection that GAX adds to the devenv.exe.config file on the installation. To solve this, we only have to remove this redirection. To do this:
- Open the C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.config file on the notepad.( don't forget to open the notepad as administrator, otherwise you'll not be able to save the file on this directory )
- Press Control+F and search for "Microsoft.VisualStudio.TemplateWizardInterface"
- Comment this item or delete it from the file. The piece where this line is found, should look like this:
<dependentAssembly>
<!-- assemblyIdentity name="Microsoft.VisualStudio.TemplateWizardInterface" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" / -->
<bindingRedirect oldVersion="0.0.0.0-8.9.9.9" newVersion="9.0.0.0" />
</dependentAssembly>
- Save the file, and open Visual Studio 2008 again. And no more excuses not to be working! =)
UPDATE: if you don't have the above line in your file or if this does not work for you, please read the comments below to see other ways to fix this error. And thanks for all the visitors that shared their finds here :)
Se você instalar o pacote GAX ( Guidance Automated Extensions ) em uma máquina com o Visual Studio 2008 você pode ser supreendido com a mensagem: Project Creation Failed na barra de status do VS sempre que você tentar criar um novo projeto, ou um erro tentando adicionar um novo objeto numa solução já existente.
Aparentemente esse é um problema com um redirecionamento de dll que é adicionado no arquivo devenv.exe.config no momento da instalação. Para resolver esse problema apenas precisamos remover 1 redirecionamento problemático. Para isso:
- Abra o arquivo C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.config no bloco de notas. ( se estiver usando o Vista não esquece de abrir o bloco de notas como administrador, senão você não irá conseguir salvar o arquivo depois de modificar )
- Aperte Control+F e procure pelo texto "Microsoft.VisualStudio.TemplateWizardInterface"
- Comente este item, ou delete ele do arquivo. A parte onde este arquivo se encontra tem que ficar assim:
<dependentAssembly>
<!-- assemblyIdentity name="Microsoft.VisualStudio.TemplateWizardInterface" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" / -->
<bindingRedirect oldVersion="0.0.0.0-8.9.9.9" newVersion="9.0.0.0" />
</dependentAssembly>
- Salve o arquivo e abra o Visual Studio 2008 novamente. Crie o novo projeto e mãos a obra. Chega de desculpas pra não trabalhar!
UPDATE: se você não tem essa linha no seu arquivo, ou se essa solução não funcionou, leia os comentários abaixo para ver outras formas de solução! muito obrigado a todos que compartilharam suas descobertas aqui :)
English
Portuguese
Another Wix 3.0 error, this one happens if you are running the v3.0.2925.0 or earlier, on Windows Vista.
This error seems to be some problem on Wix 3.0 itself, and to solve this you'll need to install one of the nightly builds versions, that you can find on the following address: http://wix.sf.net/releases.
But, before you leave my blog, and run away to download the latest build, there's one little detail, there's a specific version you'll need to install. I've tested all avaliable versions ( on 11/13/2007 ) and the only working version is the v3.0.3307.0 version, dated from 09/07/2007.
Don't ask me why, this is one of those errors that you simple don't understand.
Mais um dos erros do Wix 3.0, esse erro ocorre ou se você estiver rodando a versão v3.0.2925.0 ou anterior, no Windows Vista.
Esse erro aparentemente é algum problema com o próprio Wix 3.0, e para resolver eu tive que instalar uma das "nightly builds" do sistema, no seguinte endereço: http://wix.sf.net/releases.
Mas antes que você saia correndo do blog e baixe o último build do Wix, tem 1 pequeno detalhe, não é qualquer build que funciona, para ser sincero eu testei todos os builds que tinham na página e a única versão que funciona corretamente é a versão v3.0.3307.0 do dia 07/09/2007.
Esses é um daqueles erros que não se pergunta o porque, simplesmente instale essa versão que vai funcionar! ( ou não )
English
Portuguese
This error happens 'cause of some validation scripts written in vbscript that Wix runs, and, for an unknow reason, the vbscript dll is not registered on some Windows Vista installations.
So, to solve this, we have only to register the correct dll. To do this, open the command prompt, as an administrator and type:
C:\>regsvr32.exe C:\Windows\System32\vbscript.dll
And it's done! This will solve an installation error of some of the ADOBE's products on Windows Vista too. But I really don't remember the error code on those products.
Esse erro acontece porque alguns dos scripts de validação do Wix são escritos em vbscript, e, por algum motivo, em algumas instalações do Windows Vista essa DLL não vem registrada!
Para resolver esse problema, abra o prompt de comando como administrador e digite o seguinte:
C:\>regsvr32.exe C:\Windows\System32\vbscript.dll
Pronto, isso também resolve o problema dos produtos da linha da ADOBE não instalarem no Windows Vista, mas não me recordo o número do erro nesses produtos.
English
Portuguese
Well.. off course that on my first post here at http://weblogs.asp.net/felipeferreira I'll thank Joe Stagner for the opportunity to be posting here at weblogs.asp.net. I'm still making some adjustments and getting familiar with this blog, but will try to publish some tips that I've on my old blog today.
Lógico que o meu primeiro post aqui no http://weblogs.asp.net/felipeferreira é para agredecer ao Joe Stagner pela oportunidade. Eu ainda estou fazendo alguns ajustes e começando a me acostumar com o blog, mas ainda hoje vou tentar publicar algumas dicas que eu tenho no meu blog antigo.