Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Features with .NET


4 replies to this topic

shippy

shippy
  • Members
  • 20 posts

Posted 12 June 2003 - 18:48

I am using the Visual Studio.NET installer projects. It seems like you can only have one "defaultfeature" feature when using these projects. Is there any way to have more than one feature? For example, I have 3 merge modules and I'd like each to be considered a different feature.

Thanks!

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 June 2003 - 20:44

Windows Installer by itself supports multiple features and subfeatures. However this functionality is not exposed by VS.NET so you would have to use Orca or a VBScript to modify your msi file in a post build step. Alternatively you can use one of the full featured authring tools that are available.

shippy

shippy
  • Members
  • 20 posts

Posted 13 June 2003 - 05:35

Thank you for your reply. In reference to your comment, are there any standard VBScripts out there that do things like this? Perhaps ones that come with the SDK?

The main reason I want to try to use Visual Studio.NET's installer features as opposed to something like InstallShield is because the application I am deploying is VS.NET based and I have found that it is not possible to have more than one InstallShield project in a VS.NET solution at the same time. Maybe there are others out there who are using InstallShield with .NET applications and are having an easier time?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 June 2003 - 07:56

I don't know of a VBScript in the SDK which will do exactly this. You would have to use one of the sample scripts that modify the .msi and change it to your needs (modify the Feature and FeatureComponents tables).

(P.S. InstallShield is planning to add support for multiple projects in one solution)

shippy

shippy
  • Members
  • 20 posts

Posted 16 June 2003 - 04:32

Thank you. I'll keep my eyes open for the multiple project support. I think I would definitely use InstallShield once the feature is added.