Archive: Can I start with CUSTOM install type?


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?


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?


:(
This way is wrong too... Effect is the same - all sections are checked by default...


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.) ;)

Originally posted by spanky


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