Skip to content
⌘ NSIS Forum Archive

InstallOptions Bug?

6 posts

DOCa Cola#

InstallOptions Bug?

I have just began to write a small app with nsis for generating patches for a list of files....but thats not the reason i am posting here. i have just began quickcreating a custom page with hm nsi edit (i don't want to confuse, this is no nsi edit bug). one of the dir requests is [Field 8]. now, when i try to click after i compiled the script on the "..." button it just nothing happens
it works when i set
NumFields=8 to NumFields=9 although i only have components up to [Field 8]...
I attached the script and the ini file for quick testing (the second dirrequest button from the top is without effect)
i am using the latest cvs.

DOCa Cola

pengyou#
I found that changing the order of the fields made your INI file work properly.

The order I used for the fields:

Field 1 - "Source Directory" label
Field 2 - "Source Directory" DirRequest

Field 3 - "Target Directory" label
Field 4 - "Target Directory" DirRequest

Field 5 - "Comparison Filelist" label
Field 6 - "Comparison Filelist" FileRequest

Field 7 - "Output Patch File" label
Field 8 - "Output Patch File" FileRequest

When I create INI files, I usually put the first field at the top of the page and work downwards.
DOCa Cola#
yea, i do that usually either, but i just noticed that and i don't think this is intended 🙂

DOCa Cola
ramon18#
Hi,

pengyou your workaround could fix this problem for now (not verified), but this is a BUG I'm working on, I found the problem and will be fixed in latest CVS soon

Ramon