Prev Previous Post   Next Post Next
Old 10th March 2006, 15:30   #1
Jamyn
Junior Member
 
Join Date: Aug 2002
Location: Texas
Posts: 36
Unminimize solution?

Hi all,

I noticed that this wiki page, which talks about setting a mutex and only allowing one copy of the installer to run, has been updated.

Someone updated the page with an advanced example that will check for the installer, and if someone tries to launch two copies - it will set the first one as the active window instead.

Now I know this is a tiny thing, but if the user has (for some reason) minimized the first installer window, the example will indeed set the first one as the active window. But, it will not "pop" it back up from being minimized. At least this is the case when testing on Windows XP.

Do any of you smart people know the proper way to add the functionality to this example? I thought it would be a useful addition to the advanced example, but don't want to modify it in an unportable way.

*wishes he knew a lot more... ok anything.. about windows api stuff* ;)

Thanks,

-J
Jamyn 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