|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Selective install of a projectHi
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 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 Show quoteHide quote "John" <info@nospam.infovis.co.uk> wrote in message news:Of1s5HF8JHA.1420@TK2MSFTNGP04.phx.gbl... > 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 >
.net 3.5 with vs 2005
Need some help from VB Programmers... How to hide base class member variable in derived class (w/o shadows)? Visual Basic is Dead! serialPort receive problem Application Icon distributing software language for databases Creating user friendly error messages for SqlExceptions Is this a bug? |
|||||||||||||||||||||||