Old 15th July 2004, 12:03   #41
AlexBienheureux
Junior Member
 
Join Date: Sep 2003
Posts: 16
Quote:
Originally posted by deguix
If I do it now, I have to change it for every version I launch as you know that it's a beta version. When it becomes stable I'll do one. This is not the right time to do that.

Now, about the changes for the next version, I've done some fixes to it, like that one from bluenet. But I'm not giving more details on it right now.
*


ok, thank you !!
AlexBienheureux is offline   Reply With Quote
Old 23rd July 2004, 13:17   #42
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx version beta 6

Ok, next version planned (and almost done) changes are:

- Support for changing font and colors of controls (which gives a wide range of commands). This is quite limited, but at least it gives a better look w/o using NSIS itself. Some controls that don't support this because:

> Windows Themes can sometimes fill completely controls (Button).

> Some controls don't call WM_OWNERDRAW or WM_CTLCOLORS* or don't have messages to change the colors or font (IPAddress, HotKey, UpDown, TrackBar, RadioButton, CheckBox, GroupBox).

> ComboBox + ImageList = Special drawing (ComboBox /w Images).

- Fix that problem I already said in older posts.
- Fix the cutting of controls when its "right" or "bottom" values that are bigger than rectangle's.
- Small bugs from last version.

This version will appear here soon.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 25th July 2004, 21:13   #43
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx version beta 6 - DLL

- Added a wide range of commands for setting initial color and font formatting without using NSIS commands.
- Fixed the control extention beyond the rect height and width. This makes the control to resize itself when necessary.
- Added file verification before setting a bitmap or icon to DropList , ComboBox and Button controls.
- Fixed a stupid bug that made some controls flags to be set when you did not specify them.
- Fixed another stupid bug that made ProgresBar controls to do not show their indicator bar correctly.
- Added one laking information about the standalone keys for HotKey controls.
- Fixed other minor bugs.

Yeah, it has more fixes than I expected yesterday. By using the ProgressBar control I found 2 serious bugs.

Now what I expect for the next version is an appearance of the powerful RichText control (used by the actual NSIS license page) and more fixes as it is in a beta version. Any bug you find is very important to me.
Attached Files
File Type: zip installoptionsex.zip (26.9 KB, 198 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 25th July 2004, 21:14   #44
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx version beta 6 - DLL Source

...
Attached Files
File Type: zip installoptionsexsource.zip (26.4 KB, 178 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 25th July 2004, 21:56   #45
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
OMG This is neat! Thanks for all your hard work!

Cheers

-Stu
Afrow UK is offline   Reply With Quote
Old 26th July 2004, 03:16   #46
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Hummm... Did you test it? I see 0 downloads up to now and you already commented...

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 26th July 2004, 14:06   #47
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I've got it now

I couldn't try it as I was at work :/

-Stu
Afrow UK is offline   Reply With Quote
Old 26th July 2004, 14:54   #48
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Oh, no problems.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 27th July 2004, 13:01   #49
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
have you thought of including lobo's tooltip plugin into IOex? would be a lot work less, if one could simple put the tooltip-text into the ini-file of a io-page.
Yathosho is offline   Reply With Quote
Old 27th July 2004, 13:18   #50
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Another thing you would say is to include lobo's dialogs plugin into it.

Yes, I can include those additions, but you have to wait a while, since I'm working on other projects at the same time.

Just a question to lobo first. What are the control ID's of your tooltips? (if you know, tooltips are the same as normal controls)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 27th July 2004, 13:42   #51
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Oh, I forgot to tell about some IOEx new features not mentioned in the documentation:

- You can specify the height and/or width of a control using the Height and/or Width INI value names. They are used instead of Right and/or Bottom INI value names.

- ListItemsHeight INI value name adjusts the height of each ListBox, ComboBox and DropList item. It's mentioned on the documentation from other INI value names, but it's not directly included.

If I forgot them, probably they are not even tested fully. Can you all test these for me?

(If it's better than I thought, what else good can be waiting for me now?)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 11th August 2004, 15:57   #52
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Quote:
(If it's better than I thought, what else good can be waiting for me now?)
One thing good that I discovered on this time that passed is that InstallOptionsEx first versions had the fixes of the InstallOptions 2.5 already (even MUCH before the time), so people who used this didn't have the Next button problem since beta 1.

Now the bad things: several bugs were found on the code, including one critical that DISABLED controls which were added the font and/or paint features didn't draw correctly. And there are some others which I don't want to comment right now.

Apparently now I have an image of ever doing buggy projects without testing fully (yeah, even StrFunc.nsh has one, but much less apparent than IOEx). If you see most of my older functions you can see 2 or 3 bugs each... I'm much more lucky with projects outside NSIS though where you can't find them easily.

(You can now see the list of projects I'm working now and to work after on my signature)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 11th August 2004, 21:46   #53
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
I wanted to make a small modification on ListBoxes when I'm fixing the "DISABLED controls not drawing correctly [sometimes]". I would like to change the colors of selected and deselected items of a DISABLED ListBox by default. I don't like the actual default IO's colors because sometimes you can think that a ListBox is enabled, but it's really disabled.

On the image the:

- Left DISABLED ListBox is from InstallOptions
- Right DISABLED ListBox is from InstallOptionsEx

The image:
Attached Images
File Type: jpg improvement.jpg (2.3 KB, 279 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 12th August 2004, 01:34   #54
bluenet
Senior Member
 
Join Date: Mar 2004
Posts: 138
Tooltip is a good feature, I hope beta 7 would include it.Thanks deguix's work.
bluenet is offline   Reply With Quote
Old 12th August 2004, 03:37   #55
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Hummm... I don't have a defined plan for the next version, but yeah, I'm thinking on some plugins combinations with IOEx for the future:

- Dialogs and tooltips -> additional dialogs and tooltips support.
- Banner -> creation of dialogs not based on resources (it's not really true but I have this idea when looking at it), timeout, extented NOTIFY for running NSIS codes when the dialog is being shown.
- AdvSplash -> Alpha Blending, extended timeout, extended NOTIFY for running NSIS codes when a click is made to the image, modeless dialog boxes, special effects when showing window (it's not really true but I have this idea when looking at it).

...

About NOTIFY flag: I'm planning to change a little bit the way NOTIFY flags are handled:

- Create another INI value name for "Settings" page called "Notification" (or something like it) where you can get the type of the notification being sent by a control.

- Each field will have an additional INI value name called "Notification" where you can set the notification flags you want for the control.

What do you think of this?

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 12th August 2004, 03:56   #56
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Hummm... I don't have a defined plan for the next version, but yeah, I'm thinking on some plugins combinations with IOEx for the future:

- Dialogs and tooltips -> additional dialogs and tooltips support.
- Banner -> creation of dialogs not based on resources (it's not really true but I have this idea when looking at it), timeout, extented NOTIFY for running NSIS codes when the dialog is being shown.
- AdvSplash -> Alpha Blending, extended timeout, extended NOTIFY for running NSIS codes when a click is made to the image, modeless dialog boxes, special effects when showing window (it's not really true but I have this idea when looking at it).

...

About NOTIFY flag: I'm planning to change a little bit the way NOTIFY flags are handled:

- Create another INI value name for "Settings" page called "Notification" (or something like it) where you can get the type of the notification being sent by a control.

- Each field will have an additional INI value name called "Notification" where you can set the notification flags you want for the control.

What do you think of this?

What I already done for InstallOptionsEx 2.5 beta 7:

- "Fixed the control extention beyond the rect height and width. This makes the control to resize itself when necessary." change removed. It's quite useful to have a way to do not show controls to the user sometimes...

- Fixed "Text" and "ListBox" control w/ DISABLED flag: Didn't redraw right.

- Added missing features which documentation from last version didn't mention.

- Added "FontName" INI value to all known controls that support font changes.

- Added "Dis*" commands for "ListBox" controls which enables to set colors for DISABLED controls.

- Added a new flag to "CheckBox" controls, the old and famous "3STATE" flag that allows you to set additonally an indeterminated (or grayed) state.

- "ListItems" for "Button" controls w/ "DIRREQUEST" flag is the text which appears above the Tree-View control of directories.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 14th August 2004, 22:20   #57
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx 2.41 beta 7 - DLL

This version brings a new system for control notifications. I'll explain a little bit how it works. Let's have an example INI file to start:

[Field 1]
Type=ComboBox
Left=0
Top=0
Width=100
Height=400
Notify=ONTEXTCHANGE

[Field 2]
Type=Button
Left=110
Top=0
Width=50
Height=12
Notify=ONDBLCLICK|ONKILLFOCUS
State=C:\MyDir

You can see there is a new INI value name for each field called "Notify", with this you can use notification flags for each control. I made the flags to be supported for more than one control to make easier the use of them. This INI value name is used for notification flags that, when the user does the action, triggers the calling to the validation function.

On the first field, there is a "ONTEXTCHANGE" notification flag which makes the plugin call the validation function after the text is changed by the user and after it appears on the screen.

On section "Field 2", there is "ONDBLCLICK" which makes the plugin to use "ShellExecute" and the text specified by "State" value (this is special for Buttons and Links). And there is a "ONKILLFOCUS" which is when a control loses focus.

Now, when for example the first field receives focus it won't call the validation function. Why? You didn't specify it to do it, so you change it to:

[Field 1]
Type=ComboBox
Left=0
Top=0
Width=100
Height=400
Notify=ONTEXTCHANGE|ONSETFOCUS

And now there is another addition to this system. After a control called the validation function it records what control did call it and the action the user did to the control:

[Settings]
State=2
Notify=ONTEXTCHANGE

This could be different if another action from the user is made:

[Settings]
State=2
Notify=ONSETFOCUS

As you saw, I added ONSETFOCUS and ONDBLCLICK and some other notification flags that the normal NOTIFY flag couldn't do. I made some other changes, so let's see them all:

- Rearranged control notification system:
- - Added Notify value name for "Settings" and "Field #" sections.
- - Added: ONSETFOCUS, ONKILLFOCUS, ONLISTOPEN, ONLISTCLOSE, ONSELCHANGE, ONTEXTCHANGE, ONTEXTUPDATE, ONCLICK, ONDBLCLICK, ONTEXTTRUNCATE, ONTEXTVSCROLL, ONSTART and ONSTOP notification flags.
- Added BackShow, NextEnabled and NextShow for "Settings" section.
- Fixed the control extention beyond the rect height and width addition of the last version removed.
- Fixed Text controls: "black" color was being set even when you didn't.
- Fixed ListBox controls: didn't appear as they were disabled.
- Added missing features to the documentation which last version's didn't mention.
- Added FontName for Label, Link, ListBox, ComboBox, DropList, Text and Password controls, DisBgColor, DisTxtColor, DisSelBgColor and DisSelTxtColor for ListBox control.
- ListItems for Button controls w/ DIRREQUEST flag is the text which appears above the Tree-View control of directories.
- Added a new flag to CheckBox controls, the old and famous "3STATE" flag that allows you to set additonally an indeterminated (or grayed) state.
Attached Files
File Type: zip installoptionsex.zip (29.2 KB, 199 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 14th August 2004, 22:22   #58
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx 2.41 beta 7 - DLL Source

...
Attached Files
File Type: zip installoptionsexsource.zip (24.9 KB, 166 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 15th August 2004, 04:48   #59
bluenet
Senior Member
 
Join Date: Mar 2004
Posts: 138
wonderful£¬Thanks deguix, I have a test.
bluenet is offline   Reply With Quote
Old 16th August 2004, 22:34   #60
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
On the next version I'll add ToolTips support (which is halfway done) and much less fixes because most of them I fixed on the last version...

Some more additions comparing with Lobo's ToolTips plugin are the ability to change text and background colors of ToolTips, additional flags, notifications? (thinking, not planned) and multiline support (searching for information).

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 18th August 2004, 14:52   #61
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx 2.41 beta 8 - DLL

I added the ToolTips feature to InstallOptionsEx in this version. See an example for INI file using all ToolTip value names:

[Field 1]
Type=Label
Left=0
Top=0
Width=100
Height=10
Text=Default Options:
ToolTipIcon=INFO
ToolTipTitle=Default options
ToolTipText=Makes the program to select all the default program options
ToolTipFlags=BALLOON
ToolTipTxtColor=0xFFFFFF
ToolTipBgColor=0x009900
ToolTipMaxWidth=300

ToolTip features:

- ToolTip types supported: Normal or Balloon.
- Colors of tooltips can be changed.
- Balloon tooltips are supported for those who have IE 5, for all Windows versions.
- Multiline is halfway supported. It does not supported escape characters, but there is ToolTipMaxWidth that makes the ToolTip to break lines when it does reach the width limit.
- XPStyle makes the Balloon tooltips icons to have a better quality.

ToolTip notes:

- ToolTips disappear when you click on their controls.
- Tracking and In-Place ToolTips aren't supported right now.

Changes comparing to the last version:

- Added ToolTips feature -> Added ToolTipText, ToolTipFlags, ToolTipMaxWidth, ToolTipTxtColor, ToolTipBgColor, ToolTipIcon and ToolTipTitle value names.
- Fixed DISABLED ComboBox and DropList controls bug: Didn't redraw right.
- Fixed DISABLED ListBox controls bug: User specified colors didn't apply.
Attached Files
File Type: zip installoptionsex.zip (30.3 KB, 225 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 18th August 2004, 14:54   #62
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx 2.41 beta 8 - DLL Source

...
Attached Files
File Type: zip installoptionsexsource.zip (25.8 KB, 186 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 18th August 2004, 21:59   #63
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
nice work!
Comm@nder21 is offline   Reply With Quote
Old 19th August 2004, 13:57   #64
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
I uploaded plugin's Archive page here.

(Comm@nder21, two of the links in your signature are broken or going to wrong pages.)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 22nd August 2004, 13:21   #65
bluenet
Senior Member
 
Join Date: Mar 2004
Posts: 138
It seem a bug. When disable a text contrl, the text not change to gray. Link contrl can not "ExecShell" a file that local in some directory.
bluenet is offline   Reply With Quote
Old 22nd August 2004, 16:11   #66
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
thanks, deguix, fixed
Comm@nder21 is offline   Reply With Quote
Old 22nd August 2004, 18:46   #67
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Quote:
When disable a text contrl, the text not change to gray.
I can't reproduce this bug. You have to say what IOEx version you are using, and if you're using XPStyle on or off.

Quote:
Link contrl can not "ExecShell" a file that local in some directory.
Local directory = where the application is. If that file you specified doesn't exist, it won't work.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 22nd August 2004, 23:52   #68
Deliverator
Junior Member
 
Join Date: Jul 2003
Location: NY
Posts: 30
When using this with the Modern UI my Welcome and Finish pages are not displayed correctly.

The background of the window is gray, and the background of the text is white.

What am I doing wrong?
Deliverator is offline   Reply With Quote
Old 23rd August 2004, 01:37   #69
bluenet
Senior Member
 
Join Date: Mar 2004
Posts: 138
I make a sample to show this. When click the checkbox and link you can see the two problem. Sorry my wrong, contrl is a Label not a Text.
The version is beta 8.
Attached Files
File Type: rar temp.rar (48.2 KB, 251 views)
bluenet is offline   Reply With Quote
Old 23rd August 2004, 11:48   #70
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Fixed both on beta 9. (Deliverator's and bluenet's)

My Wiki Pages

Working now on:
New projects. (language: any)

Last edited by deguix; 23rd August 2004 at 13:26.
deguix is offline   Reply With Quote
Old 23rd August 2004, 13:31   #71
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptions 2.41 beta 9 - DLL

Mostly, this is a bug fixing version of IOEx from the older versions additions:

- Fixed DISABLED Label controls: didn't draw shadow.
- DISABLED Label and Link are now controls supported by DisTxtColor value name.
- Fixed Label and Link controls: didn't draw background color on the entire control.
- Shadow Text feature added. Added TxtShwColor, DisTxtShwColor, SelTxtShwColor and DisSelTxtShwColor.
- FIRST DLL optimizations: 0.5 kb smaller on decompressed build (no change for compressed build).
- Fixed text positioning of ComboBox, DropList and ListBox controls. They are now closer to the control border.
- Fixed focus rectangle not appearing on ComboBox and DropList.
- ListBox, ComboBox and DropList controls have automatic word ellipsis.
- FontOrientation and FontEscapement removed - because most of the drawing commands do not support this feature.
Attached Files
File Type: zip installoptionsex.zip (30.8 KB, 405 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 23rd August 2004, 13:32   #72
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
InstallOptionsEx 2.41 beta 9 - DLL Source

...
Attached Files
File Type: zip installoptionsexsource.zip (26.3 KB, 229 views)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 1st September 2004, 15:51   #73
billym
Member
 
Join Date: Apr 2003
Location: Austin, TX
Posts: 61
I have needed flash support (for short guides) in my installer's for a while but not able to code it. Could support for this control be added to InstallOptionsEx so we have the flash option. If not could someone please assist in creating a plugin for this purpose. Thanks in advance for any assistance.
billym is offline   Reply With Quote
Old 3rd September 2004, 00:42   #74
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
This I'm doing is just the beggining. It's better you to create a plugin for that.

I've just added some Windows controls because they're from the Operational System. Adding too many custom controls on one plugin makes its size to explode. (that's why exists an item on TODO list saying about implementing custom controls -> separated sub-plugins for IO)

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 4th September 2004, 16:13   #75
dilox77
Junior Member
 
Join Date: Aug 2004
Location: sambuco (AP), ITALY
Posts: 17
Hi deguix!
Can you have a look here?
http://forums.winamp.com/showthread....67#post1459067
Do you think I can resolve my problem with your modified version of installoptions?
Thank's in advance.
dilox
dilox77 is offline   Reply With Quote
Old 4th September 2004, 18:14   #76
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
No. When I thought of it, people were only against this feature.

I put things on InstallOptionsEx depending on how many people would like the feature included and their reasons (not totally true but...). I only heard against, so I didn't include it. If you wanna this now, maybe it's still possible...

When there is too much request on one thing, I become estimulated (!) and then I do it, depending if I do know how to do it (there are sometimes problems with knowing something, as I only started coding with C when I modified IO, so common "C" mistakes are done).

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 4th September 2004, 20:04   #77
dilox77
Junior Member
 
Join Date: Aug 2004
Location: sambuco (AP), ITALY
Posts: 17
Ok.. but why people are against this feature? I think the possibility of inserting variables and codes into file .ini and having default value (and other kind of value) not fixed but variable, are great opportunities.
I don't know if and how it's possible to realize that in C.
I only hope you put this feature in your to-do list as soon as possible

Bye, dilox
dilox77 is offline   Reply With Quote
Old 4th September 2004, 22:13   #78
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
I'm not working on InstallOptionsEx right now but if I can I'll try to implement that. Ok?

[EDIT]Now you know that I keep editing even much after I posted the original post. I wasn't expecting your answer right now...[/EDIT]

My Wiki Pages

Working now on:
New projects. (language: any)

Last edited by deguix; 4th September 2004 at 22:30.
deguix is offline   Reply With Quote
Old 4th September 2004, 22:26   #79
dilox77
Junior Member
 
Join Date: Aug 2004
Location: sambuco (AP), ITALY
Posts: 17
Sincerly I don't understand what you mean, can you explain me better?
The problem is that if you make any changes to the installoptions file (through code, writeinistr, etc..) then you have to recompile the file .nsi that include it to see modifications to take effect.
You can not parse custompage during runtime.
Is this an unsolveble problem?
Hope don't...
Bye, dilox
dilox77 is offline   Reply With Quote
Old 4th September 2004, 22:52   #80
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Quote:
The problem is that if you make any changes to the installoptions file (through code, writeinistr, etc..) then you have to recompile the file .nsi that include it to see modifications to take effect.
1) You didn't understand what "Variables" feature I'm talking about (but I never explained so I'll do it now):

You put a common variable ($0-$9, $R0-$R9) as text or state of a control and it will convert the variable into the actual contents of the variable at the time a page is reserved, showed (w/o reserving it) or updated by controls notifications.

2) About writting not taking effect until the next compilation:

The plugin reads information from the INI file everytime you reserve a page or show it directly (w/o reserving it). If the INI file is not updated at all if you try to change it before the reading of the INI file by the plugin, it's not my problem, but a scripting problem of yours.

As I don't know how your level of NSIS knowledge is, I'll explain the scripting problem:

If you use Modern UI and you are using the default way of including a custom page under the installer, use !insertmacro MUI_INSTALLOPTIONS_WRITE instead of using WriteINIStr. If you use Win9x, use FlushINI before and after writting to INI files.

My Wiki Pages

Working now on:
New projects. (language: any)

Last edited by deguix; 4th September 2004 at 23:11.
deguix is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump