Skip to content
⌘ NSIS Forum Archive

change position of custom InstType

4 posts

pozbremser#

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#
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#edited
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#
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.