 |
|
 |
Hi Klaus,
Thank you for this brilliant job and sharing it with the community.
I'm trying to make an installer in VS 2010 using your add-in. I could install the add-in using the installer. added the selection feature dialog. tried to set some features using merge module. in either cases the selection tree in the final setup shows only one node with empty text and no description.
any idea on what I'm missing or doing wrong?
Best Regards,
Afshin
|
|
|
|
 |
|
 |
Please activate Add-In "InsertFeature" - Tool, Add-in-Manager, InsertFeature - permanent.
Best Regards
Klaus
|
|
|
|
 |
|
 |
Thank you Klasu for the relpy.
the Add-In is activated. As I said, I can add 'Selection Module' dialog to the 'Use Interfaces' of the setup project. I set properties as you said in the article.
the problem is by running the setup, in the 'Feature Select' form, the selection tree only shows a node with no text/description.
Am I missing something? should I activate the addin from anywhere else than Visual Studio?
I will really appreciated if you please help me throw this as I really need this feature in my project and this is my only hope.
Best Regards,
Afshin
modified 30 Apr '12.
|
|
|
|
 |
|
 |
Ok Klaus,
I think I found the problem:
- first of all I had to rebuild the InsertFeature2010 with .Net 4.0
- I also removed all references files along with the dll in the deployment folder as they all are existing in the GAC
- the other problem is in "TestOf_vdproj" method, you did not check for solution folders, it used to throw exception on this line:
ProjectPath = _applicationObject.Solution.Projects.Item(i).FullName.
Substring(0, _applicationObject.Solution.Projects.Item(i).FullName.LastIndexOf("\\"));
I changed it to search for every project in all solution folders.
the only problem remained is 'Change' feature in 'Add/Remove programs' in control panel. now only 'Repair' and 'Uninstall' choices are available, is there any way to add 'Change' feature to display the selection tree again?
Regards
Afshin
|
|
|
|
 |
|
 |
Afshin Jafari wrote: the only problem remained is 'Change' feature in 'Add/Remove programs' in
control panel. now only 'Repair' and 'Uninstall' choices are available, is
there any way to add 'Change' feature to display the selection tree again?
My Addin does not influence the Compile process. It's edit the MSI file afterwards. The feature to display the selection tree again is komlex. Sorry, I cannot insert this at the moment. Thanks!
If you can insert it, please it lets know me.
Regards
Klaus
|
|
|
|
 |
|
 |
Hi Klaus,
I will try to see if it's possible to inject the 'change' feature selection or not in near future and will let you know the result.
btw, I found some other issues with this addin:
- when compiling in Visual Studio IDE, the resultant MSI contains all feature tree items but the size of them are all 0! using "devenv.com /Build" solves the problem.
- only works with merge modules: adding any other file to the setup project other than merge module outputs, causes the size of features to 0 again, even when using "devenv.com".
any idea?
Regards,
Afshin
|
|
|
|
 |
|
 |
Hi Afshin,
Devenv.com requires entire file names with disk drive. I think here is the problem.
Regards
Klaus
|
|
|
|
 |
|
 |
hi Klaus, i have to create a VS2008 stand alone web Setup project using a published folder of webapplication that was located in some other drive. i have to map that folder in my web setup project and i need to create a setup.exe or setup.msi. can it be possible please let me know how should i do that.
-- modified 22 Feb '12.
|
|
|
|
 |
|
 |
Sorry,
your inquiry is so complicated that, unfortunately, I cannot answer them.
Also mine is not good enough enlisch.
Klaus
|
|
|
|
 |
|
 |
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
|
|
|
|
 |