pozbremser
8th September 2007 01:22 UTC
change position of custom InstType
HI,
I want to have 2 Sections in Uninstaller:
1. Custom (better with COMPONENTSONLYONCUSTOM-option)
2. Full (All Section must be selected)
Can I place "InstType custom" on the first plase in InstType Dropdown?
Thanks!
kichik
8th September 2007 07:46 UTC
No. Custom is always last. You can use InstType Custom but then it won't really be a custom installation type as it'll force the user into a certain selection.
pozbremser
11th September 2007 12:03 UTC
is it not possible to have (InstType /Custom) in Installer and not have it in uninstaller?
installer has 3 types:
minimal
full
custom
uninstaller has 2 types:
custom
full
InstType "Minimal"
InstType "Full"
InstType "un.Custom"
InstType "un.Full"
InstType "/CUSTOMSTRING=Custom"
i try change the name of InstType-Custom with
InstTypeSetText 31 "Full", or
deactivate it with
InstTypeSetText 31 ""
it doesn't work.
thanks
kichik
11th September 2007 19:19 UTC
31 is not custom. To change the text of the custom installation type, use InstType /CUSTOMSTRING=something. If you want it to differ between installer and uninstaller, use a variable and initialized it differently in .onInit and un.onInit.