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

How to install selected components on machine.


12 replies to this topic

sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 24 December 2013 - 11:06

Hi,

I have a basic msi installer.I want to create a custom Diaolg like

.Server

.Client

 

There are two options Server and client(Both are checkbox).

If only Server selected then only Server components will be installed.

If Only Client then Client components will installed.

And if both selected then server and client both components will be installed.

 

How this feature will be implemented in Basic msi installshield installer Please give me detail example.

 

 



gmpk82

gmpk82
  • Full Members
  • 40 posts

Posted 25 December 2013 - 17:04

hi Sanjeev,

 

      I frankly suggest you to go for "feature selection" option on setup type dialog instead of creating new custom dialog and do not make the things complicate..you can create 2 features with names client and server and add required files to them.  as you know there are 3 types of install types: typical, custom and complete.

 

custom type : you can make 2 features with names server and client, user can choose any one of them or both he/she can choose.

complete: if user chooses this option on setup type dialog, both features(server and client) will be installed.

 

 

all the best

GMP



sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 26 December 2013 - 15:20

Hi,

Thanx for reply.As per my requirement i need a custom dialog like mentioned above.

Please provide me any example with details.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 January 2014 - 11:39

You can create a dialog like described. Then, add 4 events to the "Next" button of that dialog:

AddLocal   Server   SERVER_CHECKBOX

Remove   Server   Not SERVER_CHECKBOX

AddLocal   Client    CLIENT_CHECKBOX

Remove   Client    Not CLIENT_CHECKBOX

assuming that your Features are named Server and Client, and x_CHECKBOX are the properties for the two checkboxes.



sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 15 January 2014 - 10:40

You can create a dialog like described. Then, add 4 events to the "Next" button of that dialog:

AddLocal   Server   SERVER_CHECKBOX

Remove   Server   Not SERVER_CHECKBOX

AddLocal   Client    CLIENT_CHECKBOX

Remove   Client    Not CLIENT_CHECKBOX

assuming that your Features are named Server and Client, and x_CHECKBOX are the properties for the two checkboxes.



sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 15 January 2014 - 11:15

Hello,

Thanx for reply.I have done the same things but it doesn't work.

1.First of all InstallWelCome dialog open.

2.On Click of next button custom dialog will open.

i use the following conditions on click of Next button of custom dialog

AddLocal   Server   SERVER="1"

Remove     Server  SERVER=""

AddLocal   Client    CLIENT="1"

Remove   Client     CLIENT=""

 

3. After custom dialog DestinationFolder dialog will open and i changed the destination folder.

4.After click on next button Ready To Install dialog comes.On Click on Install button no progress bar is shown and it installed all features (not based on condition) on default path.(but as mentioned i have aleady changed the destination path)

 

Tell me how i can install feature based installation .



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 January 2014 - 16:51

Generate a log to see what's going on.

Are you testing this on a fresh, clean system?



sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 16 January 2014 - 09:49

Generate a log to see what's going on.

Are you testing this on a fresh, clean system?

hello,

Sorry its working fine.but there is certain one problem like if both the checkbox are unchecked means client and server then i want to show a message and want to stuck on same custom dialog.

please share me solution how can i implement with current implemenatation.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 January 2014 - 10:55

Try adding a condition to the "Next" button:

Disable   Not CLIENT and Not SERVER

Enable   CLIENT Or SERVER



sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 16 January 2014 - 11:18

Try adding a condition to the "Next" button:

Disable   Not CLIENT and Not SERVER

Enable   CLIENT Or SERVER

thanx for quick reply.

Can you please tell me whole condition like :

AddLocal   Server   SERVER="1"

means on which event or action i put above conditions.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 January 2014 - 17:06

Not Events but Conditions (that's a different tab, see screenshot)

Attached Images

  • ControlConditions.jpg


sanjeevbishnoi

sanjeevbishnoi
  • Full Members
  • 30 posts

Posted 22 January 2014 - 11:02

Not Events but Conditions (that's a different tab, see screenshot)

Thanx for reply its working.but i again face an issue.

My custom dialog release automatically some times when i do select or unselect client and server checkbox.

means it goes to next dialog installing dialog without any indication.(without clicking Next button)

how can i stop this behaviour.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 January 2014 - 20:17

This shouldn't happen. Check your events for all controls.