Prev Previous Post   Next Post Next
Old 27th March 2015, 19:57   #1
Junior Member
Join Date: Feb 2015
Posts: 25
call single InstallOptions Dialog n times.

I have a dialog that will be called n times (up to a maximum of 75 times)(number determined by the user). But when I call it from the create section of the Pages custom declaration it only shows the dialog one time.
Page custom fnc_FtpProfile_PreShow

Function fnc_FtpProfile_PreShow
${For} $R1 1 $NoTimes
Call fnc_FtpProfile_Show
When I try to loop the page declaration I get an error from the compiler.
${For} $R1 1 $NoTimes
Page custom fnc_FtpProfile_PreShow
Due to the possible high number of profiles, it is very prohibitive to manually code 75 instances of the code in a file. Is there any way I can loop the showing of dialogs?
This is an installation for a system where some installs actually already have over 60 profiles.
coderwolf is offline   Reply With Quote
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