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

not to show feature selection on maintenance


4 replies to this topic

tktk

tktk
  • Full Members
  • 24 posts

Posted 28 September 2004 - 10:52

hi, im using InstallShield X Professional and working on Basic MSI projects.

my installation has 3 features but does not show feature selection at user
install time. these freatures are only used for controling different releases
internaly and works fine.

when setup.exe is executed under my application is installed, or modify from
Program Add/Remove panel invokes maintenance dialog. and the dialog has
Change radio button so the feature selection will be shown when this option is
selected.

i would like not to show feature selection at this time.
and my question is:
how to disable "Change" radio button on maintenance dialog ?

any suggestions will be appreciated.
thanks.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 28 September 2004 - 14:15

You can't disable a single radio button nut yu can delete it. Make sure you also set the proeperty that's associated with the radio group to repair or remove (in property table)

tktk

tktk
  • Full Members
  • 24 posts

Posted 29 September 2004 - 02:30

hi Stefan, and thank you for reply !

i have done following steps to achieve what Stefan says:

1. select Dialog category under User Interface in view-list.
2. select MaintenanceType in Dialog tree view, and expand sub tree, then select
language (ex. English) sub item.
3. remove radio button, icon, and desicription text for Change option on
dialog editor.
4. adjust layout of Repair and Remove option groups to reside proper palce
(sliding them up).
5. select DlgTitle text and press ... button of Text property of it.
6. add new string table entry named
IDS_IsMaintenanceDlg_ProgramMaintenance_CUSTOM
and set its text to "Repair or remove the program.", then select this string
for the item.
7. do the same step as 5-6 for DlgDesc text control, and TextLine2 on
MaintenanceWelcome dialog (but string table entry differs).

8. select Property Manager under Action and Logic in view-list.
9. select _IsMaintenance property and change its value to Reinstall or Remove.

everything seems to go fine.
thank you.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 October 2004 - 11:07

That's correct.
For step 2 make sure you select the Derfault Language to make sure the change appies to all languages.
For steps 5-7 go to the String Table view and adjust the text for all other languages, too. BTW you don't really need to define a new entry, you can modify the existing entry.

tktk

tktk
  • Full Members
  • 24 posts

Posted 04 October 2004 - 08:29

hi, thank you for advice !
QUOTE
BTW you don't really need to define a new entry, you can modify the existing entry.

yes, i thought to do so but i was not sure the entries are used by another place
or not. so i created new entries.

anyway thanks so much smile.gif