HighTechTalks DotNet Forums  

Selective install of a project

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Selective install of a project in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
John
 
Posts: n/a

Default Selective install of a project - 06-18-2009 , 03:18 PM






Hi

I have a solution with a vb.net winform project and an outlook add-in
project. I have added a setup project to the solution. Is it possible that
the setup package can give user option to not install outlook add-in in case
target pc does not have outlook installed or the user does not need outlook
add-in?

Many Thanks

Regards

Reply With Quote
  #2  
Old   
Jamal
 
Posts: n/a

Default Re: Selective install of a project - 07-05-2009 , 07:44 AM






Of course it is possible

1) go to User Interface window in your setup project
2) select "Startup" node in dialog tree withing the "User Interface form"
and right click on mouse
3) in the popup menu choose "Add dialog"
4) then you will see dialog to select templates.
5) choose one template as you need (for instantance you need 4 choices then
choose "RadioButtons4")
6) go to Property window
6) give names to Button1Label = "Install game"
Button2Label = "Install Port Monitor"
Button3Label ="Install Outlook"
Button3Label ="Install update"
7) give a name to ButtonProperty (for instance "BUTTON3"
This gives possibility to your customer make a choice during installation
Suppose you have added Outlook.msm to your setup project to install Outlook.

in the solution explorer select Outlook.msm, then in the Property window
change "Condition" property to BUTTON3=3
(Here will be following: if your customer chooses option "Install Outlook"
then the property BUTTON3 will have value 3. According to "condition"
property Outlook.msm will be installed.
That is it.
Regards, Jamal



"John" <info (AT) nospam (DOT) infovis.co.uk> wrote

Quote:
Hi

I have a solution with a vb.net winform project and an outlook add-in
project. I have added a setup project to the solution. Is it possible that
the setup package can give user option to not install outlook add-in in
case target pc does not have outlook installed or the user does not need
outlook add-in?

Many Thanks

Regards

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.