|
|
#1 |
|
Junior Member
Join Date: Feb 2003
Location: Budapest, Hungary
Posts: 14
|
can i modify InstType runtime?
hello, i have the following question: is there a possibility (in 2.0b0) to be able to _set_ the installation type? i need a restartable installation tool that (during the 2nd run) skips the initial screens, starts right at the installation options, having set the insttype to the saved one. (saving it is no problem, but setting it back is..
) does anyone have an idea? (apart from saving the "enabledness" of all sections on the 1st run and setting it back on the 2nd and so on.) it would be great
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
Have a look at this topic: http://forums.winamp.com/showthread....hreadid=135217
That shall help you a lot. If you aren't using MUI, then set pre functions like so: code: -Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Feb 2003
Location: Budapest, Hungary
Posts: 14
|
Quote:
i only have problems with setting the insttype. since i abort the components page the insttype gets reset to the 1st one, even if the user chose the 2nd in the last session..
|
|
|
|
|
|
|
#4 | |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
You can't set or get the current installation type yet without setting all of the flags of the related sections.
Quote:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
|
#5 | ||
|
Junior Member
Join Date: Feb 2003
Location: Budapest, Hungary
Posts: 14
|
Quote:
btw, can i tweak the mui somehow so that the (to-be-aborted-anyway) components page would start up with insttype #2 by default? i guess it would solve my problem as well, although it's not too nice but would do the work else i guess i really should resort to save all flags-restore all flags in the very first hidden section.. :/Quote:
sorry, it's about 1000-1500 lines long, with a modification in the mui core, so i guess it would be a bit too tiring besides, parts of it are company confidental in this phase , and most of all, as far as i understand, i need a yet-non-existent code to be inserted somewhere, so the current code would not help too much, would it
|
||
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
You can't set the current install options yet. You'll have to set every section manually.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|