Old 9th September 2005, 10:55   #1
lucasx24
Junior Member
 
Join Date: Sep 2005
Location: london
Posts: 13
why button disappear ?

I have this code:

!insertmacro MUI_INSTALLOPTIONS_WRITE "softwareComp.ini" "Field 26" "Type" "button"
!insertmacro MUI_INSTALLOPTIONS_WRITE "softwareComp.ini" "Field 26" "Text" "Upgrade"
!insertmacro MUI_INSTALLOPTIONS_WRITE "softwareComp.ini" "Field 26" "State" "http://www.microsoft.com/windowsxp/pro/default.mspx"

and when Custom Page appear then this button has been shown only for 1 second and then disappear. how to solve this ?

any help appreciated...
lucasx24 is offline   Reply With Quote
Old 9th September 2005, 11:00   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Attach a complete example. It's impossible to tell for sure with just those three lines.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th September 2005, 11:13   #3
lucasx24
Junior Member
 
Join Date: Sep 2005
Location: london
Posts: 13
example attached
Attached Files
File Type: nsi example.nsi (3.7 KB, 173 views)
lucasx24 is offline   Reply With Quote
Old 9th September 2005, 11:17   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
A complete example is an example that compiles and shows the problem. Preferably, it'd be as minimal as possible. Your example is just the specific code that calls those three lines. The problem might be in the INI file or in some setting set in the script that includes those functions.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th September 2005, 12:37   #5
lucasx24
Junior Member
 
Join Date: Sep 2005
Location: london
Posts: 13
yeah problem is in ini file sorry I didnt check the other fields which have left and right attributes -1
thx anyway that u wanted to help me
lucasx24 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