 |
|
 |
Hallo Klaus,
this is very useful feature but I cannot run it in VS2010:
1. add-in was not installed
2. I cannot rebuild it from sources but archive does not contain some files and it is impossible to rebuild.
Can you help somehow?
Danke sehr,
MfG, Oleg.
|
|
|
|
 |
|
 |
Hi,
On trying to include the dialog in a VS 2010 setup project, I get the following error:
Unable to build dialog module named 'd:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\Deployment\.\VsdDialogs\1033\VsdSelectionTreeDlg.wid'
Please let me know how to resolve this.
Thanks.
|
|
|
|
 |
|
 |
Hi,
please wait 1-2 day's. I have send a new 'Download setup VS2010'.
Then get it new and install.
Klaus
|
|
|
|
 |
|
 |
Can you please let me know the how to create a custom installer dialog for Visual Studio 2010?
|
|
|
|
 |
|
 |
After installation, I start VS 2008 Pro with administrative privaleges in Windows 7 Pro and I get the error:
----------------
The Add-In 'InsertFeature' failed to load or caused an excecption.
Would you like to remove this Add-In?
If you choose yes, the file it was loaded from,
'C:\Users\Mark\Ddocuments\Visual Studio
2008\Addins\InsertFeature.AddIn', will be renamed.
Error message: Unspecified Error
Error number: 80004005
----------------
|
|
|
|
 |
|
 |
Hi,
The AddIn has not landed in the Directory C:\Users\Mark\Documents\Visual Studio 2008\Addins\InsertFeature. Check the rights.
Klaus
|
|
|
|
 |
|
 |
Two files are in the directory C:\Users\Mark\Documents\Visual Studio 2008\Addins\InsertFeature. InsertFeature.dll and Interop.WindowsInstaller.dll.
|
|
|
|
 |
|
 |
Hi,
New Setup for VS2008 and VS2010. Please download.
Klaus Ruttkowski
modified on Friday, October 29, 2010 3:20 AM
|
|
|
|
 |
|
 |
Hello. I downloaded the new install for VS2008. Uninstalled previous versions. Installed new VS2008 version. Now no dll in Visual Studio 2008\Addins.
A search of the system shows addin found in:
C:\ProgramData\Microsoft Visual Studio\Addins\InsertFeature2010\InsertFeature2010.dll
But I use VS 2008, not 2010. And the addin is not shown within VS 2008 menu Tools -> Addins.
modified on Monday, November 8, 2010 6:15 PM
|
|
|
|
 |
|
 |
I can test only under W7. Please, copies the files by hand.
|
|
|
|
 |
|
 |
I am using W7 Professional. So it is the same as you. The VS 2008 version installs InserFeature2010.dll which is not recognized by my VS 2008 Professional. Should it install InsertFeature2008.dll? Also, will you post the source project like before? Maybe I can compile and copy manually then.
|
|
|
|
 |
|
 |
I discovered the problem. Your installer places InsertFeature2010.Addin has the following:
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>10.0</Version>
</HostApplication>
but for VS 2008 version it should be:
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>9.0</Version>
</HostApplication>
|
|
|
|
 |
|
 |
The losts source code is available again.
|
|
|
|
 |
|
 |
Hi Klaus. I installed the add-in on my Win7 machine with VS2010. The dialog did not appear.
Does it work with VS2008 only?
Thanks,
Yuri
|
|
|
|
 |
|
 |
Hi Yuri,
It also functions in VS2010. Copy the dialogs VsdSelectionTreeDlg.wid from "Microsoft Visual Studio 9.0" to "Microsoft Visual Studio 10.0"
Greeting
Klaus Ruttkowski
|
|
|
|
 |
|
 |
Hi Klaus. First of all thank you for the quick response. I appreciate it very much.
Would you mind if I "torture" you with some more questions please?
I copied VsdSelectionTreeDlg.wid to 3 locations:
- C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment\VsdDialogs\1031
- C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment\VsdDialogs\1033
- C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment\VsdDialogs\0
And the magic happend, - I was able to add "Selecton Feature" dialog to my installer flow in View->User Interface.
But the problem is, that I couldn't change "Feature Select" look, or add any features by changing dialog's properties.
Am I missing something? Could you please take a glance at the screenshot here
http://haaojw.bay.livefilestore.com/y1piyec-t_doJjk99ZZLiamQZFpgLjqFu3OuaGEDVxOkJuMn5I3W6M2XJXc_I0D9VNdkcfMY9k01n_wy-IOZ1H3-J3OQxhnEUhX/EasyCapture1.jpg?psid=1[^]
Just click on the image to enlarge it.
Thanks,
Yuri
|
|
|
|
 |
|
 |
Hi Yuri,
Please, the Addin activates in the Addin-Manager.
Greeting
Klaus
|
|
|
|
 |
|
 |
Hi Klaus,
I run addin installer, and it copied the addin to C:\Users\yzharchu\Documents\Visual Studio 2008\Addins
So, I manually copyed it to C:\Users\yzharchu\Documents\Visual Studio 2010\Addins accordingly.
But the addin did not appear in the Add-In manager. Your installer probably makes some registry entries which I am not aware of.
What else should be done to install the addin properly please?
Danke,
Yuri
|
|
|
|
 |
|
 |
Hi Yury,
My Setup writes no Registry entries.
Copy the Directoy InsertFeature and the file InsertFeature.AddIn from Documents\Visual Studio 2008\Addins to Documents\Visual Studio 2010\Addins.
I will soon publish a new Installer file for VS2008 and VS2010.
Greeting
Klaus
|
|
|
|
 |
|
 |
English Please,Not German
|
|
|
|
 |
|
 |
Now the surface is English and German. It can be translated by own String resources to your culture. Please send me your translations from InsertFeature.xx-XX.resx and VsdSelectionTreeDlg.wid.
|
|
|
|
 |
|
 |
Thank you for your article.
I'm a new guy in Making Installation.I see your article is very useful.
I could build TestInstallFeature project successful But I got the below error:
ERROR **** Der 'FeatureCount' kann nicht zurückgegeben werden
TEST **** Ob der Dialog 'SelectionTree' enthalten ist
OK **** Der Dialog 'SelectionTree' ist in der Installer-Datei enthalten
ERROR **** Die Installerdatei enthalt keinen SelectionTree
ERROR **** Die Installerdatei kann nicht angepasst werden
And result is that I don't see the selection as I expect when installing.
What's wrong with it? Could you help me, please?
Thank you and greetings
doan0383
|
|
|
|
 |
|
 |
Hi,
which language have you put? Please, looks under C:\Programs\Microsoft Visual Studio 9.0\Common7\Tools\Deployment\0 ... 1031 ..1033 ... ??? whether VsdSelectionTreeDlg exists. For other languages you must rework VsdSelectionTreeDlg with Orca and copy.
Greetings
|
|
|
|
 |
|
 |
First, thank you for your great article.
I'm trying to use it, but the tree selection turns out to be empty.
Only it shows a node without text.
Even the project TestInstallFrature shows the empty tree.
Have I to modify some characteristic or option in VS2008?
Greetings
|
|
|
|
 |
|
 |
OK.
I just have to activate it in the Add-in manager
Thank you.
|
|
|
|
 |