Skip to content
⌘ NSIS Forum Archive

Can I start with CUSTOM install type?

5 posts

DO_#

Can I start with CUSTOM install type?

The main idea is to read current settings of the program (installed plugins, addons, etc), and set Custom install type according previos installation. I just create .onInit callback but all SectionSetFlags operators in it don't work because NSIS starts with the first InstType (not Custom) and resets flags for all sections. Can I start NSIS with using InstType = CUSTOM?
Sunjammer#
Shoot me if this is a stupid idea but what happens if you try setting the install options in the 'on next page' handler, i.e. some time after NSIS set them to the default (if I understand what you were saying correctly) but before the user has to choose?
spanky#
Originally posted by Sunjammer
Shoot me if this is a stupid idea but what happens if you try setting the install options in the 'on next page' handler, i.e. some time after NSIS set them to the default (if I understand what you were saying correctly) but before the user has to choose?
! ! ! (BANG. BANG. BANG.) 😉
DO_#
Originally posted by spanky


! ! ! (BANG. BANG. BANG.) 😉
Funny but without visible results 🙂
Next one to the scaffold, plz.